Interface DomainResultProducer<T>
-
- All Known Subinterfaces:
PluralTableGroup,Predicate,SqmPathInterpretation<T>,TableGroup,VirtualTableGroup
- All Known Implementing Classes:
AbstractPredicate,AbstractSqmPathInterpretation,AbstractTableGroup,Any,AnyDiscriminatorPathInterpretation,BasicValuedPathInterpretation,BetweenPredicate,BinaryArithmeticExpression,BooleanExpressionPredicate,CaseSearchedExpression,CaseSimpleExpression,CollectionTableGroup,ComparisonPredicate,Conversion,CorrelatedPluralTableGroup,CorrelatedTableGroup,CteTableGroup,DelegatingTableGroup,DiscriminatedAssociationPathInterpretation,DiscriminatorPathInterpretation,Duration,DynamicInstantiation,EmbeddableValuedExpression,EmbeddableValuedPathInterpretation,EntityTypeLiteral,EntityValuedPathInterpretation,Every,ExistsPredicate,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,UnaryOperation,UnionTableGroup,ValuesTableGroup
public interface DomainResultProducer<T>Something that can produce a DomainResult as part of a SQM interpretation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplySqlSelections(DomainResultCreationState creationState)Used when this producer is a selection in a sub-query.DomainResult<T>createDomainResult(String resultVariable, DomainResultCreationState creationState)Produce the domain query
-
-
-
Method Detail
-
createDomainResult
DomainResult<T> createDomainResult(String resultVariable, DomainResultCreationState creationState)
Produce the domain query
-
applySqlSelections
void applySqlSelections(DomainResultCreationState creationState)
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
-
-