telepath / com.github.giedomak.telepath.datamodels.plans.utilities / MultiTreeFlattener / flatten

flatten

fun <ImplementingTree : AbstractMultiTree<ImplementingTree>> flatten(tree: ImplementingTree): ImplementingTree (source)

Flatten a given LogicalPlan recursively into a multi-tree.

Parameters

tree - The given input LogicalPlan.

Return
A flattened LogicalPlan from the given input.