public interface ResultSet
AsyncResultSet, but adapted for Vert.x.| Modifier and Type | Method and Description |
|---|---|
Future<List<com.datastax.oss.driver.api.core.cql.Row>> |
all()
Like
all(Handler) but returns a Future of the asynchronous result. |
ResultSet |
all(Handler<AsyncResult<List<com.datastax.oss.driver.api.core.cql.Row>>> handler)
The method should not be used concurrently with others like
fetchNextPage() or #one(Handler). |
Iterable<com.datastax.oss.driver.api.core.cql.Row> |
currentPage() |
Future<ResultSet> |
fetchNextPage() |
void |
fetchNextPage(Handler<AsyncResult<ResultSet>> handler)
Like
fetchNextPage() but with a direct callback. |
com.datastax.oss.driver.api.core.cql.ColumnDefinitions |
getColumnDefinitions() |
com.datastax.oss.driver.api.core.cql.ExecutionInfo |
getExecutionInfo() |
boolean |
hasMorePages() |
com.datastax.oss.driver.api.core.cql.Row |
one() |
int |
remaining() |
boolean |
wasApplied() |
Future<List<com.datastax.oss.driver.api.core.cql.Row>> all()
all(Handler) but returns a Future of the asynchronous result.ResultSet all(Handler<AsyncResult<List<com.datastax.oss.driver.api.core.cql.Row>>> handler)
fetchNextPage() or #one(Handler).
This may lead to unexpected result.handler - handler called when all the rows is fetchedcom.datastax.oss.driver.api.core.cql.ColumnDefinitions getColumnDefinitions()
AsyncPagingIterable.getColumnDefinitions()com.datastax.oss.driver.api.core.cql.ExecutionInfo getExecutionInfo()
AsyncPagingIterable.getExecutionInfo()int remaining()
AsyncPagingIterable.remaining()Iterable<com.datastax.oss.driver.api.core.cql.Row> currentPage()
AsyncPagingIterable.currentPage()com.datastax.oss.driver.api.core.cql.Row one()
AsyncPagingIterable.one()boolean hasMorePages()
AsyncPagingIterable.hasMorePages()void fetchNextPage(Handler<AsyncResult<ResultSet>> handler)
fetchNextPage() but with a direct callback.Future<ResultSet> fetchNextPage() throws IllegalStateException
IllegalStateExceptionAsyncResultSet.wasApplied()boolean wasApplied()
AsyncResultSet.wasApplied()Copyright © 2022 Eclipse. All rights reserved.