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

public interface IExpression<T> extends jakarta.persistence.criteria.Expression<T>, ISelection<T>
The internal implementation of Expression.
Since:
3.2
Author:
Denis Stepanov
  • Method Details

    • getExpressionType

      @NonNull @NonNull ExpressionType<T> getExpressionType()
      Returns:
      The expression type
    • getJavaType

      default Class<? extends T> getJavaType()
      Specified by:
      getJavaType in interface jakarta.persistence.TupleElement<T>
    • isNull

      @NonNull default @NonNull jakarta.persistence.criteria.Predicate isNull()
      Specified by:
      isNull in interface jakarta.persistence.criteria.Expression<T>
    • isNotNull

      @NonNull default @NonNull jakarta.persistence.criteria.Predicate isNotNull()
      Specified by:
      isNotNull in interface jakarta.persistence.criteria.Expression<T>
    • in

      @NonNull default @NonNull jakarta.persistence.criteria.Predicate in(Object... values)
      Specified by:
      in in interface jakarta.persistence.criteria.Expression<T>
    • in

      @NonNull default @NonNull jakarta.persistence.criteria.Predicate in(jakarta.persistence.criteria.Expression<?>... values)
      Specified by:
      in in interface jakarta.persistence.criteria.Expression<T>
    • in

      @NonNull default @NonNull jakarta.persistence.criteria.Predicate in(Collection<?> values)
      Specified by:
      in in interface jakarta.persistence.criteria.Expression<T>
    • in

      @NonNull default @NonNull jakarta.persistence.criteria.Predicate in(jakarta.persistence.criteria.Expression<Collection<?>> values)
      Specified by:
      in in interface jakarta.persistence.criteria.Expression<T>
    • as

      @NonNull default <X> @NonNull jakarta.persistence.criteria.Expression<X> as(Class<X> type)
      Specified by:
      as in interface jakarta.persistence.criteria.Expression<T>
    • visitExpression

      void visitExpression(ExpressionVisitor expressionVisitor)
      Visit the expression.
      Parameters:
      expressionVisitor - The expression visitor
    • visitSelection

      default void visitSelection(SelectionVisitor selectionVisitor)
      Description copied from interface: ISelection
      Visit the selection.
      Specified by:
      visitSelection in interface ISelection<T>
      Parameters:
      selectionVisitor - The visitor