LeafNodes¶
LeafNode is an extension of the LogicalPlan abstraction for leaf logical operators (with no child nodes).
Implementations¶
- CTERelationRef
- DataSourceV2Relation
- DataSourceV2ScanRelation
- ExternalRDD
- HiveTableRelation
- InMemoryRelation
- LocalRelation
- LogicalQueryStage
- LogicalRDD
- LogicalRelation
- UnresolvedRelation
- others
Children¶
children: Seq[LogicalPlan]
children is an empty collection (to denote being a leaf in an operator tree).
children is part of the TreeNode abstraction.
Statistics¶
computeStats(): Statistics
computeStats throws an UnsupportedOperationException.
computeStats is used when:
BasicStatsPlanVisitoris requested for the default size statistics (forLeafNodes)SizeInBytesOnlyStatsPlanVisitoris requested for the default size statistics