Package io.vertx.rxjava.cassandra
Class ResultSet
- java.lang.Object
-
- io.vertx.rxjava.cassandra.ResultSet
-
public class ResultSet extends Object
It is likeAsyncResultSet
, but adapted for Vert.x. NOTE: This class has been automatically generated from theoriginal
non RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<ResultSet>
__TYPE_ARG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultSet
all()
The method should not be used concurrently with others likefetchNextPage(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.cassandra.ResultSet>>)
or .ResultSet
all(io.vertx.core.Handler<io.vertx.core.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.rxjava.cassandra.ResultSet>>)
or .Iterable<com.datastax.oss.driver.api.core.cql.Row>
currentPage()
boolean
equals(Object o)
void
fetchNextPage()
LikefetchNextPage(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.cassandra.ResultSet>>)
but with a direct callback.void
fetchNextPage(io.vertx.core.Handler<io.vertx.core.AsyncResult<ResultSet>> handler)
LikefetchNextPage(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.cassandra.ResultSet>>)
but with a direct callback.com.datastax.oss.driver.api.core.cql.ColumnDefinitions
getColumnDefinitions()
io.vertx.cassandra.ResultSet
getDelegate()
com.datastax.oss.driver.api.core.cql.ExecutionInfo
getExecutionInfo()
int
hashCode()
boolean
hasMorePages()
static ResultSet
newInstance(io.vertx.cassandra.ResultSet arg)
com.datastax.oss.driver.api.core.cql.Row
one()
int
remaining()
rx.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.rxjava.cassandra.ResultSet>>)
or .rx.Single<ResultSet>
rxFetchNextPage()
LikefetchNextPage(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.cassandra.ResultSet>>)
but with a direct callback.String
toString()
boolean
wasApplied()
-
-
-
Constructor Detail
-
ResultSet
public ResultSet(io.vertx.cassandra.ResultSet delegate)
-
ResultSet
public ResultSet(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.cassandra.ResultSet getDelegate()
-
remaining
public int remaining()
- Returns:
-
hasMorePages
public boolean hasMorePages()
- Returns:
-
fetchNextPage
public void fetchNextPage(io.vertx.core.Handler<io.vertx.core.AsyncResult<ResultSet>> handler)
LikefetchNextPage(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.cassandra.ResultSet>>)
but with a direct callback.- Parameters:
handler
-
-
fetchNextPage
public void fetchNextPage()
LikefetchNextPage(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.cassandra.ResultSet>>)
but with a direct callback.
-
rxFetchNextPage
public rx.Single<ResultSet> rxFetchNextPage()
LikefetchNextPage(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.cassandra.ResultSet>>)
but with a direct callback.- Returns:
-
wasApplied
public boolean wasApplied()
- Returns:
-
all
public ResultSet all(io.vertx.core.Handler<io.vertx.core.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.rxjava.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.rxjava.cassandra.ResultSet>>)
or . This may lead to unexpected result.- Returns:
-
rxAll
public rx.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.rxjava.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:
-
newInstance
public static ResultSet newInstance(io.vertx.cassandra.ResultSet arg)
-
-