public ScanSpec() { super(new ScanRequest()); }
/** * Simplified method form for invoking the Scan operation. * * @see #scanAsync(ScanRequest) */ @Override public java.util.concurrent.Future<ScanResult> scanAsync(String tableName, java.util.List<String> attributesToGet) { return scanAsync(new ScanRequest().withTableName(tableName).withAttributesToGet(attributesToGet)); }
/** * Simplified method form for invoking the Scan operation. * * @see #scanAsync(ScanRequest) */ @Override public java.util.concurrent.Future<ScanResult> scanAsync(String tableName, java.util.List<String> attributesToGet) { return scanAsync(new ScanRequest().withTableName(tableName).withAttributesToGet(attributesToGet)); }
/** * Simplified method form for invoking the Scan operation with an AsyncHandler. * * @see #scanAsync(ScanRequest, com.amazonaws.handlers.AsyncHandler) */ @Override public java.util.concurrent.Future<ScanResult> scanAsync(String tableName, java.util.List<String> attributesToGet, com.amazonaws.handlers.AsyncHandler<ScanRequest, ScanResult> asyncHandler) { return scanAsync(new ScanRequest().withTableName(tableName).withAttributesToGet(attributesToGet), asyncHandler); }
/** * Simplified method form for invoking the Scan operation with an AsyncHandler. * * @see #scanAsync(ScanRequest, com.amazonaws.handlers.AsyncHandler) */ @Override public java.util.concurrent.Future<ScanResult> scanAsync(String tableName, java.util.List<String> attributesToGet, com.amazonaws.handlers.AsyncHandler<ScanRequest, ScanResult> asyncHandler) { return scanAsync(new ScanRequest().withTableName(tableName).withAttributesToGet(attributesToGet), asyncHandler); }
/** * Simplified method form for invoking the Scan operation. * * @see #scanAsync(ScanRequest) */ @Override public java.util.concurrent.Future<ScanResult> scanAsync(String tableName, java.util.Map<String, Condition> scanFilter) { return scanAsync(new ScanRequest().withTableName(tableName).withScanFilter(scanFilter)); }
@Override public ScanResult scan(String tableName, java.util.List<String> attributesToGet) { return scan(new ScanRequest().withTableName(tableName).withAttributesToGet(attributesToGet)); }
@Override public ScanResult scan(String tableName, java.util.Map<String, Condition> scanFilter) { return scan(new ScanRequest().withTableName(tableName).withScanFilter(scanFilter)); }
/** * Simplified method form for invoking the Scan operation. * * @see #scanAsync(ScanRequest) */ @Override public java.util.concurrent.Future<ScanResult> scanAsync(String tableName, java.util.Map<String, Condition> scanFilter) { return scanAsync(new ScanRequest().withTableName(tableName).withScanFilter(scanFilter)); }
/** * Simplified method form for invoking the Scan operation with an AsyncHandler. * * @see #scanAsync(ScanRequest, com.amazonaws.handlers.AsyncHandler) */ @Override public java.util.concurrent.Future<ScanResult> scanAsync(String tableName, java.util.Map<String, Condition> scanFilter, com.amazonaws.handlers.AsyncHandler<ScanRequest, ScanResult> asyncHandler) { return scanAsync(new ScanRequest().withTableName(tableName).withScanFilter(scanFilter), asyncHandler); }
/** * Simplified method form for invoking the Scan operation with an AsyncHandler. * * @see #scanAsync(ScanRequest, com.amazonaws.handlers.AsyncHandler) */ @Override public java.util.concurrent.Future<ScanResult> scanAsync(String tableName, java.util.Map<String, Condition> scanFilter, com.amazonaws.handlers.AsyncHandler<ScanRequest, ScanResult> asyncHandler) { return scanAsync(new ScanRequest().withTableName(tableName).withScanFilter(scanFilter), asyncHandler); }
@Override public ScanResult scan(String tableName, java.util.List<String> attributesToGet) { return scan(new ScanRequest().withTableName(tableName).withAttributesToGet(attributesToGet)); }
@Override public ScanResult scan(String tableName, java.util.Map<String, Condition> scanFilter) { return scan(new ScanRequest().withTableName(tableName).withScanFilter(scanFilter)); }
/** * Simplified method form for invoking the Scan operation with an AsyncHandler. * * @see #scanAsync(ScanRequest, com.amazonaws.handlers.AsyncHandler) */ @Override public java.util.concurrent.Future<ScanResult> scanAsync(String tableName, java.util.List<String> attributesToGet, java.util.Map<String, Condition> scanFilter, com.amazonaws.handlers.AsyncHandler<ScanRequest, ScanResult> asyncHandler) { return scanAsync(new ScanRequest().withTableName(tableName).withAttributesToGet(attributesToGet).withScanFilter(scanFilter), asyncHandler); }
@Override public ScanResult scan(String tableName, java.util.List<String> attributesToGet, java.util.Map<String, Condition> scanFilter) { return scan(new ScanRequest().withTableName(tableName).withAttributesToGet(attributesToGet).withScanFilter(scanFilter)); }
/** * Simplified method form for invoking the Scan operation. * * @see #scanAsync(ScanRequest) */ @Override public java.util.concurrent.Future<ScanResult> scanAsync(String tableName, java.util.List<String> attributesToGet, java.util.Map<String, Condition> scanFilter) { return scanAsync(new ScanRequest().withTableName(tableName).withAttributesToGet(attributesToGet).withScanFilter(scanFilter)); }
/** * Simplified method form for invoking the Scan operation. * * @see #scanAsync(ScanRequest) */ @Override public java.util.concurrent.Future<ScanResult> scanAsync(String tableName, java.util.List<String> attributesToGet, java.util.Map<String, Condition> scanFilter) { return scanAsync(new ScanRequest().withTableName(tableName).withAttributesToGet(attributesToGet).withScanFilter(scanFilter)); }
/** * Simplified method form for invoking the Scan operation with an AsyncHandler. * * @see #scanAsync(ScanRequest, com.amazonaws.handlers.AsyncHandler) */ @Override public java.util.concurrent.Future<ScanResult> scanAsync(String tableName, java.util.List<String> attributesToGet, java.util.Map<String, Condition> scanFilter, com.amazonaws.handlers.AsyncHandler<ScanRequest, ScanResult> asyncHandler) { return scanAsync(new ScanRequest().withTableName(tableName).withAttributesToGet(attributesToGet).withScanFilter(scanFilter), asyncHandler); }
@Override public ScanResult scan(String tableName, java.util.List<String> attributesToGet, java.util.Map<String, Condition> scanFilter) { return scan(new ScanRequest().withTableName(tableName).withAttributesToGet(attributesToGet).withScanFilter(scanFilter)); }
/** * @param config never null */ private ScanRequest createScanRequestFromExpression(Class<?> clazz, DynamoDBScanExpression scanExpression, DynamoDBMapperConfig config) { ScanRequest scanRequest = new ScanRequest(); scanRequest.setTableName(getTableName(clazz, config)); scanRequest.setIndexName(scanExpression.getIndexName()); scanRequest.setScanFilter(scanExpression.getScanFilter()); scanRequest.setLimit(scanExpression.getLimit()); scanRequest.setExclusiveStartKey(scanExpression.getExclusiveStartKey()); scanRequest.setTotalSegments(scanExpression.getTotalSegments()); scanRequest.setSegment(scanExpression.getSegment()); scanRequest.setConditionalOperator(scanExpression.getConditionalOperator()); scanRequest.setFilterExpression(scanExpression.getFilterExpression()); scanRequest.setExpressionAttributeNames(scanExpression .getExpressionAttributeNames()); scanRequest.setExpressionAttributeValues(scanExpression .getExpressionAttributeValues()); scanRequest.setRequestMetricCollector(config.getRequestMetricCollector()); scanRequest.setSelect(scanExpression.getSelect()); scanRequest.setProjectionExpression(scanExpression.getProjectionExpression()); scanRequest.setReturnConsumedCapacity(scanExpression.getReturnConsumedCapacity()); scanRequest.setConsistentRead(scanExpression.isConsistentRead()); return applyUserAgent(scanRequest); }