telepath / com.github.giedomak.telepath.cardinalityestimation / KPathIndexCardinalityEstimation

KPathIndexCardinalityEstimation

class KPathIndexCardinalityEstimation : CardinalityEstimation (source)

Constructors

<init>

KPathIndexCardinalityEstimation(kPathIndex: KPathIndex)

Functions

getCardinality

fun getCardinality(pathId: Long): Long

Returns the cardinality of a given pathId using the StatisticsStore from our kPathIndex.

fun getCardinality(physicalPlan: PhysicalPlan): Long

Returns the cardinality of a given physicalPlan.