Authorizations auths = AccumuloParameterOps.getAuthsFromConnector(connector);
if(log.isDebugEnabled())
log.info("Create auths and connector for " + parameters.getUser());
Scan scan = parameters.hasKey(AccumuloParameters.MULTI_RANGE) ?
new MultiRangeScan(connector, auths, parameters) :
new SingleRangeScan(connector, auths, parameters);
if(log.isDebugEnabled())
log.info("Setting up scan type: " + scan.getClass().getName());
return read(scan.get(), parameters, transformer);
}