Class SelectStatement
java.lang.Object
org.hibernate.sql.ast.tree.AbstractStatement
org.hibernate.sql.ast.tree.select.SelectStatement
- All Implemented Interfaces:
org.hibernate.query.sqm.sql.internal.DomainResultProducer, SqlSelectionProducer, CteContainer, Expression, SqlAstNode, Statement
public class SelectStatement
extends AbstractStatement
implements SqlAstNode, Expression, org.hibernate.query.sqm.sql.internal.DomainResultProducer
-
Constructor Summary
ConstructorsConstructorDescriptionSelectStatement(CteContainer cteContainer, QueryPart queryPart, List<DomainResult<?>> domainResults) SelectStatement(QueryPart queryPart) SelectStatement(QueryPart queryPart, List<DomainResult<?>> domainResults) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(SqlAstWalker walker) VisitationvoidapplySqlSelections(DomainResultCreationState creationState) DomainResult<?> createDomainResult(String resultVariable, DomainResultCreationState creationState) List<DomainResult<?>> The type for this expressionbooleanWhether this statement is a selection and will return results.Methods inherited from class AbstractStatement
addCteObject, addCteStatement, getCteObject, getCteObjects, getCteStatement, getCteStatementsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReference
-
Constructor Details
-
SelectStatement
-
SelectStatement
-
SelectStatement
public SelectStatement(CteContainer cteContainer, QueryPart queryPart, List<DomainResult<?>> domainResults)
-
-
Method Details
-
isSelection
public boolean isSelection()Description copied from interface:StatementWhether this statement is a selection and will return results.- Specified by:
isSelectionin interfaceStatement
-
getQuerySpec
-
getQueryPart
-
getDomainResultDescriptors
-
accept
Description copied from interface:StatementVisitation- Specified by:
acceptin interfaceSqlAstNode- Specified by:
acceptin interfaceStatement
-
createDomainResult
public DomainResult<?> createDomainResult(String resultVariable, DomainResultCreationState creationState) - Specified by:
createDomainResultin interfaceorg.hibernate.query.sqm.sql.internal.DomainResultProducer
-
applySqlSelections
- Specified by:
applySqlSelectionsin interfaceorg.hibernate.query.sqm.sql.internal.DomainResultProducer
-
getExpressionType
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression
-