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, waitaccept, getNewWithChildren, getOperatorTypeforEach, iterator, spliteratorpublic 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()
PhysicalOperatorisExecutable in interface PhysicalOperatorpublic final void setOperatorId(int id)
setOperatorId in interface PhysicalOperatorpublic int getOperatorId()
getOperatorId in interface PhysicalOperatorpublic BatchSchema.SelectionVectorMode getSVMode()
PhysicalOperatorPhysicalPlanCreator.getSVMode in interface PhysicalOperatorpublic long getInitialAllocation()
getInitialAllocation in interface PhysicalOperatorpublic PrelCostEstimates getCost()
getCost in interface PhysicalOperatorpublic void setCost(PrelCostEstimates cost)
setCost in interface PhysicalOperatorpublic long getMaxAllocation()
getMaxAllocation in interface PhysicalOperatorpublic void setMaxAllocation(long maxAllocation)
setMaxAllocation in interface PhysicalOperatormaxAllocation - The max memory allocation to be setpublic boolean isBufferedOperator(QueryContext queryContext)
isBufferedOperator in interface PhysicalOperatorqueryContext - public String getUserName()
PhysicalOperatorgetUserName in interface PhysicalOperatorCopyright © 2022 The Apache Software Foundation. All rights reserved.