telepath / com.github.giedomak.telepath.physicaloperators / Union

Union

class Union : PhysicalOperator (source)

Union physical operator.

Constructors

<init>

Union(physicalPlan: PhysicalPlan)

Union physical operator.

Properties

physicalPlan

val physicalPlan: PhysicalPlan

The physical plan where we have to perform the union on its children.

Inherited Properties

cardinality

open val cardinality: Long

Delegate cardinality to the physical plan.

firstChild

open val firstChild: PhysicalOperator

The first set of data to operate on.

lastChild

open val lastChild: PhysicalOperator

The last set of data to operate on.

Functions

cost

fun cost(): Long

Cost of the union operation.

evaluate

fun evaluate(): PathStream

Evaluate the union.