public final class InsertInto extends AbstractRowBuilder<InsertInto> implements UpdateScript, RowBuilder<InsertInto>
UpdateableDataContext. Instead of providing a custom implementation
of the UpdateScript interface, one can use this pre-built
single-record insertion implementation. Some DataContexts may even
optimize specifically based on the knowledge that there will only be a single
record inserted.| Constructor and Description |
|---|
InsertInto(Table table) |
| Modifier and Type | Method and Description |
|---|---|
Table |
getTable()
Gets the table that this row builder pertains to.
|
void |
run(UpdateCallback callback)
Invoked by MetaModel when the update script should be run.
|
getColumns, getExplicitNulls, getStyles, getValues, isSet, toRow, value, value, value, value, value, valuepublic InsertInto(Table table)
public void run(UpdateCallback callback)
UpdateScriptUpdateCallback.run in interface UpdateScriptpublic Table getTable()
RowBuildergetTable in interface RowBuilder<InsertInto>Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.