Class AbstractPredicate

java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
All Implemented Interfaces:
IExpression<Boolean>, PredicateVisitable, SelectionVisitable, 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, NegatedPredicate

@Internal public abstract class AbstractPredicate extends Object implements IPredicate, PredicateVisitable, SelectionVisitable
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>
    • accept

      public void accept(SelectionVisitor selectionVisitor)
      Specified by:
      accept in interface SelectionVisitable