Class ListTablesResult

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

public class ListTablesResult extends Result
Represents the result of a NoSQLHandle.listTables(oracle.nosql.driver.ops.ListTablesRequest) operation.

On a successful operation the table names are available as well as the index of the last returned table. Tables are returned in an array, sorted alphabetically.

See Also:
  • Constructor Details

    • ListTablesResult

      public ListTablesResult()
  • Method Details

    • getTables

      public String[] getTables()
      Returns the array of table names returned by the operation.
      Returns:
      the table names
    • getLastReturnedIndex

      public int getLastReturnedIndex()
      Returns the index of the last table name returned. This can be provided to ListTablesRequest to be used as a starting point for listing tables.
      Returns:
      the index
    • toString

      public String toString()
      Overrides:
      toString in class Object