abstract protected Scanner newScanner(ConnectionQueryServices services) throws SQLException;
private Scanner newScanner() throws SQLException {
ConnectionQueryServices services = getConnectionQueryServices(context.getConnection().getQueryServices());
if (context.getScanRanges() == ScanRanges.NOTHING) { // is degenerate
scanner = new DegenerateScanner(tableRef, getProjector());
} else {
scanner = newScanner(services);
}
return scanner;
}