PrepareResult

class borneo.PrepareResult[source]

Bases: borneo.operations.Result

The result of a prepare operation. The returned PreparedStatement can be re-used for query execution using QueryRequest.set_prepared_statement()

Methods Summary

get_prepared_statement() Returns the value of the prepared statement.
get_read_kb() Returns the read throughput consumed by this operation, in KBytes.
get_read_units() Returns the read throughput consumed by this operation, in read units.
get_write_kb() Returns the write throughput consumed by this operation, in KBytes.
get_write_units() 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:PreparedStatement
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
get_write_kb()[source]

Returns the write throughput consumed by this operation, in KBytes.

Returns:the write KBytes consumed.
Return type:int
get_write_units()[source]

Returns the write throughput consumed by this operation, in write units.

Returns:the write units consumed.
Return type:int