public interface IncomingResultSet
BlockingQueue| Modifier and Type | Field and Description |
|---|---|
static List<Object> |
END_OF_RESULTS
A zero-length row when returned indicates that there are no more
results in this result set.
|
| Modifier and Type | Method and Description |
|---|---|
ResultSetMetaData |
getMetaData()
Return metadata information about the columns in this result set.
|
List<Object> |
peekRow()
Retrieves, but does not remove, the head row of this result set,
returns null if there is no row currently available in this result
set, or returns END_OF_RESULTS if there are no more rows in this
result set.
|
List<Object> |
peekRow(long timeout,
TimeUnit unit)
Retrieves, but does not remove, the head row of this result set,
waiting up to the specified wait time if necessary for a row to become
available, or returns END_OF_RESULTS if there are no more rows in this
result set.
|
List<Object> |
pollRow()
Retrieves and removes the head row of this result set,
returns null if there is no row currently available in this result
set, or returns END_OF_RESULTS if there are no more rows in this
result set.
|
List<Object> |
pollRow(long timeout,
TimeUnit unit)
Retrieves and removes the head row of this result set,
waiting up to the specified wait time if necessary for a row to become
available, or returns END_OF_RESULTS if there are no more rows in this
result set.
|
List<Object> |
takeRow()
Retrieve and removes the head row in this result set as a List<Object>,
waiting if necessary until an element becomes available, or returning
END_OF_RESULTS if there are no more rows in this result set.
|
List<Object> |
waitPeekRow()
Retrieves, but does not remove, the head row of this result set,
waiting if necessary until an element becomes available, or returning
END_OF_RESULTS if there are no more rows in this result set.
|
List<Object> takeRow() throws InterruptedException
InterruptedException - if interrupted while waitingList<Object> pollRow()
List<Object> pollRow(long timeout, TimeUnit unit) throws InterruptedException
timeout - how long to wait before giving up, in units of unitunit - a TimeUnit determining how to interpret the timeout parameterInterruptedException - if interrupted while waitingList<Object> peekRow(long timeout, TimeUnit unit) throws InterruptedException
timeout - how long to wait before giving up, in units of unitunit - a TimeUnit determining how to interpret the timeout parameterInterruptedException - if interrupted while waitingList<Object> peekRow()
List<Object> waitPeekRow() throws InterruptedException
InterruptedException - if interrupted while waitingResultSetMetaData getMetaData() throws InterruptedException
InterruptedException - if interrupted while waitingCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.