| Modifier and Type | Field and Description |
|---|---|
| protected List | all
List of all elements. |
| protected Supplier | |
| protected int | |
| protected StatementExecuteOk | |
| protected int | |
| protected RowList | |
| protected ProtocolEntityFactory |
| Access | Constructor and Description |
|---|---|
| public | AbstractDataResult(RowList
RowList objectSupplier for StatementExecuteOk object completer, ProtocolEntityFactory<T, XMessage> rowToData)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public List | Returns: list of result elementsCreate a list of all elements in the result forcing internal buffering. |
| public void | finishStreaming()
Implements com. Finish the result streaming. |
| public long | getAffectedItemsCount()
Implements com. Get the count of affected items from manipulation statements. |
| public StatementExecuteOk | Returns: StatementExecuteOk objectGet StatementExecuteOk object finalizing the result transfer. |
| public Iterator | getWarnings()
Implements com. Get warnings generated during statement execution. |
| public int | getWarningsCount()
Implements com. Get the number of warnings generated during statement execution. |
| public boolean | |
| public T |
| all | back to summary |
|---|---|
| protected List<T> all List of all elements. | |
| completer | back to summary |
|---|---|
| protected Supplier<ProtocolEntity> completer | |
| count | back to summary |
|---|---|
| protected int count | |
| ok | back to summary |
|---|---|
| protected StatementExecuteOk ok | |
| position | back to summary |
|---|---|
| protected int position | |
| rows | back to summary |
|---|---|
| protected RowList rows | |
| rowToData | back to summary |
|---|---|
| protected ProtocolEntityFactory<T, XMessage> rowToData | |
| AbstractDataResult | back to summary |
|---|---|
| public AbstractDataResult(RowList rows, Supplier<ProtocolEntity> completer, ProtocolEntityFactory<T, XMessage> rowToData) Constructor.
| |
| count | back to summary |
|---|---|
| public long count() Return the number of items in this result. Forces internal buffering of the entire result.
| |
| fetchAll | back to summary |
|---|---|
| public List Create a list of all elements in the result forcing internal buffering.
| |
| finishStreaming | back to summary |
|---|---|
| public void finishStreaming() Implements com. Doc from com. Finish the result streaming. This happens if a new command is started or the warnings/etc are requested. This is safe to call multiple times and only has an effect the first time.
| |
| getAffectedItemsCount | back to summary |
|---|---|
| public long getAffectedItemsCount() Implements com. Doc from com. Get the count of affected items from manipulation statements. This method forces internal buffering of the result.
| |
| getStatementExecuteOk | back to summary |
|---|---|
| public StatementExecuteOk getStatementExecuteOk() Get StatementExecuteOk object finalizing the result transfer. Forces internal buffering of the entire result.
| |
| getWarnings | back to summary |
|---|---|
| public Iterator Implements com. Doc from com. Get warnings generated during statement execution. This method forces internal buffering of the result. | |
| getWarningsCount | back to summary |
|---|---|
| public int getWarningsCount() Implements com. Doc from com. Get the number of warnings generated during statement execution. This method forces internal buffering of the result.
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public T next() Implements java. Doc from java. Returns the next element in the iteration.
| |