Examples of AffinityCalculator


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
Copyright © 2018 www.massapi.com. 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.