public class ResultSet extends Object
ResultSet
, but adapted for Vert.x.
NOTE: This class has been automatically generated from the original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<ResultSet> |
__TYPE_ARG |
Constructor and Description |
---|
ResultSet(Object delegate) |
ResultSet(io.vertx.cassandra.ResultSet delegate) |
Modifier and Type | Method and Description |
---|---|
ResultSet |
all(io.vertx.core.Handler<io.vertx.core.AsyncResult<List<com.datastax.driver.core.Row>>> handler)
The method should not be used concurrently with others like
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>>) . |
boolean |
equals(Object o) |
ResultSet |
fetchMoreResults(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) |
List<com.datastax.driver.core.ExecutionInfo> |
getAllExecutionInfo() |
int |
getAvailableWithoutFetching() |
com.datastax.driver.core.ColumnDefinitions |
getColumnDefinitions() |
io.vertx.cassandra.ResultSet |
getDelegate() |
com.datastax.driver.core.ExecutionInfo |
getExecutionInfo() |
int |
hashCode() |
boolean |
isExhausted() |
boolean |
isFullyFetched() |
static ResultSet |
newInstance(io.vertx.cassandra.ResultSet arg) |
ResultSet |
one(io.vertx.core.Handler<io.vertx.core.AsyncResult<com.datastax.driver.core.Row>> handler)
The method should not be used concurrently with others like
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>>>) . |
rx.Single<List<com.datastax.driver.core.Row>> |
rxAll()
The method should not be used concurrently with others like
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>>) . |
rx.Single<Void> |
rxFetchMoreResults() |
rx.Single<com.datastax.driver.core.Row> |
rxOne()
The method should not be used concurrently with others like
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>>>) . |
rx.Single<List<com.datastax.driver.core.Row>> |
rxSeveral(int amount)
Fetch a specific amount of rows and notify via a handler.
|
ResultSet |
several(int amount,
io.vertx.core.Handler<io.vertx.core.AsyncResult<List<com.datastax.driver.core.Row>>> handler)
Fetch a specific amount of rows and notify via a handler.
|
String |
toString() |
boolean |
wasApplied() |
public ResultSet(io.vertx.cassandra.ResultSet delegate)
public ResultSet(Object delegate)
public io.vertx.cassandra.ResultSet getDelegate()
public boolean isExhausted()
public boolean isFullyFetched()
public int getAvailableWithoutFetching()
public ResultSet fetchMoreResults(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
handler
- handler called when result is fetchedpublic rx.Single<Void> rxFetchMoreResults()
public boolean wasApplied()
public ResultSet one(io.vertx.core.Handler<io.vertx.core.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 rx.Single<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, io.vertx.core.Handler<io.vertx.core.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 rx.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(io.vertx.core.Handler<io.vertx.core.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 rx.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()
public static ResultSet newInstance(io.vertx.cassandra.ResultSet arg)
Copyright © 2022 Eclipse. All rights reserved.