Interface IExpression<T>
- Type Parameters:
T
- The expression type
- All Superinterfaces:
jakarta.persistence.criteria.Expression<T>
,ISelection<T>
,jakarta.persistence.criteria.Selection<T>
,jakarta.persistence.TupleElement<T>
- All Known Subinterfaces:
IPredicate
,PersistentAssociationPath<OwnerType,
,AssociatedEntityType> PersistentCollectionAssociationPath<OwnerType,
,AssociatedEntityType> PersistentEntityCollectionJoin<OwnerType,
,AssociatedEntityType> PersistentEntityFrom<OwnerType,
,AssociatedEntityType> PersistentEntityJoin<OwnerType,
,AssociatedEntityType> PersistentEntityListJoin<OwnerType,
,AssociatedEntityType> PersistentEntityPath<T>
,PersistentEntityRoot<T>
,PersistentEntitySetJoin<OwnerType,
,AssociatedEntityType> PersistentListAssociationPath<OwnerType,
,AssociatedEntityType> PersistentPropertyPath<T>
,PersistentSetAssociationPath<OwnerType,
AssociatedEntityType>
- All Known Implementing Classes:
AbstractNumericalPersistentPropertyExpression
,AbstractPersistentEntityJoinSupport
,AbstractPersistentPropertyExpression
,AbstractPersistentPropertyPath
,AbstractPersistentPropertyPredicate
,AbstractPredicate
,AggregateExpression
,ConjunctionPredicate
,DisjunctionPredicate
,ExpressionBinaryPredicate
,IdExpression
,LiteralExpression
,NegatedPredicate
,PersistentPropertyBetweenPredicate
,PersistentPropertyBinaryPredicate
,PersistentPropertyInPredicate
,PersistentPropertyInValuesPredicate
,PersistentPropertyUnaryPredicate
The internal implementation of
Expression
.- Since:
- 3.2
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescriptiondefault <X> @NonNull jakarta.persistence.criteria.Expression<X>
default @NonNull jakarta.persistence.criteria.Predicate
in
(jakarta.persistence.criteria.Expression<?>... values) default @NonNull jakarta.persistence.criteria.Predicate
in
(jakarta.persistence.criteria.Expression<Collection<?>> values) default @NonNull jakarta.persistence.criteria.Predicate
default @NonNull jakarta.persistence.criteria.Predicate
in
(Collection<?> values) boolean
boolean
default @NonNull jakarta.persistence.criteria.Predicate
default @NonNull jakarta.persistence.criteria.Predicate
isNull()
boolean
Methods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getAlias, getCompoundSelectionItems, isCompoundSelection
Methods inherited from interface jakarta.persistence.TupleElement
getJavaType
-
Method Details
-
isBoolean
boolean isBoolean()- Returns:
- true if the expression is of boolean type
-
isNumeric
boolean isNumeric()- Returns:
- true if the expression is of numeric type
-
isComparable
boolean isComparable()- Returns:
- true if the expression is of comparable type
-
isNull
@NonNull default @NonNull jakarta.persistence.criteria.Predicate isNull()- Specified by:
isNull
in interfacejakarta.persistence.criteria.Expression<T>
-
isNotNull
@NonNull default @NonNull jakarta.persistence.criteria.Predicate isNotNull()- Specified by:
isNotNull
in interfacejakarta.persistence.criteria.Expression<T>
-
in
- Specified by:
in
in interfacejakarta.persistence.criteria.Expression<T>
-
in
@NonNull default @NonNull jakarta.persistence.criteria.Predicate in(jakarta.persistence.criteria.Expression<?>... values) - Specified by:
in
in interfacejakarta.persistence.criteria.Expression<T>
-
in
- Specified by:
in
in interfacejakarta.persistence.criteria.Expression<T>
-
in
@NonNull default @NonNull jakarta.persistence.criteria.Predicate in(jakarta.persistence.criteria.Expression<Collection<?>> values) - Specified by:
in
in interfacejakarta.persistence.criteria.Expression<T>
-
as
- Specified by:
as
in interfacejakarta.persistence.criteria.Expression<T>
-