PrepareResult¶
- class borneo.PrepareResult[source]¶
Bases:
Result
The result of a prepare operation. The returned
PreparedStatement
can be re-used for query execution usingQueryRequest.set_prepared_statement()
Methods Summary
Returns the value of the prepared statement.
Returns the read throughput consumed by this operation, in KBytes.
Returns the read throughput consumed by this operation, in read units.
Returns the write throughput consumed by this operation, in KBytes.
Returns the write throughput consumed by this operation, in write units.
Methods Documentation
- get_prepared_statement()[source]¶
Returns the value of the prepared statement.
- Returns:
the value of the prepared statement.
- Return type:
- get_read_kb()[source]¶
Returns the read throughput consumed by this operation, in KBytes. This is the actual amount of data read by the operation. The number of read units consumed is returned by
get_read_units()
which may be a larger number if the operation used Consistency.ABSOLUTE.- Returns:
the read KBytes consumed.
- Return type:
int
- get_read_units()[source]¶
Returns the read throughput consumed by this operation, in read units. This number may be larger than that returned by
get_read_kb()
if the operation used Consistency.ABSOLUTE.- Returns:
the read units consumed.
- Return type:
int