Class ResultAliasExpression
- java.lang.Object
-
- org.datanucleus.store.rdbms.sql.expression.SQLExpression
-
- org.datanucleus.store.rdbms.sql.expression.ResultAliasExpression
-
public class ResultAliasExpression extends SQLExpression
Expression for use in an ordering clause representing a result alias. JPQL allows specification of a result clause with alias, and to be able to order by exactly that alias.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
SQLExpression.ColumnExpressionList
-
-
Field Summary
Fields Modifier and Type Field Description protected StringaliasName-
Fields inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
lowestOperator, mapping, parameterName, st, stmt, subExprs, table
-
-
Constructor Summary
Constructors Constructor Description ResultAliasExpression(SQLStatement stmt, String aliasName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetResultAlias()-
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
add, and, bitAnd, bitOr, cast, com, distinct, div, encloseInParentheses, eor, eq, ge, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, gt, in, invoke, ior, is, isParameter, le, lt, mod, mul, ne, neg, not, setJavaTypeMapping, sub, toSQLText, unDistinct
-
-
-
-
Field Detail
-
aliasName
protected String aliasName
-
-
Constructor Detail
-
ResultAliasExpression
public ResultAliasExpression(SQLStatement stmt, String aliasName)
-
-
Method Detail
-
getResultAlias
public String getResultAlias()
-
-