return AlternatorDBApiVersion2Mapper.MapV1ScanResultToV2(result, table);
}
public synchronized QueryResult query(QueryRequest request) {
// Validate data coming in
QueryRequestValidator validator = new QueryRequestValidator();
List<Error> errors = validator.validate(request);
if (errors.size() != 0) {
throw createInternalServerException(errors);
}
// Check existence of table