Package org.mybatis.dynamic.sql
Interface VisitableCondition<T>
- Type Parameters:
T- the Java type related to the column this condition relates to. Used primarily for compiler type checking
- All Superinterfaces:
RenderableCondition<T>
@Deprecated(since="2.0.0",
forRemoval=true)
public interface VisitableCondition<T>
extends RenderableCondition<T>
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated interface.
Conditions are no longer rendered with a visitor, so the name is misleading. This change makes it far easier to implement custom conditions for functionality not supplied out of the box by the library.
If you created any direct implementations of this interface, you will need to change the rendering functions.
The library now calls RenderableCondition.renderCondition(RenderingContext, BindableColumn) and
RenderableCondition.renderLeftColumn(RenderingContext, BindableColumn) instead of the previous methods
like operator, value, etc. Subclasses of the supplied abstract conditions should continue
to function as before.
-
Method Summary
Methods inherited from interface org.mybatis.dynamic.sql.RenderableCondition
isEmpty, renderCondition, renderingSkipped, renderLeftColumn, shouldRender
RenderableConditioninstead.