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, validateJdbcTypes
public DerivedValue(TableSpecification table, int position, String expression)
public String toLoggableString()
public String getAlias(Dialect dialect)
Dialect.getMaxAliasLength()
.dialect
- the dialect.public String getExpression()
Copyright © 2018 JBoss by Red Hat. All rights reserved.