public interface PhysicalOperator extends GraphValue<PhysicalOperator>
Modifier and Type | Method and Description |
---|---|
<T,X,E extends Throwable> |
accept(PhysicalVisitor<T,X,E> physicalVisitor,
X value)
Provides capability to build a set of output based on traversing a query graph tree.
|
PrelCostEstimates |
getCost() |
long |
getInitialAllocation() |
long |
getMaxAllocation() |
PhysicalOperator |
getNewWithChildren(List<PhysicalOperator> children)
Regenerate with this node with a new set of children.
|
int |
getOperatorId() |
int |
getOperatorType() |
BatchSchema.SelectionVectorMode |
getSVMode()
Describes the SelectionVector Mode for the output steam from this physical op.
|
String |
getUserName()
Name of the user whom to impersonate while setting up the implementation (RecordBatch) of this
PhysicalOperator.
|
boolean |
isBufferedOperator(QueryContext queryContext) |
boolean |
isExecutable()
Describes whether or not a particular physical operator can actually be executed.
|
void |
setCost(PrelCostEstimates cost) |
void |
setMaxAllocation(long maxAllocation) |
void |
setOperatorId(int id) |
accept
forEach, iterator, spliterator
boolean isExecutable()
BatchSchema.SelectionVectorMode getSVMode()
PhysicalPlanCreator
.<T,X,E extends Throwable> T accept(PhysicalVisitor<T,X,E> physicalVisitor, X value) throws E extends Throwable
physicalVisitor
- E extends Throwable
PhysicalOperator getNewWithChildren(List<PhysicalOperator> children) throws ExecutionSetupException
children
- ExecutionSetupException
long getInitialAllocation()
long getMaxAllocation()
void setMaxAllocation(long maxAllocation)
maxAllocation
- The max memory allocation to be setboolean isBufferedOperator(QueryContext queryContext)
queryContext
- int getOperatorId()
void setOperatorId(int id)
void setCost(PrelCostEstimates cost)
PrelCostEstimates getCost()
String getUserName()
int getOperatorType()
Copyright © 2021 The Apache Software Foundation. All rights reserved.