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
Constructors Constructor Description SelectStatement(Map<String,CteStatement> cteStatements, QueryPart queryPart, List<DomainResult<?>> domainResults)SelectStatement(CteContainer cteContainer, QueryPart queryPart, List<DomainResult<?>> domainResults)SelectStatement(QueryPart queryPart)SelectStatement(QueryPart queryPart, List<DomainResult<?>> domainResults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(SqlAstWalker walker)VisitationvoidapplySqlSelections(DomainResultCreationState creationState)DomainResultcreateDomainResult(String resultVariable, DomainResultCreationState creationState)List<DomainResult<?>>getDomainResultDescriptors()JdbcMappingContainergetExpressionType()The type for this expressionQueryPartgetQueryPart()QuerySpecgetQuerySpec()-
Methods inherited from class org.hibernate.sql.ast.tree.AbstractStatement
addCteStatement, getCteStatement, getCteStatements
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createDomainResultSqlSelection, createSqlSelection, createSqlSelection, getColumnReference
-
-
-
-
Constructor Detail
-
SelectStatement
public SelectStatement(QueryPart queryPart)
-
SelectStatement
public SelectStatement(QueryPart queryPart, List<DomainResult<?>> domainResults)
-
SelectStatement
public SelectStatement(CteContainer cteContainer, QueryPart queryPart, List<DomainResult<?>> domainResults)
-
SelectStatement
public SelectStatement(Map<String,CteStatement> cteStatements, QueryPart queryPart, List<DomainResult<?>> domainResults)
-
-
Method Detail
-
getQuerySpec
public QuerySpec getQuerySpec()
-
getQueryPart
public QueryPart getQueryPart()
-
getDomainResultDescriptors
public List<DomainResult<?>> getDomainResultDescriptors()
-
accept
public void accept(SqlAstWalker walker)
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
public void applySqlSelections(DomainResultCreationState creationState)
- Specified by:
applySqlSelectionsin interfaceorg.hibernate.query.sqm.sql.internal.DomainResultProducer
-
getExpressionType
public JdbcMappingContainer getExpressionType()
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression
-
-