Class ColumnReference
java.lang.Object
org.hibernate.metamodel.mapping.ordering.ast.ColumnReference
- All Implemented Interfaces:
Node,OrderingExpression,SequencePart
Represents a column-reference used in an order-by fragment
- Author:
- Steve Ebersole
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortDirection sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState) Apply the SQL AST sort-specifications associated with this ordering-expressionbooleanresolve(QuerySpec ast, TableGroup tableGroup, String modelPartName, SqlAstCreationState creationState) resolvePathPart(String name, String identifier, boolean isTerminal, TranslationContext translationContext)
-
Constructor Details
-
ColumnReference
-
-
Method Details
-
getColumnExpression
-
isColumnExpressionFormula
public boolean isColumnExpressionFormula() -
resolve
public Expression resolve(QuerySpec ast, TableGroup tableGroup, String modelPartName, SqlAstCreationState creationState) - Specified by:
resolvein interfaceOrderingExpression
-
resolvePathPart
public SequencePart resolvePathPart(String name, String identifier, boolean isTerminal, TranslationContext translationContext) - Specified by:
resolvePathPartin interfaceSequencePart
-
apply
public void apply(QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortDirection sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState) Description copied from interface:OrderingExpressionApply the SQL AST sort-specifications associated with this ordering-expression- Specified by:
applyin interfaceOrderingExpression
-
toDescriptiveText
- Specified by:
toDescriptiveTextin interfaceOrderingExpression
-