throw new IllegalArgumentException("Can only return values for Number and String, got " + valueType);
}
public synchronized ScanResult scan(ScanRequest request) {
ScanResult result = new ScanResult();
List<Error> errors = new ScanRequestValidator().validate(request);
if (errors.size() > 0) {
throw createInternalServerException(errors);
}
result.setConsumedCapacityUnits(0.5);
List<Map<String, AttributeValue>> items = new ArrayList<Map<String, AttributeValue>>();