Package oracle.nosql.driver.ops
Class PrepareResult
java.lang.Object
oracle.nosql.driver.ops.Result
oracle.nosql.driver.ops.PrepareResult
The result of a prepare operation. The returned
 
PreparedStatement can be re-used for query execution using
 QueryRequest.setPreparedStatement(oracle.nosql.driver.ops.PreparedStatement).- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of the prepared statementintReturns the read throughput consumed by this operation, in KBytes.intReturns the read throughput consumed by this operation, in read units.intReturns the write throughput consumed by this operation, in KBytes.intReturns the write throughput consumed by this operation, in write units.Methods inherited from class oracle.nosql.driver.ops.ResultgetRateLimitDelayedMs, getRetryStats
- 
Constructor Details- 
PrepareResultpublic PrepareResult()Default constructor for PrepareResult
 
- 
- 
Method Details- 
getPreparedStatementReturns the value of the prepared statement- Returns:
- the prepared statement
 
- 
getReadKBpublic int getReadKB()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 bygetReadUnits()which may be a larger number if the operation usedConsistency.ABSOLUTE- Returns:
- the read KBytes consumed
 
- 
getWriteKBpublic int getWriteKB()Returns the write throughput consumed by this operation, in KBytes.- Returns:
- the write KBytes consumed
 
- 
getReadUnitspublic int getReadUnits()Returns the read throughput consumed by this operation, in read units. This number may be larger than that returned bygetReadKB()if the operation usedConsistency.ABSOLUTE- Returns:
- the read units consumed
 
- 
getWriteUnitspublic int getWriteUnits()Returns the write throughput consumed by this operation, in write units.- Returns:
- the write units consumed
 
 
-