telepath / com.github.giedomak.telepath.planner.enumerator / SimpleEnumerator / enumerate

enumerate

fun enumerate(tree1: PhysicalPlan, tree2: PhysicalPlan, logicalOperator: Int): Sequence<PhysicalPlan> (source)

Overrides Enumerator.enumerate

Merge two physical plans by all the physical operators we support for the given logicalOperator.

Parameters

tree1 - First tree we have to merge.

tree2 - Second tree we have to merge.

logicalOperator - Merge the given trees with all physical operators for this given logical logicalOperator.

Return
All physical plans where the given trees are merged with all physical operators we support for the given logicalOperator.