Package org.mybatis.dynamic.sql.util
Interface ColumnMappingVisitor<R>
- Type Parameters:
R
- The type of object created by the visitor
- All Known Implementing Classes:
GeneralInsertMappingVisitor
,GeneralInsertValuePhraseVisitor
,InsertMappingVisitor
,MultiRowInsertMappingVisitor
,MultiRowValuePhraseVisitor
,SetPhraseVisitor
,UpdateMappingVisitor
,ValuePhraseVisitor
public interface ColumnMappingVisitor<R>
Visitor for all column mappings. Various column mappings are used by insert and update
statements. Only the null and constant mappings are supported by all statements. Other mappings
may or may not be supported. For example, it makes no sense to map a column to another column in
an insert - so the ColumnToColumnMapping is only supported on update statements.
Rather than implement this interface directly, we recommend extending one of the derived classes. The derived classes encapsulate the rules about which mappings are applicable to the different types of statements.
- Author:
- Jeff Butler
-
Method Summary
Modifier and TypeMethodDescriptionvisit
(ColumnToColumnMapping mapping) visit
(ConstantMapping mapping) visit
(NullMapping mapping) visit
(PropertyMapping mapping) visit
(PropertyWhenPresentMapping mapping) visit
(RowMapping mapping) visit
(SelectMapping mapping) visit
(StringConstantMapping mapping) <T> R
visit
(ValueMapping<T> mapping) <T> R
visit
(ValueOrNullMapping<T> mapping) <T> R
visit
(ValueWhenPresentMapping<T> mapping)
-
Method Details
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-