Package io.vertx.reactivex.cassandra
Class ResultSet
- java.lang.Object
-
- io.vertx.reactivex.cassandra.ResultSet
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<ResultSet>
__TYPE_ARG
-
Method Summary
-
-
-
Method Detail
-
getDelegate
public ResultSet getDelegate()
-
remaining
public int remaining()
- Returns:
-
hasMorePages
public boolean hasMorePages()
- Returns:
-
fetchNextPage
public void fetchNextPage(Handler<AsyncResult<ResultSet>> handler)
LikefetchNextPage(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.cassandra.ResultSet>>)
but with a direct callback.- Parameters:
handler
-
-
fetchNextPage
public void fetchNextPage()
LikefetchNextPage(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.cassandra.ResultSet>>)
but with a direct callback.
-
rxFetchNextPage
public io.reactivex.Single<ResultSet> rxFetchNextPage()
LikefetchNextPage(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.cassandra.ResultSet>>)
but with a direct callback.- Returns:
-
wasApplied
public boolean wasApplied()
- Returns:
-
all
public ResultSet all(Handler<AsyncResult<List<com.datastax.oss.driver.api.core.cql.Row>>> handler)
The method should not be used concurrently with others likefetchNextPage(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.cassandra.ResultSet>>)
or . This may lead to unexpected result.- Parameters:
handler
- handler called when all the rows is fetched- Returns:
-
all
public ResultSet all()
The method should not be used concurrently with others likefetchNextPage(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.cassandra.ResultSet>>)
or . This may lead to unexpected result.- Returns:
-
rxAll
public io.reactivex.Single<List<com.datastax.oss.driver.api.core.cql.Row>> rxAll()
The method should not be used concurrently with others likefetchNextPage(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.cassandra.ResultSet>>)
or . This may lead to unexpected result.- Returns:
-
getColumnDefinitions
public com.datastax.oss.driver.api.core.cql.ColumnDefinitions getColumnDefinitions()
- Returns:
-
getExecutionInfo
public com.datastax.oss.driver.api.core.cql.ExecutionInfo getExecutionInfo()
- Returns:
-
currentPage
public Iterable<com.datastax.oss.driver.api.core.cql.Row> currentPage()
- Returns:
-
one
public com.datastax.oss.driver.api.core.cql.Row one()
- Returns:
-
-