aboutsummaryrefslogtreecommitdiff
path: root/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperator.java
diff options
context:
space:
mode:
authorHanumathRao <hanu.ncr@gmail.com>2019-02-28 00:12:05 -0800
committerSorabh Hamirwasia <sorabh@apache.org>2019-03-14 21:34:06 -0700
commitd22e68b83d1d0cc0539d79ae0cb3aa70ae3242ad (patch)
tree76f816aead22b0d7668d06f1b13ccad5c142960c /exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperator.java
parent5aa38a51d90998234b4ca46434ce225df72addc5 (diff)
DRILL-7068: Support memory adjustment framework for resource management with Queues.
closes #1677
Diffstat (limited to 'exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperator.java')
-rw-r--r--exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperator.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperator.java
index 82fb53bf4..3bca02ea0 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperator.java
@@ -22,6 +22,7 @@ import java.util.List;
import org.apache.drill.common.exceptions.ExecutionSetupException;
import org.apache.drill.common.graph.GraphValue;
import org.apache.drill.exec.ops.QueryContext;
+import org.apache.drill.exec.planner.cost.PrelCostEstimates;
import org.apache.drill.exec.record.BatchSchema.SelectionVectorMode;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
@@ -101,10 +102,10 @@ public interface PhysicalOperator extends GraphValue<PhysicalOperator> {
void setOperatorId(int id);
@JsonProperty("cost")
- void setCost(double cost);
+ void setCost(PrelCostEstimates cost);
@JsonProperty("cost")
- double getCost();
+ PrelCostEstimates getCost();
/**
* Name of the user whom to impersonate while setting up the implementation (RecordBatch) of this