Package org.mybatis.dynamic.sql.insert
Class AbstractMultiRowInsertModel<T>
- java.lang.Object
-
- org.mybatis.dynamic.sql.insert.AbstractMultiRowInsertModel<T>
-
- Direct Known Subclasses:
BatchInsertModel
,MultiRowInsertModel
public abstract class AbstractMultiRowInsertModel<T> extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractMultiRowInsertModel.AbstractBuilder<T,S extends AbstractMultiRowInsertModel.AbstractBuilder<T,S>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractMultiRowInsertModel(AbstractMultiRowInsertModel.AbstractBuilder<T,?> builder)
-
Method Summary
Modifier and Type Method Description <R> java.util.stream.Stream<R>
mapColumnMappings(java.util.function.Function<InsertMapping,R> mapper)
int
recordCount()
java.util.List<T>
records()
SqlTable
table()
-
-
-
Constructor Detail
-
AbstractMultiRowInsertModel
protected AbstractMultiRowInsertModel(AbstractMultiRowInsertModel.AbstractBuilder<T,?> builder)
-
-
Method Detail
-
mapColumnMappings
public <R> java.util.stream.Stream<R> mapColumnMappings(java.util.function.Function<InsertMapping,R> mapper)
-
records
public java.util.List<T> records()
-
table
public SqlTable table()
-
recordCount
public int recordCount()
-
-