Package io.trino.sql.planner.plan
Class TableScanNode
java.lang.Object
io.trino.sql.planner.plan.PlanNode
io.trino.sql.planner.plan.TableScanNode
-
Constructor Summary
ConstructorsConstructorDescriptionTableScanNode(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, TupleDomain<ColumnHandle> enforcedConstraint, Optional<PlanNodeStatsEstimate> statistics, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning) -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(PlanVisitor<R, C> visitor, C context) static TableScanNodefromJson(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning) A TupleDomain that represents a predicate that has been successfully pushed into this TableScan node.Statistics if already known.getTable()booleanbooleanstatic TableScanNodenewInstance(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning) Deprecated.Use explicit constructor instead.replaceChildren(List<PlanNode> newChildren) toString()withTableHandle(TableHandle table) withUseConnectorNodePartitioning(boolean useConnectorNodePartitioning)
-
Constructor Details
-
TableScanNode
public TableScanNode(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, TupleDomain<ColumnHandle> enforcedConstraint, Optional<PlanNodeStatsEstimate> statistics, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning)
-
-
Method Details
-
newInstance
@Deprecated public static TableScanNode newInstance(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning) Deprecated.Use explicit constructor instead. Calling this method when transforming the plan may lead to information loss. -
fromJson
public static TableScanNode fromJson(PlanNodeId id, TableHandle table, List<Symbol> outputs, Map<Symbol, ColumnHandle> assignments, boolean updateTarget, Optional<Boolean> useConnectorNodePartitioning) -
getTable
-
getOutputSymbols
- Specified by:
getOutputSymbolsin classPlanNode
-
getAssignments
-
getEnforcedConstraint
A TupleDomain that represents a predicate that has been successfully pushed into this TableScan node. In other words, predicates that were removed from filters above the TableScan node because the TableScan node can guarantee it.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.
-
getStatistics
Statistics if already known. -
isUpdateTarget
public boolean isUpdateTarget() -
getUseConnectorNodePartitioning
-
isUseConnectorNodePartitioning
public boolean isUseConnectorNodePartitioning() -
getSources
- Specified by:
getSourcesin classPlanNode
-
accept
-
toString
-
replaceChildren
- Specified by:
replaceChildrenin classPlanNode
-
withUseConnectorNodePartitioning
-
withTableHandle
-