Package cellmate.accumulo.reader.scan

Examples of cellmate.accumulo.reader.scan.MultiRangeScan


        Connector connector = AccumuloParameterOps.getConnectorFromParameters(instance, parameters);
        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);
    }
View Full Code Here

TOP

Related Classes of cellmate.accumulo.reader.scan.MultiRangeScan

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.