Package org.apache.drill.exec.physical.base

Examples of org.apache.drill.exec.physical.base.Size


    return new SelectionVectorRemover(child);
  }

  @Override
  public Size getSize() {
    return new Size( (long) (child.getSize().getRecordCount()), child.getSize().getRecordSize());
  }
View Full Code Here


  }

  @Override
  public Size getSize() {
    //TODO: deal with size info through exchange.
    return new Size(1,1);
  }
View Full Code Here

    return physicalVisitor.visitSort(this, value);
  }

  @Override
  public OperatorCost getCost() {
    Size childSize = child.getSize();
    long n = childSize.getRecordCount();
    long width = childSize.getRecordSize();

    //TODO: Magic Number, let's assume 1/10 of data can fit in memory.
    int k = 10;
    long n2 = n/k;
    double cpuCost =
View Full Code Here

  }

  @Override
  public Size getSize() {
    // not a great hack...
    return new Size( (long) (child.getSize().getRecordCount()*cardinality), child.getSize().getRecordSize());
  }
View Full Code Here

    return new Filter(child, expr, selectivity);
  }

  @Override
  public Size getSize() {
    return new Size( (long) (child.getSize().getRecordCount()*selectivity), child.getSize().getRecordSize());
  }
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.physical.base.Size

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.