Interface OrderingExpression
- All Superinterfaces:
Node
- All Known Subinterfaces:
DomainPath
- All Known Implementing Classes:
AbstractDomainPath,CollectionPartPath,ColumnReference,DomainPathContinuation,FkDomainPathContinuation,FunctionExpression,PluralAttributePath,SelfRenderingOrderingExpression
Contract for anything that can be a sort expression
- Author:
- Steve Ebersole
-
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-expressionstatic ExpressionapplyCollation(Expression expression, String collation, SqlAstCreationState creationState) resolve(QuerySpec ast, TableGroup tableGroup, String modelPartName, SqlAstCreationState creationState)
-
Method Details
-
resolve
SqlAstNode resolve(QuerySpec ast, TableGroup tableGroup, String modelPartName, SqlAstCreationState creationState) -
toDescriptiveText
String toDescriptiveText() -
apply
void apply(QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortDirection sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState) Apply the SQL AST sort-specifications associated with this ordering-expression -
applyCollation
static Expression applyCollation(Expression expression, String collation, SqlAstCreationState creationState)
-