Package oracle.nosql.driver.ops

## 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:
    `NoSQLHandle.listTables(oracle.nosql.driver.ops.ListTablesRequest)`

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ListTablesResult()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getLastReturnedIndex()` | Returns the index of the last table name returned.
    `String[]` | `getTables()` | Returns the array of table names returned by the operation.
    `String` | `toString()` |

    - ### Methods inherited from class oracle.nosql.driver.ops.Result

      `getRateLimitDelayedMs, getRetryStats`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ListTablesResult

          public ListTablesResult()

  - ### Method Detail

    - #### 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`