@Immutable public class TableScanNode extends PlanNode
| Constructor and Description |
|---|
TableScanNode(PlanNodeId id,
TableHandle table,
List<Symbol> outputs,
Map<Symbol,ColumnHandle> assignments) |
TableScanNode(PlanNodeId id,
TableHandle table,
List<Symbol> outputs,
Map<Symbol,ColumnHandle> assignments,
TupleDomain<ColumnHandle> enforcedConstraint) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(PlanVisitor<R,C> visitor,
C context) |
Map<Symbol,ColumnHandle> |
getAssignments() |
TupleDomain<ColumnHandle> |
getEnforcedConstraint()
A TupleDomain that represents a predicate that has been successfully pushed into
this TableScan node.
|
List<Symbol> |
getOutputSymbols() |
List<PlanNode> |
getSources() |
TableHandle |
getTable() |
static TableScanNode |
newInstance(PlanNodeId id,
TableHandle table,
List<Symbol> outputs,
Map<Symbol,ColumnHandle> assignments) |
PlanNode |
replaceChildren(List<PlanNode> newChildren) |
String |
toString() |
public TableScanNode(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol,ColumnHandle> assignments)
public TableScanNode(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol,ColumnHandle> assignments, TupleDomain<ColumnHandle> enforcedConstraint)
public static TableScanNode newInstance(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol,ColumnHandle> assignments)
public TableHandle getTable()
public List<Symbol> getOutputSymbols()
getOutputSymbols in class PlanNodepublic Map<Symbol,ColumnHandle> getAssignments()
public TupleDomain<ColumnHandle> getEnforcedConstraint()
This field is used to make sure that predicates which were previously pushed down do not get lost in subsequent refinements of the table layout.
public List<PlanNode> getSources()
getSources in class PlanNodepublic <R,C> R accept(PlanVisitor<R,C> visitor, C context)
public PlanNode replaceChildren(List<PlanNode> newChildren)
replaceChildren in class PlanNodeCopyright © 2012–2019. All rights reserved.