Package | Description |
---|---|
com.amazonaws.services.dynamodbv2.document | |
com.amazonaws.services.dynamodbv2.model |
Classes modeling the various types represented by AmazonDynamoDBv2.
|
Modifier and Type | Method and Description |
---|---|
TableDescription |
Index.deleteGSI()
Deletes this global secondary index (GSI) from the DynamoDB table.
|
TableDescription |
Table.describe()
Retrieves the table description from DynamoDB.
|
TableDescription |
Table.getDescription()
Returns the table description; or null if the table description has not
yet been described via
Table.describe() . |
TableDescription |
Index.updateGSI(ProvisionedThroughput provisionedThroughput)
Updates the provisioned throughput for this global secondary index (GSI).
|
TableDescription |
Table.updateTable(ProvisionedThroughput provisionedThroughput)
Updates the provisioned throughput for this table.
|
TableDescription |
Table.updateTable(UpdateTableSpec spec)
Updates the provisioned throughput for this table.
|
TableDescription |
Table.waitForActive()
A convenient blocking call that can be used, typically during table
creation, to wait for the table to become active by polling the table
every 5 seconds.
|
TableDescription |
Index.waitForActive()
A convenient blocking call that can be used, typically during index
creation, to wait for the index to become active by polling the table
every 5 seconds.
|
TableDescription |
Table.waitForActiveOrDelete()
A convenient blocking call that can be used to wait on a table until it
has either become active or deleted (ie no longer exists) by polling the
table every 5 seconds.
|
TableDescription |
Index.waitForActiveOrDelete()
A convenient blocking call that can be used to wait on an index until it
has either become active or deleted (ie no longer exists) by polling the
table every 5 seconds.
|
TableDescription |
Table.waitForAllActiveOrDelete()
A convenient blocking call that can be used to wait on a table and all
it's indexes until both the table and it's indexes have either become
active or deleted (ie no longer exists) by polling the table every 5
seconds.
|
TableDescription |
Index.waitForDelete()
A convenient blocking call that can be used, typically during index
deletion on an active table, to wait for the index to become deleted by
polling the table every 5 seconds.
|
Constructor and Description |
---|
Table(AmazonDynamoDB client,
String tableName,
TableDescription tableDescription) |
Modifier and Type | Method and Description |
---|---|
TableDescription |
DescribeTableResult.getTable()
Represents the properties of a table.
|
TableDescription |
DeleteTableResult.getTableDescription()
Represents the properties of a table.
|
TableDescription |
UpdateTableResult.getTableDescription()
Represents the properties of a table.
|
TableDescription |
CreateTableResult.getTableDescription()
Represents the properties of a table.
|
TableDescription |
TableDescription.withAttributeDefinitions(AttributeDefinition... attributeDefinitions)
An array of AttributeDefinition objects.
|
TableDescription |
TableDescription.withAttributeDefinitions(Collection<AttributeDefinition> attributeDefinitions)
An array of AttributeDefinition objects.
|
TableDescription |
TableDescription.withCreationDateTime(Date creationDateTime)
The date and time when the table was created, in UNIX epoch time format.
|
TableDescription |
TableDescription.withGlobalSecondaryIndexes(Collection<GlobalSecondaryIndexDescription> globalSecondaryIndexes)
The global secondary indexes, if any, on the table.
|
TableDescription |
TableDescription.withGlobalSecondaryIndexes(GlobalSecondaryIndexDescription... globalSecondaryIndexes)
The global secondary indexes, if any, on the table.
|
TableDescription |
TableDescription.withItemCount(Long itemCount)
The number of items in the specified table.
|
TableDescription |
TableDescription.withKeySchema(Collection<KeySchemaElement> keySchema)
The primary key structure for the table.
|
TableDescription |
TableDescription.withKeySchema(KeySchemaElement... keySchema)
The primary key structure for the table.
|
TableDescription |
TableDescription.withLocalSecondaryIndexes(Collection<LocalSecondaryIndexDescription> localSecondaryIndexes)
Represents one or more local secondary indexes on the table.
|
TableDescription |
TableDescription.withLocalSecondaryIndexes(LocalSecondaryIndexDescription... localSecondaryIndexes)
Represents one or more local secondary indexes on the table.
|
TableDescription |
TableDescription.withProvisionedThroughput(ProvisionedThroughputDescription provisionedThroughput)
The provisioned throughput settings for the table, consisting of read
and write capacity units, along with data about increases and
decreases.
|
TableDescription |
TableDescription.withTableName(String tableName)
The name of the table.
|
TableDescription |
TableDescription.withTableSizeBytes(Long tableSizeBytes)
The total size of the specified table, in bytes.
|
TableDescription |
TableDescription.withTableStatus(String tableStatus)
The current state of the table:
|
TableDescription |
TableDescription.withTableStatus(TableStatus tableStatus)
The current state of the table:
|
Modifier and Type | Method and Description |
---|---|
void |
DescribeTableResult.setTable(TableDescription table)
Represents the properties of a table.
|
void |
DeleteTableResult.setTableDescription(TableDescription tableDescription)
Represents the properties of a table.
|
void |
UpdateTableResult.setTableDescription(TableDescription tableDescription)
Represents the properties of a table.
|
void |
CreateTableResult.setTableDescription(TableDescription tableDescription)
Represents the properties of a table.
|
DescribeTableResult |
DescribeTableResult.withTable(TableDescription table)
Represents the properties of a table.
|
DeleteTableResult |
DeleteTableResult.withTableDescription(TableDescription tableDescription)
Represents the properties of a table.
|
UpdateTableResult |
UpdateTableResult.withTableDescription(TableDescription tableDescription)
Represents the properties of a table.
|
CreateTableResult |
CreateTableResult.withTableDescription(TableDescription tableDescription)
Represents the properties of a table.
|
Copyright © 2015. All rights reserved.