public class DerivedValue extends AbstractSimpleValue
Value.JdbcCodes| Constructor and Description |
|---|
DerivedValue(TableSpecification table,
int position,
String expression) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias(Dialect dialect)
For any column name, generate an alias that is unique
to that column name, unique across tables, and within
alias size constraints determined by
Dialect.getMaxAliasLength(). |
String |
getExpression()
Get the value expression.
|
String |
toLoggableString()
Obtain the string representation of this value usable in log statements.
|
getDatatype, getPosition, getTable, setDatatype, validateJdbcTypespublic DerivedValue(TableSpecification table, int position, String expression)
public String toLoggableString()
Valuepublic String getAlias(Dialect dialect)
SimpleValueDialect.getMaxAliasLength().dialect - the dialect.public String getExpression()
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.