public class ScanSpec extends Object
Constructor | Description |
---|---|
ScanSpec() |
public Collection<ScanFilter> scanFilters()
ScanRequest.scanFilter()
public ScanSpec withScanFilters(ScanFilter... scanFilters)
ScanRequest#withScanFilter(Map)
public String getConditionalOperator()
ScanRequest#getConditionalOperator()
public ScanSpec withConditionalOperator(ConditionalOperator op)
ScanRequest#withConditionalOperator(ConditionalOperator)
public List<String> getAttributesToGet()
ScanRequest#getAttributesToGet()
public ScanSpec withAttributesToGet(String... attributes)
ScanRequest#withAttributesToGet(String...)
public String getFilterExpression()
withNameMap(Map)
and valueMap(Map)
.ScanRequest#getFilterExpression()
public ScanSpec withFilterExpression(String filterExpression)
ScanRequest#withFilterExpression(String)
public String getProjectionExpression()
ScanRequest#getProjectionExpression()
public ScanSpec withProjectionExpression(String projectionExpression)
ScanRequest#withProjectionExpression(String)
public ScanSpec withNameMap(Map<String,String> nameMap)
ScanRequest#withExpressionAttributeNames(Map)
public ScanSpec valueMap(Map<String,Object> valueMap)
ScanRequest#withExpressionAttributeValues(Map)
public String getReturnConsumedCapacity()
ScanRequest#getReturnConsumedCapacity()
public ScanSpec withReturnConsumedCapacity(ReturnConsumedCapacity capacity)
ScanRequest#withReturnConsumedCapacity(ReturnConsumedCapacity)
public String select()
ScanRequest.select()
public Integer segment()
ScanRequest.segment()
public ScanSpec withSegment(Integer segment)
ScanRequest#withSegment(Integer)
public Integer getTotalSegments()
ScanRequest#getTotalSegments()
public ScanSpec withTotalSegments(Integer totalSegments)
ScanRequest#withTotalSegments(Integer)
public Boolean isConsistentRead()
ScanRequest#isConsistentRead()
public ScanSpec withConsistentRead(Boolean consistentRead)
ScanRequest#withConsistentRead(Boolean)
public Collection<KeyAttribute> getExclusiveStartKey()
ScanRequest#getExclusiveStartKey()
public ScanSpec withExclusiveStartKey(KeyAttribute... exclusiveStartKey)
ScanRequest#withExclusiveStartKey(Map)
public ScanSpec withExclusiveStartKey(PrimaryKey exclusiveStartKey)
ScanRequest#withExclusiveStartKey(Map)
public ScanSpec withExclusiveStartKey(String hashKeyName, Object hashKeyValue)
ScanRequest#withExclusiveStartKey(Map)
public ScanSpec withExclusiveStartKey(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue)
ScanRequest#withExclusiveStartKey(Map)
public ScanSpec withMaxResultSize(int maxResultSize)
public ScanSpec withMaxPageSize(int maxPageSize)
public ScanSpec withProgressListener(ProgressListener progressListener)
public ScanSpec withRequestMetricCollector(RequestMetricCollector requestMetricCollector)
public Integer maxResultSize()
public void setMaxResultSize(Integer maxResultSize)
public void setMaxResultSize(int maxResultSize)
public Integer maxPageSize()
public void setMaxPageSize(Integer value)
public void setRequest(T req)
public T getRequest()
public ProgressListener getProgressListener()
public void setProgressListener(ProgressListener progressListener)
public RequestMetricCollector getRequestMetricCollector()
public void setRequestMetricCollector(RequestMetricCollector requestMetricCollector)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.