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:
AbstractPersistentEntityJoinSupport
,AbstractPersistentPropertyPredicate
,AbstractPredicate
,BinaryExpression
,ConjunctionPredicate
,DefaultPersistentPropertyPath
,DisjunctionPredicate
,ExpressionBinaryPredicate
,FunctionExpression
,IdExpression
,LikePredicate
,LiteralExpression
,NegatedPredicate
,PersistentPropertyBetweenPredicate
,PersistentPropertyBinaryPredicate
,PersistentPropertyInPredicate
,PersistentPropertyUnaryPredicate
,RenderablePredicate
,UnaryExpression
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
void
visitExpression
(ExpressionVisitor expressionVisitor) Visit the expression.default void
visitSelection
(SelectionVisitor selectionVisitor) Visit the selection.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>
-
visitExpression
Visit the expression.- Parameters:
expressionVisitor
- The expression visitor
-
visitSelection
Description copied from interface:ISelection
Visit the selection.- Specified by:
visitSelection
in interfaceISelection<T>
- Parameters:
selectionVisitor
- The visitor
-