Package org.apache.drill.exec.store

Examples of org.apache.drill.exec.store.AffinityCalculator


  }

  private void calculateEndpointBytes() {
    watch.reset();
    watch.start();
    AffinityCalculator ac = new AffinityCalculator(fs, availableEndpoints);
    for (RowGroupInfo e : rowGroupInfos) {
      ac.setEndpointBytes(e);
      totalBytes += e.getLength();
    }
    watch.stop();
    logger.debug("Took {} ms to calculate EndpointBytes", watch.elapsed(TimeUnit.MILLISECONDS));
  }
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.store.AffinityCalculator

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.