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,SqmCorrelatedCteJoin,SqmCorrelatedDerivedJoin,SqmCorrelatedDerivedRoot,SqmCorrelatedDerivedRootJoin,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,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,SqmTuple,SqmUnaryOperation,ValueBindJpaCriteriaParameter
public interface JpaExpression<T> extends JpaSelection<T>, Expression<T>
API extension to the JPAExpressioncontract
-
-
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()JpaPredicatein(Expression<?>... values)JpaPredicatein(Expression<Collection<?>> values)JpaPredicatein(Object... values)JpaPredicatein(Collection<?> values)JpaPredicateisNotNull()JpaPredicateisNull()-
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:
asin interfaceExpression<T>
-
isNull
JpaPredicate isNull()
- Specified by:
isNullin interfaceExpression<T>
-
isNotNull
JpaPredicate isNotNull()
- Specified by:
isNotNullin interfaceExpression<T>
-
in
JpaPredicate in(Object... values)
- Specified by:
inin interfaceExpression<T>
-
in
JpaPredicate in(Expression<?>... values)
- Specified by:
inin interfaceExpression<T>
-
in
JpaPredicate in(Collection<?> values)
- Specified by:
inin interfaceExpression<T>
-
in
JpaPredicate in(Expression<Collection<?>> values)
- Specified by:
inin interfaceExpression<T>
-
-