Class AbstractDomainPath
- java.lang.Object
-
- org.hibernate.metamodel.mapping.internal.AbstractDomainPath
-
- All Implemented Interfaces:
DomainPath
,Node
,OrderingExpression
,SequencePart
- Direct Known Subclasses:
CollectionPartPath
,DomainPathContinuation
,PluralAttributePath
public abstract class AbstractDomainPath extends Object implements DomainPath
-
-
Field Summary
Fields Modifier and Type Field Description static String
ELEMENT_TOKEN
-
Constructor Summary
Constructors Constructor Description AbstractDomainPath()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(ModelPart referenceModelPart, QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortOrder sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState)
void
apply(QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortOrder sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState)
Apply the SQL AST sort-specifications associated with this ordering-expressionExpression
resolve(ModelPart referenceModelPart, QuerySpec ast, TableGroup tableGroup, String modelPartName, SqlAstCreationState creationState)
SqlAstNode
resolve(QuerySpec ast, TableGroup tableGroup, String modelPartName, SqlAstCreationState creationState)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.metamodel.mapping.ordering.ast.DomainPath
getLhs, getNavigablePath, getPluralAttribute, getReferenceModelPart, toDescriptiveText
-
Methods inherited from interface org.hibernate.metamodel.mapping.ordering.ast.SequencePart
resolvePathPart
-
-
-
-
Field Detail
-
ELEMENT_TOKEN
public static final String ELEMENT_TOKEN
- See Also:
- Constant Field Values
-
-
Method Detail
-
resolve
public SqlAstNode resolve(QuerySpec ast, TableGroup tableGroup, String modelPartName, SqlAstCreationState creationState)
- Specified by:
resolve
in interfaceOrderingExpression
-
resolve
public Expression resolve(ModelPart referenceModelPart, QuerySpec ast, TableGroup tableGroup, String modelPartName, SqlAstCreationState creationState)
-
apply
public void apply(QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortOrder sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState)
Description copied from interface:OrderingExpression
Apply the SQL AST sort-specifications associated with this ordering-expression- Specified by:
apply
in interfaceOrderingExpression
-
apply
public void apply(ModelPart referenceModelPart, QuerySpec ast, TableGroup tableGroup, String collation, String modelPartName, SortOrder sortOrder, NullPrecedence nullPrecedence, SqlAstCreationState creationState)
-
-