Class TableUsageResult

java.lang.Object
oracle.nosql.driver.ops.Result
oracle.nosql.driver.ops.TableUsageResult

public class TableUsageResult extends Result
Cloud service only.

GetTableUsageResult is returned from NoSQLHandle.getTableUsage(oracle.nosql.driver.ops.TableUsageRequest). It encapsulates the dynamic state of the requested table.

See Also:
  • Constructor Details

    • TableUsageResult

      public TableUsageResult()
  • Method Details

    • getTableName

      public String getTableName()
      Returns the table name used by the operation
      Returns:
      the table name
    • getUsageRecords

      public TableUsageResult.TableUsage[] getUsageRecords()
      Returns an array of usage records based on the parameters of the TableUsageRequest used.
      Returns:
      an arry of usage records
    • getLastReturnedIndex

      public int getLastReturnedIndex()
      Returns the index of the last usage record returned. This can be provided to TableUsageRequest to be used as a starting point for listing usage records.
      Returns:
      the index
      Since:
      5.4
    • toString

      public String toString()
      Overrides:
      toString in class Object