Table Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

Inheritance Hierarchy

System.Object
  Amazon.DynamoDBv2.DocumentModel.Table

Namespace: Amazon.DynamoDBv2.DocumentModel
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class Table : Object

The Table type exposes the following members

Properties

  Name Description
Public Property Attributes List of key attributes on the table.
Public Property HashKeys List of keys on the table marked HASH
Public Property Keys Keys of the table.
Public Property LocalSecondaryIndexes Local secondary indexes of the table.
Public Property LocalSecondaryIndexNames Names of the local secondary indexes of the table.
Public Property RangeKeys List of keys on the table marked RANGE
Public Property TableName Name of the table.

Methods

  Name Description
Public Method CreateBatchGet() Creates a DocumentBatchGet object for the current table, allowing a batch-get operation against DynamoDB.
Public Method CreateBatchWrite() Creates a DocumentBatchWrite object for the current table, allowing a batch-put/delete operation against DynamoDB.
Public Method DeleteItem(Document, DeleteItemOperationConfig) Delete a document in DynamoDB, using specified configs.
Public Method DeleteItem(Primitive, Primitive, DeleteItemOperationConfig) Delete a document in DynamoDB, identified by hash-and-range primary key, using the specified configs.
Public Method DeleteItem(IDictionary`2, DeleteItemOperationConfig)
Public Method DeleteItemAsync(Document, DeleteItemOperationConfig, CancellationToken) Initiates the asynchronous execution of the DeleteItem operation.
Public Method DeleteItemAsync(Primitive, Primitive, DeleteItemOperationConfig, CancellationToken) Initiates the asynchronous execution of the DeleteItem operation.
Public Method DeleteItemAsync(IDictionary`2, DeleteItemOperationConfig, CancellationToken)
Public Method GetItem(Primitive, Primitive, GetItemOperationConfig) Gets a document from DynamoDB by hash-and-range primary key, using specified configs.
Public Method GetItem(IDictionary`2, GetItemOperationConfig)
Public Method GetItemAsync(Primitive, Primitive, GetItemOperationConfig, CancellationToken) Initiates the asynchronous execution of the GetItem operation.
Public Method GetItemAsync(IDictionary`2, GetItemOperationConfig, CancellationToken)
Public Method Static Method LoadTable(IAmazonDynamoDB, string) Creates a Table object with the specified name, using the passed-in client to load the table definition. This method will throw an exception if the table does not exist.
Public Method PutItem(Document, PutItemOperationConfig) Puts a document into DynamoDB, using optional configs.
Public Method PutItemAsync(Document, PutItemOperationConfig, CancellationToken) Initiates the asynchronous execution of the PutItem operation.
Public Method Query(Primitive, QueryFilter) Initiates a Search object to Query a DynamoDB table, with the specified hash primary key and filter. No calls are made until the Search object is used.
Public Method Query(QueryFilter) Initiates a Search object to Query a DynamoDB table, with the specified filter. No calls are made until the Search object is used.
Public Method Query(QueryOperationConfig) Initiates a Search object to Query a DynamoDB table, with the specified config. No calls are made until the Search object is used.
Public Method Scan(ScanFilter) Initiates a Search object to Scan a DynamoDB table, with the specified filter. No calls are made until the Search object is used.
Public Method Scan(ScanOperationConfig) Initiates a Search object to Scan a DynamoDB table, with the specified config. No calls are made until the Search object is used.
Public Method Static Method TryLoadTable(IAmazonDynamoDB, string, Table&)
Public Method UpdateItem(Document, UpdateItemOperationConfig) Update a document in DynamoDB, using specified config.
Public Method UpdateItem(Document, IDictionary`2, UpdateItemOperationConfig)
Public Method UpdateItem(Document, Primitive, Primitive, UpdateItemOperationConfig) Update a document in DynamoDB, with a hash-and-range primary key to identify the document, and using the specified config.
Public Method UpdateItemAsync(Document, Primitive, Primitive, UpdateItemOperationConfig, CancellationToken) Initiates the asynchronous execution of the UpdateItem operation.
Public Method UpdateItemAsync(Document, IDictionary`2, UpdateItemOperationConfig, CancellationToken)

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8