interface PhysicalOperator
(source)
Interface for physical operators.
open val cardinality: Long
Delegate cardinality to the physical plan. |
|
open val firstChild: PhysicalOperator
The first set of data to operate on. |
|
open val lastChild: PhysicalOperator
The last set of data to operate on. |
|
abstract val physicalPlan: PhysicalPlan
The physical plan holds information regarding the sets on which to operate on. |
abstract fun cost(): Long
Calculates the cost of the physical operation. |
|
abstract fun evaluate(): PathStream
Evaluates the physical operator and produces a PathStream. |
const val HASH_JOIN: Int |
|
const val INDEX_LOOKUP: Int |
|
val JOIN_OPERATORS: List<Int> |
|
const val LEAF: Int |
|
const val NESTED_LOOP_JOIN: Int |
|
const val SORT_MERGE_JOIN: Int |
|
const val UNION: Int |
fun getPhysicalOperator(physicalPlan: PhysicalPlan): PhysicalOperator?
Convert the operators constants to an actual PhysicalOperator instance. |
class HashJoin : PhysicalOperator
Hash-join physical operator. |
|
class IndexLookup : PhysicalOperator
Physical operator to lookup paths in the kPathIndex. |
|
class NestedLoopJoin : PhysicalOperator
Nested-loop-join. |
|
class SortMergeJoin : PhysicalOperator
Sort-merge-join. |
|
class Union : PhysicalOperator
Union physical operator. |