public class ListTablesImpl extends Object implements ListTablesApi
ListTablesApi
.Constructor and Description |
---|
ListTablesImpl(AmazonDynamoDB client) |
Modifier and Type | Method and Description |
---|---|
TableCollection<ListTablesResult> |
listTables()
Returns a collection of all the tables (initialized with the respective
table names) associated with the current account and endpoint.
|
TableCollection<ListTablesResult> |
listTables(int maxResultSize)
Returns a collection of tables (initialized with the respective table
names) up to the specified
maxResultSize associated with
the current account and endpoint. |
TableCollection<ListTablesResult> |
listTables(ListTablesSpec spec)
List tables by specifying all the details.
|
TableCollection<ListTablesResult> |
listTables(String exclusiveStartTableName)
Returns a collection of tables (initialized with the respective table
names) associated with the current account and endpoint, starting with a
name after the specified
exclusiveStartTableName . |
TableCollection<ListTablesResult> |
listTables(String exclusiveStartTableName,
int maxResultSize)
Returns a collection of tables (initialized with the respective table
names) up to the specified
maxResultSize associated with
the current account and endpoint, starting with a name after the
specified exclusiveStartTableName . |
public ListTablesImpl(AmazonDynamoDB client)
public TableCollection<ListTablesResult> listTables(ListTablesSpec spec)
ListTablesApi
listTables
in interface ListTablesApi
spec
- can be used to specify all the detailed parameters of listing
tables.public TableCollection<ListTablesResult> listTables()
ListTablesApi
listTables
in interface ListTablesApi
public TableCollection<ListTablesResult> listTables(String exclusiveStartTableName)
ListTablesApi
exclusiveStartTableName
. The
underlying collection is paginated with a page size of 100. A network
call is made whenever the collection is iterated across a page boundary.listTables
in interface ListTablesApi
exclusiveStartTableName
- The first table name that this operation will evaluate,
exclusive of the specified
exclusiveStartTableName
. Use the value that was
returned for LastEvaluatedTableName in a previous
operation, so that you can obtain the next page of results.public TableCollection<ListTablesResult> listTables(String exclusiveStartTableName, int maxResultSize)
ListTablesApi
maxResultSize
associated with
the current account and endpoint, starting with a name after the
specified exclusiveStartTableName
. The underlying collection
is paginated with a page size of 100. A network call is made whenever the
collection is iterated across a page boundary.listTables
in interface ListTablesApi
exclusiveStartTableName
- The first table name that this operation will evaluate
exclusive of the specified
exclusiveStartTableName
. Use the value that was
returned for LastEvaluatedTableName in a previous
operation, so that you can obtain the next page of results.maxResultSize
- A maximum number of table names to return.public TableCollection<ListTablesResult> listTables(int maxResultSize)
ListTablesApi
maxResultSize
associated with
the current account and endpoint. The underlying collection
is paginated with a page size of 100. A network call is made whenever the
collection is iterated across a page boundary.listTables
in interface ListTablesApi
maxResultSize
- A maximum number of table names to return.Copyright © 2018. All rights reserved.