Package org.apache.tajo.master.querymaster.QueryUnit

Examples of org.apache.tajo.master.querymaster.QueryUnit.IntermediateEntry


    if (report.getPartitionsCount() > 0) {
      this.getQueryUnit().setPartitions(report.getPartitionsList());

      List<IntermediateEntry> partitions = new ArrayList<IntermediateEntry>();
      for (Partition p : report.getPartitionsList()) {
        IntermediateEntry entry = new IntermediateEntry(getId().getQueryUnitId().getId(),
            getId().getId(), p.getPartitionKey(), getHost(), getPullServerPort());
        partitions.add(entry);
      }
      this.getQueryUnit().setIntermediateData(partitions);
    }
View Full Code Here


    if (report.getShuffleFileOutputsCount() > 0) {
      this.getQueryUnit().setShuffleFileOutputs(report.getShuffleFileOutputsList());

      for (ShuffleFileOutput p : report.getShuffleFileOutputsList()) {
        IntermediateEntry entry = new IntermediateEntry(getId().getQueryUnitId().getId(),
            getId().getId(), p.getPartId(), getHost(), getPullServerPort());
        partitions.add(entry);
      }
    }
    this.getQueryUnit().setIntermediateData(partitions);
View Full Code Here

TOP

Related Classes of org.apache.tajo.master.querymaster.QueryUnit.IntermediateEntry

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.