super(ddbClient, configuration, exchange);
}
@Override
public void execute() {
ScanResult result = ddbClient.scan(new ScanRequest()
.withTableName(determineTableName())
.withScanFilter(determineScanFilter()));
addToResult(DdbConstants.ITEMS, result.getItems());
addToResult(DdbConstants.LAST_EVALUATED_KEY, result.getLastEvaluatedKey());
addToResult(DdbConstants.CONSUMED_CAPACITY, result.getConsumedCapacityUnits());
addToResult(DdbConstants.COUNT, result.getCount());
addToResult(DdbConstants.SCANNED_COUNT, result.getScannedCount());
}