Class AbstractSpecWithPrimaryKey<T extends AmazonWebServiceRequest>
java.lang.Object
com.amazonaws.services.dynamodbv2.document.spec.AbstractSpecWithPrimaryKey<T>
- Direct Known Subclasses:
DeleteItemSpec
,GetItemSpec
,UpdateItemSpec
Common base class for parameter specification that involves a primary key.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Collection
<KeyAttribute> Returns the primary key components that has been specified.Internal method.void
setProgressListener
(ProgressListener progressListener) void
setRequestMetricCollector
(RequestMetricCollector requestMetricCollector) withPrimaryKey
(KeyAttribute... components) Sets the primary key with the specified key components.withPrimaryKey
(PrimaryKey primaryKey) Sets the primary key.withPrimaryKey
(String hashKeyName, Object hashKeyValue) Sets the primary key with the specified hash-only key name and value.withPrimaryKey
(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue) Sets the primary key with the specified hash key and range key.com.amazonaws.services.dynamodbv2.document.spec.AbstractSpec
<T> withProgressListener
(ProgressListener progressListener) com.amazonaws.services.dynamodbv2.document.spec.AbstractSpec
<T> withRequestMetricCollector
(RequestMetricCollector requestMetricCollector)
-
Constructor Details
-
AbstractSpecWithPrimaryKey
-
-
Method Details
-
getKeyComponents
Returns the primary key components that has been specified. -
withPrimaryKey
Sets the primary key with the specified key components. -
withPrimaryKey
Sets the primary key. -
withPrimaryKey
Sets the primary key with the specified hash-only key name and value. -
withPrimaryKey
public AbstractSpecWithPrimaryKey<T> withPrimaryKey(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue) Sets the primary key with the specified hash key and range key. -
getRequest
Internal method. Not meant to be called directly. May change without notice. -
getProgressListener
-
setProgressListener
-
getRequestMetricCollector
-
setRequestMetricCollector
-
withProgressListener
public com.amazonaws.services.dynamodbv2.document.spec.AbstractSpec<T> withProgressListener(ProgressListener progressListener) -
withRequestMetricCollector
public com.amazonaws.services.dynamodbv2.document.spec.AbstractSpec<T> withRequestMetricCollector(RequestMetricCollector requestMetricCollector)
-