PlanBuilder¶
PlanBuilder
is an abstraction of query plan builders (for QueryBuilder
to build a query implementation from an execution plan).
Contract (Subset)¶
Visiting StreamSelect¶
KStreamHolder<K> visitStreamSelect(
StreamSelect<K> streamSelect,
PlanInfo planInfo)
Visits a StreamSelect
See KSPlanBuilder
Used when:
StreamSelect
is requested to build a KStreamHolder
Visiting StreamSelectKey¶
KStreamHolder<GenericKey> visitStreamSelectKey(
StreamSelectKeyV1 streamSelectKey,
PlanInfo planInfo)
Visits a StreamSelectKeyV1
See KSPlanBuilder
Used when:
StreamSelectKeyV1
is requested to build a KStreamHolder
Visiting StreamSource¶
KStreamHolder<GenericKey> visitStreamSource(
StreamSource streamSource,
PlanInfo planInfo)
Visits a StreamSource
See KSPlanBuilder
Used when:
StreamSource
is requested to build a KStreamHolder
Visiting TableSelect¶
<K> KTableHolder<K> visitTableSelect(
TableSelect<K> tableSelect,
PlanInfo planInfo)
Visits a TableSelect
See KSPlanBuilder
Used when:
TableSelect
is requested to build a KTableHolder
Visiting TableSource¶
KTableHolder<GenericKey> visitTableSource(
TableSource tableSource,
PlanInfo planInfo)
KTableHolder<GenericKey> visitTableSource(
TableSourceV1 tableSourceV1,
PlanInfo planInfo) // (1)!
- legacy
See KSPlanBuilder
Used when:
TableSource
is requested to build a KTableHolderTableSourceV1
is requested to build aKTableHolder