public interface QueryAttributesBindings
Statement
object.Modifier and Type | Method and Description |
---|---|
void |
clearAttributes()
Removes all query attributes from the query attributes list.
|
QueryAttributesBindValue |
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(java.util.function.Consumer<QueryAttributesBindValue> bindAttribute)
Runs through all query attributes while feeding the given
Consumer with each one of them. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Adds a new query attribute to the list of query attributes.
|
void setAttribute(java.lang.String name, java.lang.Object value)
name
- the query attribute name.value
- the query attribute value.int getCount()
QueryAttributesBindValue getAttributeValue(int index)
index
- the position of the query attribute value to return.QueryAttributesBindValue
in the given position of the query attributes list.void runThroughAll(java.util.function.Consumer<QueryAttributesBindValue> bindAttribute)
Consumer
with each one of them.bindAttribute
- A Consumer
for each one of the single query attributes.void clearAttributes()