Search in sources :

Example 1 with ProducerConsumer

use of org.apache.drill.exec.physical.config.ProducerConsumer in project drill by apache.

the class ProducerConsumerPrel method getPhysicalOperator.

@Override
public PhysicalOperator getPhysicalOperator(PhysicalPlanCreator creator) throws IOException {
    Prel child = (Prel) this.getInput();
    PhysicalOperator childPOP = child.getPhysicalOperator(creator);
    ProducerConsumer pop = new ProducerConsumer(childPOP, queueSize);
    return creator.addMetadata(this, pop);
}
Also used : ProducerConsumer(org.apache.drill.exec.physical.config.ProducerConsumer) PhysicalOperator(org.apache.drill.exec.physical.base.PhysicalOperator)

Aggregations

PhysicalOperator (org.apache.drill.exec.physical.base.PhysicalOperator)1 ProducerConsumer (org.apache.drill.exec.physical.config.ProducerConsumer)1