public class MockSubScanPOP extends AbstractBase implements SubScan
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATOR_TYPE |
protected List<MockTableDef.MockScanEntry> |
readEntries |
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation| Constructor and Description |
|---|
MockSubScanPOP(String url,
Boolean extended,
List<MockTableDef.MockScanEntry> readEntries)
This constructor is called from Jackson and is designed to support both
older physical plans and the newer ("extended") plans.
|
| 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.
|
PhysicalOperator |
getNewWithChildren(List<PhysicalOperator> children)
Regenerate with this node with a new set of children.
|
String |
getOperatorType() |
List<MockTableDef.MockScanEntry> |
getReadEntries() |
String |
getUrl() |
boolean |
isExecutable()
Describes whether or not a particular physical operator can actually be executed.
|
boolean |
isExtended() |
Iterator<PhysicalOperator> |
iterator() |
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorIdacceptforEach, spliteratorpublic static final String OPERATOR_TYPE
protected final List<MockTableDef.MockScanEntry> readEntries
public MockSubScanPOP(String url, Boolean extended, List<MockTableDef.MockScanEntry> readEntries)
url - not used for the mock plan, appears to be a vestige of creating
this from a file-based plugin. Must keep it because older physical
plans contained a dummy URL value.extended - see abovereadEntries - a description of the columns to generate in a Jackson-serialized
form unique to the mock data source plugin.public String getUrl()
public boolean isExtended()
public List<MockTableDef.MockScanEntry> getReadEntries()
public Iterator<PhysicalOperator> iterator()
iterator in interface Iterable<PhysicalOperator>public boolean isExecutable()
PhysicalOperatorisExecutable in interface PhysicalOperatorisExecutable in class AbstractBasepublic <T,X,E extends Throwable> T accept(PhysicalVisitor<T,X,E> physicalVisitor, X value) throws E extends Throwable
PhysicalOperatoraccept in interface PhysicalOperatorE extends Throwablepublic PhysicalOperator getNewWithChildren(List<PhysicalOperator> children)
PhysicalOperatorgetNewWithChildren in interface PhysicalOperatorpublic String getOperatorType()
getOperatorType in interface PhysicalOperatorCopyright © 2021 The Apache Software Foundation. All rights reserved.