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(Object bean)
Bind a bean according to Java
Beans using property names. |
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
.index
- zero based index to bind the parameter to.value
- to bind. Must not be null.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
.name
- must not be null or empty.value
- must not be null.S bindNull(String name, Class<?> type)
name
.name
- must not be null or empty.type
- must not be null.Copyright © 2018–2019 Pivotal Software, Inc.. All rights reserved.