public class QuerySpec extends Object
Constructor and Description |
---|
QuerySpec() |
public KeyAttribute getHashKey()
public QuerySpec withHashKey(KeyAttribute hashKey)
public RangeKeyCondition getRangeKeyCondition()
public QuerySpec withRangeKeyCondition(RangeKeyCondition rangeKeyCondition)
public QuerySpec withKeyConditionExpression(String keyConditionExpression)
withNameMap(Map)
and withValueMap(Map)
. (Note the hash key and range key
conditions must not be specified if a key condition expression has been
specified.)public String getKeyConditionExpression()
public QuerySpec withConditionalOperator(ConditionalOperator op)
public String getConditionalOperator()
public QuerySpec withConsistentRead(boolean consistentRead)
public boolean isConsistentRead()
public QuerySpec withQueryFilters(QueryFilter... queryFilters)
public Collection<QueryFilter> getQueryFilters()
public QuerySpec withFilterExpression(String filterExpression)
withNameMap(Map)
and
withValueMap(Map)
. (Note query filters must not be specified if
a filter expression has been specified.)public String getFilterExpression()
public QuerySpec withProjectionExpression(String projectionExpression)
withNameMap(Map)
and
withValueMap(Map)
. (Note attributes-to-get must not be specified
if a projection expression has been specified.)public String getProjectionExpression()
public QuerySpec withNameMap(Map<String,String> nameMap)
public QuerySpec withValueMap(Map<String,Object> valueMap)
public String getReturnConsumedCapacity()
public QuerySpec withReturnConsumedCapacity(ReturnConsumedCapacity returnConsumedCapacity)
public QuerySpec withScanIndexForward(boolean scanIndexForward)
public boolean isScanIndexForward()
public String getSelect()
public Collection<KeyAttribute> getExclusiveStartKey()
public QuerySpec withExclusiveStartKey(KeyAttribute... exclusiveStartKey)
public QuerySpec withExclusiveStartKey(PrimaryKey exclusiveStartKey)
public QuerySpec withExclusiveStartKey(String hashKeyName, Object hashKeyValue)
public QuerySpec withExclusiveStartKey(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue)
public QuerySpec withMaxResultSize(int maxResultSize)
public QuerySpec withMaxPageSize(int maxPageSize)
public QuerySpec withProgressListener(ProgressListener progressListener)
public QuerySpec withRequestMetricCollector(RequestMetricCollector requestMetricCollector)
@Beta public QuerySpec withExpressionSpec(QueryExpressionSpec xspec)
QueryExpressionSpec
.public Integer getMaxResultSize()
public void setMaxResultSize(Integer maxResultSize)
public void setMaxResultSize(int maxResultSize)
public Integer getMaxPageSize()
public void setMaxPageSize(Integer value)
public T getRequest()
public ProgressListener getProgressListener()
public void setProgressListener(ProgressListener progressListener)
public RequestMetricCollector getRequestMetricCollector()
public void setRequestMetricCollector(RequestMetricCollector requestMetricCollector)
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.