public class DynamoDBClient extends Object
| Constructor and Description |
|---|
DynamoDBClient() |
DynamoDBClient(org.apache.hadoop.conf.Configuration conf) |
DynamoDBClient(org.apache.hadoop.conf.Configuration conf,
String region) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
com.amazonaws.services.dynamodbv2.model.TableDescription |
describeTable(String tableName) |
Map<String,List<com.amazonaws.services.dynamodbv2.model.WriteRequest>> |
getWriteBatchMap() |
com.amazonaws.services.dynamodbv2.model.BatchWriteItemResult |
putBatch(String tableName,
Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> item,
long maxItemsPerBatch,
org.apache.hadoop.mapred.Reporter reporter,
boolean deletionMode) |
DynamoDBFibonacciRetryer.RetryResult<com.amazonaws.services.dynamodbv2.model.QueryResult> |
queryTable(String tableName,
DynamoDBQueryFilter dynamoDBQueryFilter,
Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> exclusiveStartKey,
long limit,
org.apache.hadoop.mapred.Reporter reporter) |
DynamoDBFibonacciRetryer.RetryResult<com.amazonaws.services.dynamodbv2.model.ScanResult> |
scanTable(String tableName,
DynamoDBQueryFilter dynamoDBQueryFilter,
Integer segment,
Integer totalSegments,
Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> exclusiveStartKey,
long limit,
org.apache.hadoop.mapred.Reporter reporter) |
public DynamoDBClient()
public DynamoDBClient(org.apache.hadoop.conf.Configuration conf)
public DynamoDBClient(org.apache.hadoop.conf.Configuration conf,
String region)
public final Map<String,List<com.amazonaws.services.dynamodbv2.model.WriteRequest>> getWriteBatchMap()
public com.amazonaws.services.dynamodbv2.model.TableDescription describeTable(String tableName)
public DynamoDBFibonacciRetryer.RetryResult<com.amazonaws.services.dynamodbv2.model.ScanResult> scanTable(String tableName, DynamoDBQueryFilter dynamoDBQueryFilter, Integer segment, Integer totalSegments, Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> exclusiveStartKey, long limit, org.apache.hadoop.mapred.Reporter reporter)
public DynamoDBFibonacciRetryer.RetryResult<com.amazonaws.services.dynamodbv2.model.QueryResult> queryTable(String tableName, DynamoDBQueryFilter dynamoDBQueryFilter, Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> exclusiveStartKey, long limit, org.apache.hadoop.mapred.Reporter reporter)
public com.amazonaws.services.dynamodbv2.model.BatchWriteItemResult putBatch(String tableName, Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> item, long maxItemsPerBatch, org.apache.hadoop.mapred.Reporter reporter, boolean deletionMode) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void close()
Copyright © 2019. All rights reserved.