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:
AbstractExpression
,AbstractPersistentEntityJoinSupport
,AbstractPersistentEntitySubquery
,AbstractPersistentPropertyPredicate
,AbstractPredicate
,BetweenPredicate
,BinaryExpression
,BinaryPredicate
,ConjunctionPredicate
,DefaultPersistentPropertyPath
,DisjunctionPredicate
,ExistsSubqueryPredicate
,FunctionExpression
,IdExpression
,InPredicate
,IParameterExpression
,LikePredicate
,LiteralExpression
,NegatedPredicate
,RenderablePredicate
,SourceParameterExpressionImpl
,SourceParameterStringExpressionImpl
,SubqueryExpression
,UnaryExpression
,UnaryPredicate
The internal implementation of
Expression
.- Since:
- 3.2
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescriptiondefault <X> @NonNull jakarta.persistence.criteria.Expression<X>
@NonNull ExpressionType<T>
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) default @NonNull jakarta.persistence.criteria.Predicate
default @NonNull jakarta.persistence.criteria.Predicate
isNull()
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
-
Method Details
-
getExpressionType
- Returns:
- The expression type
-
getJavaType
- Specified by:
getJavaType
in interfacejakarta.persistence.TupleElement<T>
-
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
-