public interface QueryAttributesBindings
Statement object.| Modifier and Type | Method and Description |
|---|---|
void |
clearAttributes()
Removes all query attributes from the query attributes list.
|
BindValue |
getAttributeValue(int index)
Returns an internal representation of the query attribute in the given position of the query attributes list.
|
int |
getCount()
Get the count of query attributes in the list.
|
void |
runThroughAll(Consumer<BindValue> bindAttribute)
Runs through all query attributes while feeding the given
Consumer with each one of them. |
void |
setAttribute(String name,
Object value)
Adds a new query attribute to the list of query attributes.
|
void setAttribute(String name, Object value)
name - the query attribute name.value - the query attribute value.int getCount()
BindValue getAttributeValue(int index)
index - the position of the query attribute value to return.BindValue in the given position of the query attributes list.void runThroughAll(Consumer<BindValue> bindAttribute)
Consumer with each one of them.bindAttribute - A Consumer for each one of the single query attributes.void clearAttributes()