| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private static final Map | |
| pack-priv Session |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clearAttributes()
Implements com. Removes all query attributes from the query attributes list. |
| public boolean | containsAttribute(String
the query attribute name. name)Implements com. Checks if there is already an attribute with the specified name. |
| public BindValue | getAttributeValue(int
the position of the query attribute value to return. index)Implements com. Returns an internal representation of the query attribute in the given position of the query attributes list. |
| public int | getCount()
Implements com. Get the count of query attributes in the list. |
| public void | removeAttribute(String
the query attribute name. name)Implements com. Removes the specified query attribute from the list of query attributes. |
| public void | runThroughAll(Consumer<BindValue>
A bindAttribute)Consumer for each one of the single query attributes.Implements com. Runs through all query attributes while feeding the given |
| public void | setAttribute(String
the query attribute name. name, Object the query attribute value. value)Implements com. Adds a new query attribute to the list of query attributes. |
| bindAttributes | back to summary |
|---|---|
| private List<NativeQueryBindValue> bindAttributes | |
| DEFAULT_MYSQL_TYPES | back to summary |
|---|---|
| private static final Map<Class<?>, MysqlType> DEFAULT_MYSQL_TYPES | |
| session | back to summary |
|---|---|
| pack-priv Session session | |
| NativeQueryAttributesBindings | back to summary |
|---|---|
| public NativeQueryAttributesBindings(Session sess) | |
| clearAttributes | back to summary |
|---|---|
| public void clearAttributes() Implements com. Doc from com. Removes all query attributes from the query attributes list.
| |
| containsAttribute | back to summary |
|---|---|
| public boolean containsAttribute(String name) Implements com. Doc from com. Checks if there is already an attribute with the specified name. | |
| getAttributeValue | back to summary |
|---|---|
| public BindValue getAttributeValue(int index) Implements com. Doc from com. Returns an internal representation of the query attribute in the given position of the query attributes list. It's implementation dependent what to do when the index value is invalid. | |
| getCount | back to summary |
|---|---|
| public int getCount() Implements com. Doc from com. Get the count of query attributes in the list.
| |
| removeAttribute | back to summary |
|---|---|
| public void removeAttribute(String name) Implements com. Doc from com. Removes the specified query attribute from the list of query attributes. | |
| runThroughAll | back to summary |
|---|---|
| public void runThroughAll(Consumer<BindValue> bindAttribute) Implements com. Doc from com. Runs through all query attributes while feeding the given | |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(String name, Object value) Implements com. Doc from com. Adds a new query attribute to the list of query attributes. Implementations must validate the type of the given the object and reject it or replace it by another representation if not supported, by its String version, for example. Query attribute names are not checked for duplication. | |