ExecutionStep¶
ExecutionStep<S> is an abstraction of execution steps (physical plans) to build S.
S can be one of the following:
KStreamHolderKTableHolderKGroupedStreamHolderKGroupedTableHolder
Contract¶
Building S¶
S build(
PlanBuilder planBuilder) // (1)!
S build(
PlanBuilder planBuilder,
PlanInfo planInfo)
- Uses a PlanInfoExtractor to extract a PlanInfo
Used when:
QueryBuilderis requested for a query implementation
Extracting PlanInfo¶
PlanInfo extractPlanInfo(
PlanInfoExtractor planInfoExtractor)
Used when:
EngineExecutoris requested to planQueryExecutionStepis requested to buildPlanInfoExtractoris requested to visitRepartitionStep, visitJoinStep and visitSingleSourceStep
Implementations¶
- SourceStep
- StreamSelect
- others