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 aNoSQLHandle.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.
-
-
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
-
-
-
-
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 toListTablesRequest
to be used as a starting point for listing tables.- Returns:
- the index
-
-