Class RenderablePredicate

java.lang.Object
io.micronaut.data.model.query.builder.sql.RenderablePredicate
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>

@Internal public abstract class RenderablePredicate extends Object implements IPredicate, IExpression<Boolean>
The negated predicate implementation.
Since:
4.6
Author:
Denis Stepanov
  • Constructor Details

    • RenderablePredicate

      public RenderablePredicate()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getOperator

      public jakarta.persistence.criteria.Predicate.BooleanOperator getOperator()
      Specified by:
      getOperator 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
    • not

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

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

      public void visitPredicate(PredicateVisitor predicateVisitor)
      Description copied from interface: IPredicate
      Visit predicate.
      Specified by:
      visitPredicate in interface IPredicate
      Parameters:
      predicateVisitor - The visitor
    • 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