Class AbstractPredicate

java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
All Implemented Interfaces:
IExpression<Boolean>, IPredicate, ISelection<Boolean>, jakarta.persistence.criteria.Expression<Boolean>, jakarta.persistence.criteria.Predicate, jakarta.persistence.criteria.Selection<Boolean>, jakarta.persistence.TupleElement<Boolean>
Direct Known Subclasses:
AbstractPersistentPropertyPredicate, ConjunctionPredicate, DisjunctionPredicate, ExpressionBinaryPredicate, LikePredicate, NegatedPredicate

@Internal public abstract class AbstractPredicate extends Object implements IPredicate
Abstract predicate implementation.
Since:
3.2
Author:
Denis Stepanov
  • Constructor Details

    • AbstractPredicate

      public AbstractPredicate()
  • Method Details

    • getOperator

      public jakarta.persistence.criteria.Predicate.BooleanOperator getOperator()
      Specified by:
      getOperator in interface jakarta.persistence.criteria.Predicate
    • not

      public jakarta.persistence.criteria.Predicate not()
      Specified by:
      not in interface jakarta.persistence.criteria.Predicate
    • isNegated

      public boolean isNegated()
      Specified by:
      isNegated in interface jakarta.persistence.criteria.Predicate
    • getExpressions

      public List<jakarta.persistence.criteria.Expression<Boolean>> getExpressions()
      Specified by:
      getExpressions in interface jakarta.persistence.criteria.Predicate
    • getJavaType

      public Class<? extends Boolean> getJavaType()
      Specified by:
      getJavaType in interface jakarta.persistence.TupleElement<Boolean>
    • getAlias

      public String getAlias()
      Specified by:
      getAlias in interface ISelection<Boolean>
      Specified by:
      getAlias in interface jakarta.persistence.TupleElement<Boolean>
    • visitExpression

      public void visitExpression(ExpressionVisitor expressionVisitor)
      Description copied from interface: IExpression
      Visit the expression.
      Specified by:
      visitExpression in interface IExpression<Boolean>
      Parameters:
      expressionVisitor - The expression visitor