class IndexLookup : PhysicalOperator
(source)
Physical operator to lookup paths in the kPathIndex.
Let's say we've got this physical plan:
INDEX_LOOKUP
/ | \
a b c
Then a - b - c
forms the labeled path for which we are searching for paths in de index.
IndexLookup(physicalPlan: PhysicalPlan)
Physical operator to lookup paths in the kPathIndex. |
val physicalPlan: PhysicalPlan
The physical plan which holds the leafs which make up the pathId. |
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. |
fun cost(): Long
Cost of an index lookup is very cheap. |
|
fun evaluate(): PathStream
Evaluate the index lookup and stream the results. |