public interface RowInsertable
Modifier and Type | Method and Description |
---|---|
RowInsertionBuilder |
insertInto(String tableName)
Initiates the building of a row insertion operation.
|
RowInsertionBuilder |
insertInto(String schemaName,
String tableName)
Initiates the building of a row insertion operation.
|
RowInsertionBuilder |
insertInto(Table table)
Initiates the building of a row insertion operation.
|
boolean |
isInsertSupported()
Determines whether row insertion is supported
|
boolean isInsertSupported()
RowInsertionBuilder insertInto(Table table) throws IllegalArgumentException, IllegalStateException, UnsupportedOperationException
table
- the table to insert a row intoIllegalArgumentException
- if the table argument is null or invalid.IllegalStateException
- if the connection to the DataContext is read-only or another
access restriction is preventing the operation.UnsupportedOperationException
- in case isInsertSupported()
is falseRowInsertionBuilder insertInto(String tableName) throws IllegalArgumentException, IllegalStateException, UnsupportedOperationException
tableName
- the name of the table to insert a row intoIllegalArgumentException
- if the tableName argument is null or invalid.IllegalStateException
- if the connection to the DataContext is read-only or another
access restriction is preventing the operation.UnsupportedOperationException
- in case isInsertSupported()
is falseRowInsertionBuilder insertInto(String schemaName, String tableName) throws IllegalArgumentException, IllegalStateException, UnsupportedOperationException
schemaName
- the name of the schematableName
- the name of the table to insert a row intoIllegalArgumentException
- if the tableName argument is null or invalid.IllegalStateException
- if the connection to the DataContext is read-only or another
access restriction is preventing the operation.UnsupportedOperationException
- in case isInsertSupported()
is falseCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.