public static interface DatabaseClient.BindSpec<S extends DatabaseClient.BindSpec<S>>
| Modifier and Type | Method and Description |
|---|---|
S |
bind(int index,
Object value)
Bind a non-null value to a parameter identified by its
index. |
S |
bind(String name,
Object value)
Bind a non-null value to a parameter identified by its
name. |
S |
bindNull(int index,
Class<?> type)
Bind a null value to a parameter identified by its
index. |
S |
bindNull(String name,
Class<?> type)
Bind a null value to a parameter identified by its
name. |
S bind(int index, Object value)
index. value can be either a
scalar value or SettableValue.index - zero based index to bind the parameter to.value - must not be null. Can be either a scalar value or SettableValue.S bindNull(int index, Class<?> type)
index.index - zero based index to bind the parameter to.type - must not be null.S bind(String name, Object value)
name. value can be either a
scalar value or SettableValue.name - must not be null or empty.value - must not be null. Can be either a scalar value or SettableValue.Copyright © 2018–2020 Pivotal Software, Inc.. All rights reserved.