Class QueryPart
java.lang.Object
org.hibernate.sql.ast.tree.select.QueryPart
- All Implemented Interfaces:
SqlAstNode
- Direct Known Subclasses:
QueryGroup,QuerySpec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSortSpecification(SortSpecification specification) abstract QuerySpecabstract QuerySpecbooleanbooleanbooleanbooleanisRoot()Does this QueryPart map to the statement's root query (as opposed to one of its sub-queries)?abstract <T> TqueryQuerySpecs(Function<QuerySpec, T> querySpecConsumer) voidsetFetchClauseExpression(Expression fetchClauseExpression, FetchClauseType fetchClauseType) voidsetOffsetClauseExpression(Expression offsetClauseExpression) abstract voidvisitQuerySpecs(Consumer<QuerySpec> querySpecConsumer) voidvisitSortSpecifications(Consumer<SortSpecification> consumer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.sql.ast.tree.SqlAstNode
accept
-
Constructor Details
-
QueryPart
public QueryPart(boolean isRoot) -
QueryPart
-
-
Method Details
-
getFirstQuerySpec
-
getLastQuerySpec
-
visitQuerySpecs
-
queryQuerySpecs
-
isRoot
public boolean isRoot()Does this QueryPart map to the statement's root query (as opposed to one of its sub-queries)? -
hasSortSpecifications
public boolean hasSortSpecifications() -
hasPositionalSortItem
public boolean hasPositionalSortItem() -
getSortSpecifications
-
visitSortSpecifications
-
addSortSpecification
-
hasOffsetOrFetchClause
public boolean hasOffsetOrFetchClause() -
getOffsetClauseExpression
-
setOffsetClauseExpression
-
getFetchClauseExpression
-
setFetchClauseExpression
public void setFetchClauseExpression(Expression fetchClauseExpression, FetchClauseType fetchClauseType) -
getFetchClauseType
-