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

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

    Modifier and Type
    Method
    Description
    default <X> @NonNull jakarta.persistence.criteria.Expression<X>
    as(Class<X> type)
     
    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
    in(Object... values)
     
    default @NonNull jakarta.persistence.criteria.Predicate
    in(Collection<?> values)
     
    boolean
     
    boolean
     
    default @NonNull jakarta.persistence.criteria.Predicate
     
    default @NonNull jakarta.persistence.criteria.Predicate
     
    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 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>