public interface ReactiveRow extends Row
This is essentially an extension of the driver's Row object that also exposes useful
information about request execution and query metadata (note however that this information is also exposed at
result set level for convenience).
ReactiveSession,
ReactiveResultSet| Modifier and Type | Method and Description |
|---|---|
ColumnDefinitions |
getColumnDefinitions()
Returns the column definitions contained in this row.
|
ExecutionInfo |
getExecutionInfo()
The execution information for the paged request that produced this result.
|
default boolean |
wasApplied()
If the query that produced this result was a conditional update, indicates whether it was
successfully applied.
|
getFormattedContents, toStringget, get, get, getBigDecimal, getBigInteger, getBool, getBoolean, getByte, getByteBuffer, getBytesUnsafe, getCqlDuration, getDouble, getFloat, getInetAddress, getInstant, getInt, getList, getLocalDate, getLocalTime, getLong, getMap, getObject, getSet, getShort, getString, getToken, getTupleValue, getUdtValue, getUuid, isNullallIndicesOf, firstIndexOf, getTypeget, get, get, getBigDecimal, getBigInteger, getBool, getBoolean, getByte, getByteBuffer, getBytesUnsafe, getCqlDuration, getDouble, getFloat, getInetAddress, getInstant, getInt, getList, getLocalDate, getLocalTime, getLong, getMap, getObject, getSet, getShort, getString, getToken, getTupleValue, getUdtValue, getUuid, isNullget, get, get, getBigDecimal, getBigInteger, getBool, getBoolean, getByte, getByteBuffer, getBytesUnsafe, getCqlDuration, getDouble, getFloat, getInetAddress, getInstant, getInt, getList, getLocalDate, getLocalTime, getLong, getMap, getObject, getSet, getShort, getString, getToken, getTupleValue, getUdtValue, getUuid, isNullallIndicesOf, firstIndexOf, getTypegetType, sizecodecRegistry, protocolVersionattach, isDetached@NonNull ColumnDefinitions getColumnDefinitions()
This object is the same for all rows pertaining to the same result set.
getColumnDefinitions in interface RowReactiveQueryMetadata.getColumnDefinitions()@NonNull ExecutionInfo getExecutionInfo()
This object is the same for two rows pertaining to the same page, but differs for rows pertaining to different pages.
ReactiveQueryMetadata.getExecutionInfos()default boolean wasApplied()
This is equivalent to calling:
ReactiveRow row = ...
boolean wasApplied = row.getBoolean("[applied]");
For consistency, this method always returns true for non-conditional queries
(although there is no reason to call the method in that case). This is also the case for
conditional DDL statements (CREATE KEYSPACE... IF NOT EXISTS, CREATE TABLE... IF
NOT EXISTS), for which Cassandra doesn't return an [applied] column.
Note that, for versions of Cassandra strictly lower than 2.1.0-rc2, a server-side bug (CASSANDRA-7337) causes this
method to always return true for batches containing conditional queries.
This method always return the same value for all results in the result set.
true for non-conditional queries and for conditional queries that were
successfully applied, false otherwise.Copyright © 2017–2025. All rights reserved.