Skip to content

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:

Visiting StreamSource

KStreamHolder<GenericKey> visitStreamSource(
  StreamSource streamSource,
  PlanInfo planInfo)

Visits a StreamSource

See KSPlanBuilder

Used when:

Visiting TableSource

KTableHolder<GenericKey> visitTableSource(
  TableSourceV1 tableSourceV1,
  PlanInfo planInfo)
KTableHolder<GenericKey> visitTableSource(
  TableSource tableSource,
  PlanInfo planInfo)

See KSPlanBuilder

Used when:

  • TableSourceV1 is requested to build a KTableHolder
  • TableSource is requested to build a KTableHolder

Implementations