T
- Result type of tabular insert results.public static interface DatabaseClient.GenericInsertSpec<T> extends DatabaseClient.InsertSpec<T>
INSERT
options leading to the exchange.Modifier and Type | Method and Description |
---|---|
default DatabaseClient.GenericInsertSpec<T> |
nullValue(org.springframework.data.relational.core.sql.SqlIdentifier field,
Class<?> type)
Specify a null value to insert.
|
default DatabaseClient.GenericInsertSpec<T> |
nullValue(String field,
Class<?> type)
Specify a null value to insert.
|
DatabaseClient.GenericInsertSpec<T> |
value(org.springframework.data.relational.core.sql.SqlIdentifier field,
Object value)
Specify a field and non-null value to insert.
|
default DatabaseClient.GenericInsertSpec<T> |
value(String field,
Object value)
Specify a field and non-null value to insert.
|
fetch, map, map, then
default DatabaseClient.GenericInsertSpec<T> value(String field, Object value)
value
can be either a scalar value or
SettableValue
.field
- must not be null or empty.value
- the field value to set, must not be null. Can be either a scalar value or
SettableValue
.SqlIdentifier.unquoted(String)
DatabaseClient.GenericInsertSpec<T> value(org.springframework.data.relational.core.sql.SqlIdentifier field, Object value)
value
can be either a scalar value or
SettableValue
.field
- must not be null or empty.value
- the field value to set, must not be null. Can be either a scalar value or
SettableValue
.default DatabaseClient.GenericInsertSpec<T> nullValue(String field, Class<?> type)
field
- must not be null or empty.type
- must not be null.SqlIdentifier.unquoted(String)
default DatabaseClient.GenericInsertSpec<T> nullValue(org.springframework.data.relational.core.sql.SqlIdentifier field, Class<?> type)
field
- must not be null or empty.type
- must not be null.Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.