public class ScanSpec extends Object
Constructor and Description |
---|
ScanSpec() |
public Collection<ScanFilter> getScanFilters()
ScanRequest.getScanFilter()
public ScanSpec withScanFilters(ScanFilter... scanFilters)
ScanRequest.withScanFilter(Map)
public String getConditionalOperator()
ScanRequest.getConditionalOperator()
public ScanSpec withConditionalOperator(ConditionalOperator op)
public List<String> getAttributesToGet()
ScanRequest.getAttributesToGet()
public String getFilterExpression()
withNameMap(Map)
and withValueMap(Map)
.ScanRequest.getFilterExpression()
public ScanSpec withFilterExpression(String filterExpression)
ScanRequest.withFilterExpression(String)
public String getProjectionExpression()
ScanRequest.getProjectionExpression()
public ScanSpec withNameMap(Map<String,String> nameMap)
public ScanSpec withValueMap(Map<String,Object> valueMap)
public String getReturnConsumedCapacity()
ScanRequest.getReturnConsumedCapacity()
public ScanSpec withReturnConsumedCapacity(ReturnConsumedCapacity capacity)
public String getSelect()
ScanRequest.getSelect()
public ScanSpec withSelect(Select select)
ScanRequest.withSelect(Select)
public Integer getSegment()
ScanRequest.getSegment()
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)
@Beta public ScanSpec withExpressionSpec(ScanExpressionSpec xspec)
ScanExpressionSpec
.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 © 2023. All rights reserved.