Interface AdvancedPredicateVisitor<P>

Type Parameters:
P - The property type
All Superinterfaces:
PredicateVisitor
All Known Implementing Classes:
AbstractSqlLikeQueryBuilder2.SqlPredicateVisitor

@Internal public interface AdvancedPredicateVisitor<P> extends PredicateVisitor
A variation of PredicateVisitor that visits more expression methods.
Author:
Denis Stepanov
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    appendPredicate(PredicateBinaryOp op, jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression)
     
    getRequiredProperty(PersistentPropertyPath<?> persistentPropertyPath)
    Get the required property defined by the property path.
    default void
    visit(BetweenPredicate betweenPredicate)
    default void
    visit(BinaryPredicate binaryPredicate)
    default void
    visit(InPredicate<?> inPredicate)
    default void
    visit(UnaryPredicate unaryPredicate)
    default void
    visitArrayContains(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> expression)
     
    void
    visitContains(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> expression, boolean ignoreCase)
     
    void
    visitEndsWith(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> expression, boolean ignoreCase)
     
    void
    visitEquals(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression, boolean ignoreCase)
     
    void
    visitGreaterThan(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression)
     
    void
    visitGreaterThanOrEquals(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression)
     
    void
    visitIdEquals(jakarta.persistence.criteria.Expression<?> expression)
     
    void
    visitIn(jakarta.persistence.criteria.Expression<?> expression, Collection<?> values, boolean negated)
     
    void
    visitInBetween(jakarta.persistence.criteria.Expression<?> value, jakarta.persistence.criteria.Expression<?> from, jakarta.persistence.criteria.Expression<?> to)
     
    void
    visitIsEmpty(jakarta.persistence.criteria.Expression<?> expression)
     
    void
    visitIsFalse(jakarta.persistence.criteria.Expression<?> expression)
     
    void
    visitIsNotEmpty(jakarta.persistence.criteria.Expression<?> expression)
     
    void
    visitIsNotNull(jakarta.persistence.criteria.Expression<?> expression)
     
    void
    visitIsNull(jakarta.persistence.criteria.Expression<?> expression)
     
    void
    visitIsTrue(jakarta.persistence.criteria.Expression<?> expression)
     
    void
    visitLessThan(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression)
     
    void
    visitLessThanOrEquals(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression)
     
    void
    visitNotEquals(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression, boolean ignoreCase)
     
    default void
    visitRegexp(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> expression)
     
    void
    visitStartsWith(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression, boolean ignoreCase)
     

    Methods inherited from interface io.micronaut.data.model.jpa.criteria.impl.PredicateVisitor

    visit, visit, visit, visit, visit
  • Method Details

    • getRequiredProperty

      P getRequiredProperty(PersistentPropertyPath<?> persistentPropertyPath)
      Get the required property defined by the property path.
      Parameters:
      persistentPropertyPath - The criteria property
      Returns:
      The property
    • visit

      default void visit(UnaryPredicate unaryPredicate)
      Description copied from interface: PredicateVisitor
      Specified by:
      visit in interface PredicateVisitor
      Parameters:
      unaryPredicate - The unary predicate
    • visit

      default void visit(BetweenPredicate betweenPredicate)
      Description copied from interface: PredicateVisitor
      Specified by:
      visit in interface PredicateVisitor
      Parameters:
      betweenPredicate - The between predicate
    • visit

      default void visit(BinaryPredicate binaryPredicate)
      Description copied from interface: PredicateVisitor
      Specified by:
      visit in interface PredicateVisitor
      Parameters:
      binaryPredicate - The binary predicate
    • visitIdEquals

      void visitIdEquals(jakarta.persistence.criteria.Expression<?> expression)
    • appendPredicate

      default void appendPredicate(PredicateBinaryOp op, jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression)
    • visitContains

      void visitContains(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> expression, boolean ignoreCase)
    • visitEndsWith

      void visitEndsWith(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> expression, boolean ignoreCase)
    • visitRegexp

      default void visitRegexp(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> expression)
    • visitArrayContains

      default void visitArrayContains(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> expression)
    • visitStartsWith

      void visitStartsWith(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression, boolean ignoreCase)
    • visitEquals

      void visitEquals(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression, boolean ignoreCase)
    • visitNotEquals

      void visitNotEquals(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression, boolean ignoreCase)
    • visitGreaterThan

      void visitGreaterThan(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression)
    • visitGreaterThanOrEquals

      void visitGreaterThanOrEquals(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression)
    • visitLessThan

      void visitLessThan(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression)
    • visitLessThanOrEquals

      void visitLessThanOrEquals(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression)
    • visitInBetween

      void visitInBetween(jakarta.persistence.criteria.Expression<?> value, jakarta.persistence.criteria.Expression<?> from, jakarta.persistence.criteria.Expression<?> to)
    • visitIsFalse

      void visitIsFalse(jakarta.persistence.criteria.Expression<?> expression)
    • visitIsNotNull

      void visitIsNotNull(jakarta.persistence.criteria.Expression<?> expression)
    • visitIsNull

      void visitIsNull(jakarta.persistence.criteria.Expression<?> expression)
    • visitIsTrue

      void visitIsTrue(jakarta.persistence.criteria.Expression<?> expression)
    • visitIsEmpty

      void visitIsEmpty(jakarta.persistence.criteria.Expression<?> expression)
    • visitIsNotEmpty

      void visitIsNotEmpty(jakarta.persistence.criteria.Expression<?> expression)
    • visit

      default void visit(InPredicate<?> inPredicate)
      Description copied from interface: PredicateVisitor
      Specified by:
      visit in interface PredicateVisitor
      Parameters:
      inPredicate - The IN predicate
    • visitIn

      void visitIn(jakarta.persistence.criteria.Expression<?> expression, Collection<?> values, boolean negated)