Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<ResultSet> |
__TYPE_ARG |
Constructor and Description |
---|
ResultSet(Object delegate) |
ResultSet(ResultSet delegate) |
public static final io.vertx.lang.rx.TypeArg<ResultSet> __TYPE_ARG
public ResultSet(ResultSet delegate)
public ResultSet(Object delegate)
public ResultSet getDelegate()
public boolean isExhausted()
public boolean isFullyFetched()
public int getAvailableWithoutFetching()
public ResultSet fetchMoreResults(Handler<AsyncResult<Void>> handler)
handler
- handler called when result is fetchedpublic Completable rxFetchMoreResults()
public boolean wasApplied()
public ResultSet one(Handler<AsyncResult<com.datastax.driver.core.Row>> handler)
several(int, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<com.datastax.driver.core.Row>>>)
or all(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<com.datastax.driver.core.Row>>>)
.
This may lead to unexpected result.handler
- handler called when one row is fetchedpublic Maybe<com.datastax.driver.core.Row> rxOne()
several(int, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<com.datastax.driver.core.Row>>>)
or all(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<com.datastax.driver.core.Row>>>)
.
This may lead to unexpected result.public 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(io.vertx.core.Handler<io.vertx.core.AsyncResult<com.datastax.driver.core.Row>>)
or all(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<com.datastax.driver.core.Row>>>)
.
This may lead to unexpected result.
amount
- the amounthandler
- the handlerpublic Single<List<com.datastax.driver.core.Row>> rxSeveral(int amount)
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(io.vertx.core.Handler<io.vertx.core.AsyncResult<com.datastax.driver.core.Row>>)
or all(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<com.datastax.driver.core.Row>>>)
.
This may lead to unexpected result.
amount
- the amountpublic ResultSet all(Handler<AsyncResult<List<com.datastax.driver.core.Row>>> handler)
several(int, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<com.datastax.driver.core.Row>>>)
or one(io.vertx.core.Handler<io.vertx.core.AsyncResult<com.datastax.driver.core.Row>>)
.
This may lead to unexpected result.handler
- handler called when all the rows is fetchedpublic Single<List<com.datastax.driver.core.Row>> rxAll()
several(int, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<com.datastax.driver.core.Row>>>)
or one(io.vertx.core.Handler<io.vertx.core.AsyncResult<com.datastax.driver.core.Row>>)
.
This may lead to unexpected result.public com.datastax.driver.core.ColumnDefinitions getColumnDefinitions()
public com.datastax.driver.core.ExecutionInfo getExecutionInfo()
public List<com.datastax.driver.core.ExecutionInfo> getAllExecutionInfo()
Copyright © 2023 Eclipse. All rights reserved.