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 TypeMethodDescriptionvoid
accept
(SqlAstWalker walker) Visitationvoid
applySqlSelections
(DomainResultCreationState creationState) DomainResult
<?> createDomainResult
(String resultVariable, DomainResultCreationState creationState) List
<DomainResult<?>> The type for this expressionboolean
Whether this statement is a selection and will return results.Methods inherited from class org.hibernate.sql.ast.tree.AbstractStatement
addCteObject, addCteStatement, getCteObject, getCteObjects, 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, 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:Statement
Whether this statement is a selection and will return results.- Specified by:
isSelection
in interfaceStatement
-
getQuerySpec
-
getQueryPart
-
getDomainResultDescriptors
-
accept
Description copied from interface:Statement
Visitation- Specified by:
accept
in interfaceSqlAstNode
- Specified by:
accept
in interfaceStatement
-
createDomainResult
public DomainResult<?> createDomainResult(String resultVariable, DomainResultCreationState creationState) - Specified by:
createDomainResult
in interfaceorg.hibernate.query.sqm.sql.internal.DomainResultProducer
-
applySqlSelections
- Specified by:
applySqlSelections
in interfaceorg.hibernate.query.sqm.sql.internal.DomainResultProducer
-
getExpressionType
Description copied from interface:Expression
The type for this expression- Specified by:
getExpressionType
in interfaceExpression
-