public class BatchInsert<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BatchInsert.Builder<T> |
Modifier and Type | Method and Description |
---|---|
String |
getInsertStatementSQL()
Returns the generated SQL for this batch.
|
List<T> |
getRecords() |
List<InsertStatementProvider<T>> |
insertStatements()
Returns a list of InsertStatement objects.
|
static <T> BatchInsert.Builder<T> |
withRecords(List<T> records) |
public List<InsertStatementProvider<T>> insertStatements()
public String getInsertStatementSQL()
public static <T> BatchInsert.Builder<T> withRecords(List<T> records)
Copyright © 2016–2021 MyBatis.org. All rights reserved.