Interface CriteriaVisitor<C>

Type Parameters:
C - Context type.

public interface CriteriaVisitor<C>
A visitor to traverse an criteria tree.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> void
    visit(Column column, C context)
    Visit a Column instance with the given context.
    <T> void
    visit(Criteria criteria, C context)
    Visit a Criteria instance with the given context.
    <T> void
    visit(Expression expression, C context)
    Visit a Expression instance with the given context.
    <T> void
    visit(Parameter<T> argument, C context)
    Visit a Parameter instance with the given context.
  • Method Details

    • visit

      <T> void visit(Parameter<T> argument, @Nullable C context)
      Visit a Parameter instance with the given context.
      Parameters:
      argument - Parameter to visit
      context - context of the visit or null, if not used
    • visit

      <T> void visit(Column column, @Nullable C context)
      Visit a Column instance with the given context.
      Parameters:
      column - Column to visit
      context - context of the visit or null, if not used
    • visit

      <T> void visit(Expression expression, @Nullable C context)
      Visit a Expression instance with the given context.
      Parameters:
      expression - Expression to visit
      context - context of the visit or null, if not used
    • visit

      <T> void visit(Criteria criteria, @Nullable C context)
      Visit a Criteria instance with the given context.
      Parameters:
      criteria - Criteria to visit
      context - context of the visit or null, if not used