public abstract class AbstractRowInsertionBuilder<U extends UpdateCallback> extends AbstractRowBuilder<RowInsertionBuilder> implements RowInsertionBuilder
RowInsertionBuilder interface,
provided as a convenience to RowInsertable implementations. Handles
all the building operations, but not the commit operation.| Constructor and Description |
|---|
AbstractRowInsertionBuilder(U updateCallback,
Table table) |
| Modifier and Type | Method and Description |
|---|---|
Table |
getTable()
Gets the table that this insert pertains to.
|
protected U |
getUpdateCallback() |
RowInsertionBuilder |
like(Row row)
Sets all values like the provided row (for easy duplication of a row).
|
String |
toSql()
Gets a SQL representation of this insert operation.
|
String |
toString() |
getColumns, getExplicitNulls, getStyles, getValues, isSet, toRow, value, value, value, value, value, valueclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitexecutepublic Table getTable()
RowInsertionBuildergetTable in interface RowBuilder<RowInsertionBuilder>getTable in interface RowInsertionBuilderprotected U getUpdateCallback()
public RowInsertionBuilder like(Row row)
RowInsertionBuilderlike in interface RowInsertionBuilderrow - the row from which to take valuespublic String toSql()
RowInsertionBuildertoSql in interface RowInsertionBuilderCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.