| Modifier and Type | Class and Description |
|---|---|
| pack-priv static record |
| Modifier and Type | Field and Description |
|---|---|
| private Configuration | |
| pack-priv final List |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(int
index at which the specified element is to be inserted index, Result<Record> element to be inserted element)Overrides java. Implements java. |
| public final void | attach(Configuration
A configuration or c)null, if you wish to
detach this Attachable from its previous
configuration.Implements org. Configuration.
|
| public void | clear()
Overrides java. Implements java. |
| public final Configuration | configuration()
Implements org. Configuration, or null if
no Configuration is attached.
|
| public final void | detach()
Implements org. Configuration.
|
| public boolean | equals(Object
the object to be compared for equality with this list obj)Overrides java. Implements java. |
| public final Result | get(int
index of the element to return index)Implements abstract java. Implements java. |
| public int | hashCode()
Overrides java. Implements java. |
| private final List | |
| public Result | remove(int
the index of the element to be removed index)Overrides java. Implements java. |
| public final List | resultsOrRows()
Implements org. |
| public Result | set(int
index of the element to replace index, Result<Record> element to be stored at the specified position element)Overrides java. Implements java. |
| public final int | size()
Implements abstract java. Implements java. |
| public String | toString()
Overrides java. |
| private final int |
| configuration | back to summary |
|---|---|
| private Configuration configuration | |
| resultsOrRows | back to summary |
|---|---|
| pack-priv final List<ResultOrRows> resultsOrRows | |
| ResultsImpl | back to summary |
|---|---|
| pack-priv ResultsImpl(Configuration configuration) | |
| add | back to summary |
|---|---|
| public void add(int index, Result<Record> element) Overrides java. Implements java. Doc from java. Inserts the specified element at the specified position in this list (optional operation). Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices). | |
| attach | back to summary |
|---|---|
| public final void attach(Configuration c) Implements org. Doc from org. Attach all results and all of their contained records to a new
| |
| clear | back to summary |
|---|---|
| public void clear() Overrides java. Implements java. Doc from java. Removes all of the elements from this list (optional operation). The list will be empty after this call returns.
| |
| configuration | back to summary |
|---|---|
| public final Configuration configuration() Implements org. Doc from org. Get the currently attached
| |
| detach | back to summary |
|---|---|
| public final void detach() Implements org. Doc from org. Detach all results and all of their contained records from their current
This is the same as calling
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Implements java. Doc from java. Compares the specified object with this list for equality. Returns
| |
| get | back to summary |
|---|---|
| public final Result Implements abstract java. Implements java. Doc from java. Returns the element at the specified position in this list. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements java. Doc from java. Returns the hash code value for this list. The hash code of a list is defined to be the result of the following calculation:
This ensures that list1.equals(list2) implies that
list1.hashCode()==list2.hashCode() for any two lists,
list1 and list2, as required by the general
contract of Object#hashCode.
| |
| list | back to summary |
|---|---|
| private final List | |
| remove | back to summary |
|---|---|
| public Result Overrides java. Implements java. Doc from java. Removes the element at the specified position in this list (optional operation). Shifts any subsequent elements to the left (subtracts one from their indices). Returns the element that was removed from the list. | |
| resultsOrRows | back to summary |
|---|---|
| public final List Implements org. Doc from org. All the results or update counts in their order as fetched via JDBC.
While It can be safely assumed that:
| |
| set | back to summary |
|---|---|
| public Result Overrides java. Implements java. Doc from java. Replaces the element at the specified position in this list with the specified element (optional operation). | |
| size | back to summary |
|---|---|
| public final int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of this collection. The string
representation consists of a list of the collection's elements in the
order they are returned by its iterator, enclosed in square brackets
( | |
| translatedIndex | back to summary |
|---|---|
| private final int translatedIndex(int index) | |
| Modifier and Type | Field and Description |
|---|---|
| private final DataAccessException | exception
Record Component accessed by exception(). |
| private final Result | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object
the reference object with which to compare. o)Implements abstract java. |
| public DataAccessException | exception()
Record Component getter of exception. Implements org. null if there was no
exception.
|
| public final int | |
| public Result | result()
Record Component getter of result. Implements org. null if there was no result.
|
| public int | rows()
Record Component getter of rows. Implements org. result().
|
| public String | toString()
Implements abstract java. |
| exception | back to summary |
|---|---|
| private final DataAccessException exception Record Component accessed by exception(). | |
| result | back to summary |
|---|---|
| private final Result<Record> result Record Component accessed by result(). | |
| rows | back to summary |
|---|---|
| private final int rows Record Component accessed by rows(). | |
| ResultOrRowsImpl | back to summary |
|---|---|
| pack-priv ResultOrRowsImpl(Result<Record> result) | |
| ResultOrRowsImpl | back to summary |
|---|---|
| pack-priv ResultOrRowsImpl(int rows) | |
| ResultOrRowsImpl | back to summary |
|---|---|
| pack-priv ResultOrRowsImpl(DataAccessException exception) | |
| ResultOrRowsImpl | back to summary |
|---|---|
| pack-priv ResultOrRowsImpl(Result<Record> result, int rows, DataAccessException exception) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| exception | back to summary |
|---|---|
| public DataAccessException exception() Record Component getter of exception. Implements org. Doc from org. The exception if applicable or
Exceptions are made available through this API only if
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of
| |
| result | back to summary |
|---|---|
| public Result Record Component getter of result. Implements org. Doc from org. The result or | |
| rows | back to summary |
|---|---|
| public int rows() Record Component getter of rows. Implements org. Doc from org. The update count if applicable, or the number of rows in
| |
| toString | back to summary |
|---|---|
| public String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |