You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should have the ability to consume results with the cursor API as follows:
cassandraClient.cursor(statement, cursor -> {
if(cursor.succeeded(){
cursor.read(50/* how many rows we'd like to read*/, rows ->{
if(rows.succeeded()) {
List<Row> list = rows.result; // here the list of rows is stored
}
});
}
});
The text was updated successfully, but these errors were encountered:
@Sammers21 I like the idea, although I wouldn't create a new Cursor object, since we already have ResultSet which could be enhanced to get a specific number of rows. Do you think this could be contributed to 3.7 ?
We should have the ability to consume results with the cursor API as follows:
The text was updated successfully, but these errors were encountered: