telepath / com.github.giedomak.telepath.datamodels.plans / LogicalPlan / contains

contains

fun contains(operatorId: Int): Boolean (source)

Check if the current tree contains a given operator.

Parameters

operatorId - The operator constant (e.g. LogicalPlan.UNION) to check for containment in the tree.

Return
Boolean indicating if the tree contains the operator.