Class EmbeddableValuedExpression<T>
java.lang.Object
org.hibernate.query.sqm.sql.internal.EmbeddableValuedExpression<T>
- All Implemented Interfaces:
DomainResultProducer<T>,SqlSelectionProducer,Expression,SqlTupleContainer,SqlAstNode,Assignable
public class EmbeddableValuedExpression<T>
extends Object
implements Expression, DomainResultProducer<T>, Assignable, SqlTupleContainer
A computed expression that produces an embeddable valued model part.
It may only be composed of basic attribute mappings.
-
Constructor Summary
ConstructorsConstructorDescriptionEmbeddableValuedExpression(NavigablePath baseNavigablePath, EmbeddableValuedModelPart mapping, SqlTuple sqlExpression) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(SqlAstWalker sqlTreeWalker) voidapplySqlSelections(DomainResultCreationState creationState) Used when this producer is a selection in a sub-query.createDomainResult(String resultVariable, DomainResultCreationState creationState) Produce the domain queryThe type for this expressionvoidvisitColumnReferences(Consumer<ColumnReference> columnReferenceConsumer) 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.expression.Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReference
-
Constructor Details
-
Method Details
-
getExpressionType
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression
-
createDomainResult
public DomainResult<T> createDomainResult(String resultVariable, DomainResultCreationState creationState) Description copied from interface:DomainResultProducerProduce the domain query- Specified by:
createDomainResultin interfaceDomainResultProducer<T>
-
applySqlSelections
Description copied from interface:DomainResultProducerUsed when this producer is a selection in a sub-query. The DomainResult is only needed for root query of a SELECT statement. This default impl assumes this producer is a true (Sql)Expression- Specified by:
applySqlSelectionsin interfaceDomainResultProducer<T>
-
visitColumnReferences
- Specified by:
visitColumnReferencesin interfaceAssignable
-
getColumnReferences
- Specified by:
getColumnReferencesin interfaceAssignable
-
getSqlTuple
- Specified by:
getSqlTuplein interfaceSqlTupleContainer
-
accept
- Specified by:
acceptin interfaceSqlAstNode
-