Interface VisitableCondition<T>

    • Method Summary

      Modifier and Type Method Description
      <R> R accept​(ConditionVisitor<T,​R> visitor)  
      default boolean shouldRender()
      Subclasses can override this to inform the renderer if the condition should not be included in the rendered SQL.
    • Method Detail

      • shouldRender

        default boolean shouldRender()
        Subclasses can override this to inform the renderer if the condition should not be included in the rendered SQL. For example, IsEqualWhenPresent will not render if the value is null.
        Returns:
        true if the condition should render.