telepath / com.github.giedomak.telepath.datamodels.plans.utilities / MultiTreeContainment

MultiTreeContainment

object MultiTreeContainment (source)

Functions

containsSubtreesThroughOperator

fun containsSubtreesThroughOperator(root: LogicalPlan, s1: LogicalPlan, s2: LogicalPlan, operatorId: Int): Boolean

Given a root LogicalPlan, check if s1 and s2 are contained as subtrees in root through the given operatorId.