Package org.mybatis.dynamic.sql.insert
Class BatchInsertModel<T>
- java.lang.Object
-
- org.mybatis.dynamic.sql.insert.BatchInsertModel<T>
-
public class BatchInsertModel<T> extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BatchInsertModel.Builder<T>
-
Method Summary
Modifier and Type Method Description <R> java.util.stream.Stream<R>
mapColumnMappings(java.util.function.Function<InsertMapping,R> mapper)
java.util.List<T>
records()
BatchInsert<T>
render(RenderingStrategy renderingStrategy)
SqlTable
table()
static <T> BatchInsertModel.Builder<T>
withRecords(java.util.Collection<T> records)
-
-
-
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()
-
render
public BatchInsert<T> render(RenderingStrategy renderingStrategy)
-
withRecords
public static <T> BatchInsertModel.Builder<T> withRecords(java.util.Collection<T> records)
-
-