Interface DomainResultProducer<T>
- All Known Subinterfaces:
PluralTableGroup,Predicate,SqmPathInterpretation<T>,TableGroup,VirtualTableGroup
- All Known Implementing Classes:
AbstractPredicate,AbstractSqmPathInterpretation,AbstractTableGroup,Any,AnyDiscriminatorPathInterpretation,AsWrappedExpression,BasicValuedPathInterpretation,BetweenPredicate,BinaryArithmeticExpression,BooleanExpressionPredicate,CaseSearchedExpression,CaseSimpleExpression,CollectionTableGroup,ComparisonPredicate,Conversion,CorrelatedPluralTableGroup,CorrelatedTableGroup,CteTableGroup,DelegatingTableGroup,DiscriminatedAssociationPathInterpretation,DiscriminatorPathInterpretation,Duration,DynamicInstantiation,EmbeddableFunctionTableGroup,EmbeddableTypeLiteral,EmbeddableValuedExpression,EmbeddableValuedPathInterpretation,EntityTypeLiteral,EntityValuedPathInterpretation,Every,ExistsPredicate,ExpressionDomainResultProducer,FilterPredicate,FilterPredicate.FilterFragmentPredicate,FunctionTableGroup,GroupedPredicate,InArrayPredicate,InListPredicate,InSubQueryPredicate,JdbcLiteral,Junction,LazyTableGroup,LikePredicate,MappedByTableGroup,MutatingTableReferenceGroupWrapper,NegatedPredicate,NonAggregatedCompositeValuedPathInterpretation,NullnessPredicate,OneToManyTableGroup,Over,PluralValuedSimplePathInterpretation,QueryLiteral,QueryPartTableGroup,SelectStatement,SelfRenderingAggregateFunctionSqlAstExpression,SelfRenderingFunctionSqlAstExpression,SelfRenderingOrderedSetAggregateFunctionSqlAstExpression,SelfRenderingPredicate,SelfRenderingWindowFunctionSqlAstExpression,SqlFragmentPredicate,SqlTuple,SqmParameterInterpretation,StandardTableGroup,StandardVirtualTableGroup,TableGroupImpl,TableGroupJoin,ThruthnessPredicate,UnaryOperation,UnionTableGroup,UnparsedNumericLiteral,ValuesTableGroup
public interface DomainResultProducer<T>
Something that can produce a DomainResult as part of a SQM interpretation
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplySqlSelections(DomainResultCreationState creationState) Used when this producer is a selection in a sub-query.createDomainResult(String resultVariable, DomainResultCreationState creationState) Produce the domain query
-
Method Details
-
createDomainResult
Produce the domain query -
applySqlSelections
Used 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
-