@FunctionalInterface public interface VisitableCondition<T>
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(ConditionVisitor<T,R> visitor) |
default void |
renderingSkipped()
This method will be called during rendering when
shouldRender()
returns false. |
default boolean |
shouldRender()
Subclasses can override this to inform the renderer if the condition should not be included
in the rendered SQL.
|
<R> R accept(ConditionVisitor<T,R> visitor)
default boolean shouldRender()
default void renderingSkipped()
shouldRender()
returns false.Copyright © 2016–2021 MyBatis.org. All rights reserved.