Package oracle.nosql.driver.ops
Class TableUsageResult
java.lang.Object
oracle.nosql.driver.ops.Result
oracle.nosql.driver.ops.TableUsageResult
Cloud service only.
GetTableUsageResult is returned from NoSQLHandle.getTableUsage(oracle.nosql.driver.ops.TableUsageRequest)
.
It encapsulates the dynamic state of the requested table.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
TableUsage represents a single usage record, or slice, that includes information about read and write throughput consumed during that period as well as the current information regarding storage capacity. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the index of the last usage record returned.Returns the table name used by the operationReturns an array of usage records based on the parameters of theTableUsageRequest
used.toString()
Methods inherited from class oracle.nosql.driver.ops.Result
getRateLimitDelayedMs, getRetryStats
-
Constructor Details
-
TableUsageResult
public TableUsageResult()
-
-
Method Details
-
getTableName
Returns the table name used by the operation- Returns:
- the table name
-
getUsageRecords
Returns an array of usage records based on the parameters of theTableUsageRequest
used.- Returns:
- an arry of usage records
-
getLastReturnedIndex
public int getLastReturnedIndex()Returns the index of the last usage record returned. This can be provided toTableUsageRequest
to be used as a starting point for listing usage records.- Returns:
- the index
- Since:
- 5.4
-
toString
-