public interface ResultSet
ResultSet
, but adapted for Vert.x.Modifier and Type | Method and Description |
---|---|
ResultSet |
all(Handler<AsyncResult<List<com.datastax.driver.core.Row>>> handler)
The method should not be used concurrently with others like
several(int, Handler) or one(Handler) . |
ResultSet |
fetchMoreResults(Handler<AsyncResult<Void>> handler) |
List<com.datastax.driver.core.ExecutionInfo> |
getAllExecutionInfo() |
int |
getAvailableWithoutFetching() |
com.datastax.driver.core.ColumnDefinitions |
getColumnDefinitions() |
com.datastax.driver.core.ExecutionInfo |
getExecutionInfo() |
boolean |
isExhausted() |
boolean |
isFullyFetched() |
ResultSet |
one(Handler<AsyncResult<com.datastax.driver.core.Row>> handler)
The method should not be used concurrently with others like
several(int, Handler) or all(Handler) . |
ResultSet |
several(int amount,
Handler<AsyncResult<List<com.datastax.driver.core.Row>>> handler)
Fetch a specific amount of rows and notify via a handler.
|
boolean |
wasApplied() |
boolean isExhausted()
PagingIterable.isExhausted()
boolean isFullyFetched()
PagingIterable.isFullyFetched()
int getAvailableWithoutFetching()
PagingIterable.getAvailableWithoutFetching()
ResultSet fetchMoreResults(Handler<AsyncResult<Void>> handler)
handler
- handler called when result is fetchedPagingIterable.fetchMoreResults()
ResultSet one(Handler<AsyncResult<com.datastax.driver.core.Row>> handler)
several(int, Handler)
or all(Handler)
.
This may lead to unexpected result.handler
- handler called when one row is fetchedResultSet.one()
ResultSet several(int amount, Handler<AsyncResult<List<com.datastax.driver.core.Row>>> handler)
If remaining amount of rows in a result set is less than desired amount of rows to fetch,
the handler
will be called with a successful result encompassing just the remaining rows.
The method should not be used concurrently with others like one(Handler)
or all(Handler)
.
This may lead to unexpected result.
handler
- the handleramount
- the amountResultSet all(Handler<AsyncResult<List<com.datastax.driver.core.Row>>> handler)
several(int, Handler)
or one(Handler)
.
This may lead to unexpected result.handler
- handler called when all the rows is fetchedPagingIterable.all()
com.datastax.driver.core.ColumnDefinitions getColumnDefinitions()
ResultSet.getColumnDefinitions()
boolean wasApplied()
ResultSet.wasApplied()
com.datastax.driver.core.ExecutionInfo getExecutionInfo()
PagingIterable.getExecutionInfo()
List<com.datastax.driver.core.ExecutionInfo> getAllExecutionInfo()
PagingIterable.getExecutionInfo()
Copyright © 2023 Eclipse. All rights reserved.