Package org.hibernate.query.sqm.tree
Interface SqmCacheable
- All Known Subinterfaces:
DiscriminatorSqmPath<T>
,SqmAggregateFunction<T>
,SqmAliasedNode<T>
,SqmAttributeJoin<O,
,T> SqmCorrelatedJoin<L,
,R> SqmCorrelatedSingularValuedJoin<L,
,R> SqmCorrelation<L,
,R> SqmCteContainer
,SqmDeleteOrUpdateStatement<T>
,SqmDmlStatement<E>
,SqmExpression<T>
,SqmFrom<L,
,R> SqmInPredicate<T>
,SqmInsertStatement<T>
,SqmJoin<L,
,R> SqmNegatablePredicate
,SqmNode
,SqmOrderedSetAggregateFunction<T>
,SqmParameter<T>
,SqmPath<T>
,SqmPathWrapper<W,
,T> SqmPredicate
,SqmQuery<T>
,SqmSelectableNode<T>
,SqmSelectQuery<T>
,SqmSimplePath<T>
,SqmSingularValuedJoin<L,
,R> SqmStatement<T>
,SqmTreatedAttributeJoin<L,
,R, R1> SqmTreatedFrom<L,
,R, R1> SqmTreatedJoin<L,
,R, R1> SqmTreatedPath<T,
,S> SqmTypedNode<T>
,SqmVisitableNode
,SqmWindowFunction<T>
- All Known Implementing Classes:
AbstractJpaSelection
,AbstractJpaTupleElement
,AbstractNegatableSqmPredicate
,AbstractSqmAttributeJoin
,AbstractSqmDmlStatement
,AbstractSqmExpression
,AbstractSqmFrom
,AbstractSqmInsertStatement
,AbstractSqmJoin
,AbstractSqmJsonPathExpression
,AbstractSqmNode
,AbstractSqmParameter
,AbstractSqmPath
,AbstractSqmPluralJoin
,AbstractSqmPredicate
,AbstractSqmRestrictedDmlStatement
,AbstractSqmSelectQuery
,AbstractSqmSimplePath
,AbstractSqmSpecificPluralPartPath
,AbstractSqmStatement
,AsWrapperSqmExpression
,FormatFunction.FormatSqmFunction
,InverseDistributionFunction.SelfRenderingInverseDistributionFunction
,JpaCriteriaParameter
,NonAggregatedCompositeSimplePath
,SelfRenderingSqmAggregateFunction
,SelfRenderingSqmFunction
,SelfRenderingSqmOrderedSetAggregateFunction
,SelfRenderingSqmSetReturningFunction
,SelfRenderingSqmWindowFunction
,SqmAliasedNodeRef
,SqmAny
,SqmAnyDiscriminatorValue
,SqmAnyValuedSimplePath
,SqmAssignment
,SqmBagJoin
,SqmBasicValuedSimplePath
,SqmBetweenPredicate
,SqmBinaryArithmetic
,SqmBooleanExpressionPredicate
,SqmByUnit
,SqmCaseSearched
,SqmCaseSearched.WhenFragment
,SqmCaseSimple
,SqmCaseSimple.WhenFragment
,SqmCastTarget
,SqmCoalesce
,SqmCollation
,SqmCollectionSize
,SqmComparisonPredicate
,SqmConflictClause
,SqmConflictUpdateAction
,SqmCorrelatedBagJoin
,SqmCorrelatedCrossJoin
,SqmCorrelatedCteJoin
,SqmCorrelatedDerivedJoin
,SqmCorrelatedDerivedRoot
,SqmCorrelatedDerivedRootJoin
,SqmCorrelatedEntityJoin
,SqmCorrelatedListJoin
,SqmCorrelatedMapJoin
,SqmCorrelatedPluralPartJoin
,SqmCorrelatedRoot
,SqmCorrelatedRootJoin
,SqmCorrelatedSetJoin
,SqmCorrelatedSingularJoin
,SqmCrossJoin
,SqmCteJoin
,SqmCteRoot
,SqmCteStatement
,SqmCteTable
,SqmCteTableColumn
,SqmDeleteStatement
,SqmDerivedJoin
,SqmDerivedRoot
,SqmDistinct
,SqmDurationUnit
,SqmDynamicInstantiation
,SqmDynamicInstantiationArgument
,SqmElementAggregateFunction
,SqmEmbeddedValuedSimplePath
,SqmEmptinessPredicate
,SqmEntityJoin
,SqmEntityValuedSimplePath
,SqmEnumLiteral
,SqmEvery
,SqmExistsPredicate
,SqmExtractUnit
,SqmFieldLiteral
,SqmFkExpression
,SqmFormat
,SqmFromClause
,SqmFunction
,SqmFunctionJoin
,SqmFunctionPath
,SqmFunctionRoot
,SqmGroupedPredicate
,SqmHqlNumericLiteral
,SqmIndexAggregateFunction
,SqmIndexedCollectionAccessPath
,SqmInListPredicate
,SqmInsertSelectStatement
,SqmInsertValuesStatement
,SqmInSubQueryPredicate
,SqmJpaCompoundSelection
,SqmJpaCriteriaParameterWrapper
,SqmJsonExistsExpression
,SqmJsonNullBehavior
,SqmJsonObjectAggUniqueKeysBehavior
,SqmJsonQueryExpression
,SqmJsonTableFunction
,SqmJsonTableFunction.Columns
,SqmJsonValueExpression
,SqmJunctionPredicate
,SqmLikePredicate
,SqmListJoin
,SqmLiteral
,SqmLiteralEmbeddableType
,SqmLiteralEntityType
,SqmLiteralNull
,SqmMapEntryReference
,SqmMapJoin
,SqmMemberOfPredicate
,SqmModifiedSubQueryExpression
,SqmNamedExpression
,SqmNamedParameter
,SqmNegatedPredicate
,SqmNullnessPredicate
,SqmOrderByClause
,SqmOver
,SqmOverflow
,SqmParameterizedEntityType
,SqmPluralPartJoin
,SqmPluralValuedSimplePath
,SqmPositionalParameter
,SqmQueryGroup
,SqmQueryPart
,SqmQuerySpec
,SqmRoot
,SqmSearchClauseSpecification
,SqmSelectClause
,SqmSelection
,SqmSelectStatement
,SqmSelfRenderingExpression
,SqmSetClause
,SqmSetJoin
,SqmSetReturningFunction
,SqmSingularJoin
,SqmSortSpecification
,SqmStar
,SqmSubQuery
,SqmSummarization
,SqmToDuration
,SqmTreatedBagJoin
,SqmTreatedCrossJoin
,SqmTreatedEmbeddedValuedSimplePath
,SqmTreatedEntityJoin
,SqmTreatedEntityValuedSimplePath
,SqmTreatedListJoin
,SqmTreatedMapJoin
,SqmTreatedPluralPartJoin
,SqmTreatedRoot
,SqmTreatedSetJoin
,SqmTreatedSimplePath
,SqmTreatedSingularJoin
,SqmTrimSpecification
,SqmTruthnessPredicate
,SqmTuple
,SqmUnaryOperation
,SqmUpdateStatement
,SqmValues
,SqmWhereClause
,SqmWindow
,SqmWindowFrame
,SqmXmlAttributesExpression
,SqmXmlElementExpression
,SqmXmlTableFunction
,SqmXmlTableFunction.Columns
,ValueBindJpaCriteriaParameter
public interface SqmCacheable
Base contract for any SQM AST node caching.
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
areCompatible
(@Nullable Collection<? extends SqmCacheable> collection1, @Nullable Collection<? extends SqmCacheable> collection2) static boolean
areCompatible
(@Nullable List<? extends SqmCacheable> collection1, @Nullable List<? extends SqmCacheable> collection2) static <K> boolean
areCompatible
(@Nullable Map<K, ? extends SqmCacheable> collection1, @Nullable Map<K, ? extends SqmCacheable> collection2) static boolean
areCompatible
(@Nullable SqmCacheable e1, @Nullable SqmCacheable e2) int
static int
cacheHashCode
(@Nullable Collection<? extends SqmCacheable> collection) static int
cacheHashCode
(@Nullable Map<?, ? extends SqmCacheable> map) static int
cacheHashCode
(@Nullable SqmCacheable e1) boolean
isCompatible
(Object object)
-
Method Details
-
isCompatible
-
cacheHashCode
int cacheHashCode() -
areCompatible
-
areCompatible
static boolean areCompatible(@Nullable Collection<? extends SqmCacheable> collection1, @Nullable Collection<? extends SqmCacheable> collection2) -
areCompatible
static boolean areCompatible(@Nullable List<? extends SqmCacheable> collection1, @Nullable List<? extends SqmCacheable> collection2) -
areCompatible
static <K> boolean areCompatible(@Nullable Map<K, ? extends SqmCacheable> collection1, @Nullable Map<K, ? extends SqmCacheable> collection2) -
cacheHashCode
-
cacheHashCode
-
cacheHashCode
-