Package org.hibernate.query.criteria
Interface JpaExpression<T>
-
- All Superinterfaces:
Expression<T>
,JpaCriteriaNode
,JpaSelection<T>
,JpaTupleElement<T>
,Selection<T>
,Serializable
,TupleElement<T>
- All Known Subinterfaces:
DiscriminatorSqmPath<T>
,JpaCoalesce<T>
,JpaCollectionJoin<O,T>
,JpaCrossJoin<T>
,JpaDerivedFrom<T>
,JpaDerivedJoin<T>
,JpaDerivedRoot<T>
,JpaEntityJoin<T>
,JpaFrom<O,T>
,JpaFunction<T>
,JpaInPredicate<T>
,JpaJoin<O,T>
,JpaJoinedFrom<O,T>
,JpaListJoin<O,T>
,JpaMapJoin<O,K,V>
,JpaPath<T>
,JpaPluralJoin<O,C,E>
,JpaPredicate
,JpaRoot<T>
,JpaSearchedCase<T>
,JpaSetJoin<O,T>
,JpaSimpleCase<C,R>
,JpaSubQuery<T>
,SqmAggregateFunction<T>
,SqmAttributeJoin<O,T>
,SqmCorrelation<O,T>
,SqmExpression<T>
,SqmFrom<O,T>
,SqmInPredicate<T>
,SqmJoin<O,T>
,SqmNegatablePredicate
,SqmOrderedSetAggregateFunction<T>
,SqmParameter<T>
,SqmPath<T>
,SqmPathWrapper<W,T>
,SqmPredicate
,SqmQualifiedJoin<O,T>
,SqmSimplePath<T>
,SqmTreatedPath<T,S>
,SqmWindowFunction<T>
- All Known Implementing Classes:
AbstractNegatableSqmPredicate
,AbstractSqmAttributeJoin
,AbstractSqmExpression
,AbstractSqmFrom
,AbstractSqmJoin
,AbstractSqmParameter
,AbstractSqmPath
,AbstractSqmPluralJoin
,AbstractSqmPredicate
,AbstractSqmQualifiedJoin
,AbstractSqmSimplePath
,AbstractSqmSpecificPluralPartPath
,AnyDiscriminatorSqmPath
,EntityDiscriminatorSqmPath
,FormatFunction.FormatSqmFunction
,FullyQualifiedReflectivePathTerminal
,InverseDistributionFunction.SelfRenderingInverseDistributionFunction
,JpaCriteriaParameter
,NonAggregatedCompositeSimplePath
,SelfRenderingSqmAggregateFunction
,SelfRenderingSqmFunction
,SelfRenderingSqmOrderedSetAggregateFunction
,SelfRenderingSqmWindowFunction
,SqmAliasedNodeRef
,SqmAny
,SqmAnyDiscriminatorValue
,SqmAnyValuedSimplePath
,SqmBagJoin
,SqmBasicValuedSimplePath
,SqmBetweenPredicate
,SqmBinaryArithmetic
,SqmBooleanExpressionPredicate
,SqmByUnit
,SqmCaseSearched
,SqmCaseSimple
,SqmCoalesce
,SqmCollation
,SqmCollectionSize
,SqmComparisonPredicate
,SqmCorrelatedBagJoin
,SqmCorrelatedCrossJoin
,SqmCorrelatedEntityJoin
,SqmCorrelatedListJoin
,SqmCorrelatedMapJoin
,SqmCorrelatedPluralPartJoin
,SqmCorrelatedRoot
,SqmCorrelatedRootJoin
,SqmCorrelatedSetJoin
,SqmCorrelatedSingularJoin
,SqmCrossJoin
,SqmCteJoin
,SqmCteRoot
,SqmDerivedJoin
,SqmDerivedRoot
,SqmElementAggregateFunction
,SqmEmbeddedValuedSimplePath
,SqmEmptinessPredicate
,SqmEntityJoin
,SqmEntityValuedSimplePath
,SqmEnumLiteral
,SqmEvery
,SqmExistsPredicate
,SqmFieldLiteral
,SqmFkExpression
,SqmFormat
,SqmFunction
,SqmGroupedPredicate
,SqmHqlNumericLiteral
,SqmIndexAggregateFunction
,SqmIndexedCollectionAccessPath
,SqmInListPredicate
,SqmInSubQueryPredicate
,SqmJpaCompoundSelection
,SqmJpaCriteriaParameterWrapper
,SqmJunctionPredicate
,SqmLikePredicate
,SqmListJoin
,SqmLiteral
,SqmLiteralEntityType
,SqmLiteralNull
,SqmMapJoin
,SqmMemberOfPredicate
,SqmModifiedSubQueryExpression
,SqmNamedParameter
,SqmNegatedPredicate
,SqmNullnessPredicate
,SqmOver
,SqmOverflow
,SqmParameterizedEntityType
,SqmPluralPartJoin
,SqmPluralValuedSimplePath
,SqmPositionalParameter
,SqmRoot
,SqmSelfRenderingExpression
,SqmSetJoin
,SqmSingularJoin
,SqmStar
,SqmSubQuery
,SqmSummarization
,SqmToDuration
,SqmTreatedBagJoin
,SqmTreatedCrossJoin
,SqmTreatedEntityJoin
,SqmTreatedListJoin
,SqmTreatedMapJoin
,SqmTreatedPluralPartJoin
,SqmTreatedRoot
,SqmTreatedSetJoin
,SqmTreatedSimplePath
,SqmTreatedSingularJoin
,SqmTruthnessPredicate
,SqmTuple
,SqmUnaryOperation
,ValueBindJpaCriteriaParameter
public interface JpaExpression<T> extends JpaSelection<T>, Expression<T>
API extension to the JPAExpression
contract
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <X> JpaExpression<X>
as(Class<X> type)
JpaExpression<BigDecimal>
asBigDecimal()
JpaExpression<BigInteger>
asBigInteger()
JpaExpression<Double>
asDouble()
JpaExpression<Float>
asFloat()
JpaExpression<Integer>
asInteger()
JpaExpression<Long>
asLong()
JpaExpression<String>
asString()
JpaPredicate
equalTo(Expression<T> that)
JpaPredicate
equalTo(T that)
JpaPredicate
in(Expression<?>... values)
JpaPredicate
in(Expression<Collection<?>> values)
JpaPredicate
in(Object... values)
JpaPredicate
in(Collection<?> values)
JpaPredicate
isNotNull()
JpaPredicate
isNull()
-
Methods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItems
-
Methods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeDescriptor
-
Methods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelection
-
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
-
-
-
Method Detail
-
asLong
JpaExpression<Long> asLong()
-
asInteger
JpaExpression<Integer> asInteger()
-
asFloat
JpaExpression<Float> asFloat()
-
asDouble
JpaExpression<Double> asDouble()
-
asBigDecimal
JpaExpression<BigDecimal> asBigDecimal()
-
asBigInteger
JpaExpression<BigInteger> asBigInteger()
-
asString
JpaExpression<String> asString()
-
as
<X> JpaExpression<X> as(Class<X> type)
- Specified by:
as
in interfaceExpression<T>
-
isNull
JpaPredicate isNull()
- Specified by:
isNull
in interfaceExpression<T>
-
isNotNull
JpaPredicate isNotNull()
- Specified by:
isNotNull
in interfaceExpression<T>
-
in
JpaPredicate in(Object... values)
- Specified by:
in
in interfaceExpression<T>
-
in
JpaPredicate in(Expression<?>... values)
- Specified by:
in
in interfaceExpression<T>
-
in
JpaPredicate in(Collection<?> values)
- Specified by:
in
in interfaceExpression<T>
-
in
JpaPredicate in(Expression<Collection<?>> values)
- Specified by:
in
in interfaceExpression<T>
-
equalTo
JpaPredicate equalTo(Expression<T> that)
-
equalTo
JpaPredicate equalTo(T that)
-
-