public abstract class AbstractBase extends Object implements PhysicalOperator
Modifier and Type | Field and Description |
---|---|
static long |
INIT_ALLOCATION |
protected long |
initialAllocation |
static long |
MAX_ALLOCATION |
protected long |
maxAllocation |
protected String |
userName |
Constructor and Description |
---|
AbstractBase() |
AbstractBase(AbstractBase that) |
AbstractBase(String userName) |
Modifier and Type | Method and Description |
---|---|
void |
accept(GraphVisitor<PhysicalOperator> visitor) |
PrelCostEstimates |
getCost() |
long |
getInitialAllocation() |
long |
getMaxAllocation() |
int |
getOperatorId() |
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)
Any operator that supports spilling should override this method (and return true)
|
boolean |
isExecutable()
Describes whether or not a particular physical operator can actually be executed.
|
void |
setCost(PrelCostEstimates cost) |
void |
setMaxAllocation(long maxAllocation)
Any operator that supports spilling should override this method
|
void |
setOperatorId(int id) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, getNewWithChildren, getOperatorType
forEach, iterator, spliterator
public static long INIT_ALLOCATION
public static long MAX_ALLOCATION
protected long initialAllocation
protected long maxAllocation
protected final String userName
public AbstractBase()
public AbstractBase(String userName)
public AbstractBase(AbstractBase that)
public void accept(GraphVisitor<PhysicalOperator> visitor)
accept
in interface GraphValue<PhysicalOperator>
public boolean isExecutable()
PhysicalOperator
isExecutable
in interface PhysicalOperator
public final void setOperatorId(int id)
setOperatorId
in interface PhysicalOperator
public int getOperatorId()
getOperatorId
in interface PhysicalOperator
public BatchSchema.SelectionVectorMode getSVMode()
PhysicalOperator
PhysicalPlanCreator
.getSVMode
in interface PhysicalOperator
public long getInitialAllocation()
getInitialAllocation
in interface PhysicalOperator
public PrelCostEstimates getCost()
getCost
in interface PhysicalOperator
public void setCost(PrelCostEstimates cost)
setCost
in interface PhysicalOperator
public long getMaxAllocation()
getMaxAllocation
in interface PhysicalOperator
public void setMaxAllocation(long maxAllocation)
setMaxAllocation
in interface PhysicalOperator
maxAllocation
- The max memory allocation to be setpublic boolean isBufferedOperator(QueryContext queryContext)
isBufferedOperator
in interface PhysicalOperator
queryContext
- public String getUserName()
PhysicalOperator
getUserName
in interface PhysicalOperator
Copyright © 1970 The Apache Software Foundation. All rights reserved.