ScanBuilder¶
ScanBuilder is an abstraction of scan builders.
Contract¶
Building Scan¶
Scan build()
Builds a Scan
See:
Used when:
DataSourceV2Relationlogical operator is requested to computeStatsDescribeColumnExecphysical command is executedPushDownUtilsis requested to pruneColumns- V2ScanRelationPushDown logical optimization is executed (to buildScanWithPushedAggregate)
MicroBatchExecution(Spark Structured Streaming) is requested for thelogicalPlanContinuousExecution(Spark Structured Streaming) is requested for thelogicalPlan
Implementations¶
- FileScanBuilder
- JDBCScanBuilder
MemoryStreamScanBuilder(Spark Structured Streaming)- SupportsPushDownAggregates
- SupportsPushDownFilters
SupportsPushDownLimit- SupportsPushDownRequiredColumns
SupportsPushDownTableSampleSupportsPushDownTopN- SupportsPushDownV2Filters