Package org.apache.calcite.materialize
Class DelegatingLatticeStatisticProvider
java.lang.Object
org.apache.calcite.materialize.DelegatingLatticeStatisticProvider
- All Implemented Interfaces:
LatticeStatisticProvider
Implementation of
LatticeStatisticProvider that delegates
to an underlying provider.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.calcite.materialize.LatticeStatisticProvider
LatticeStatisticProvider.Factory -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a DelegatingLatticeStatisticProvider. -
Method Summary
Modifier and TypeMethodDescriptiondoublecardinality(List<Lattice.Column> columns) Returns an estimate of the number of distinct values in a column or list of columns.
-
Field Details
-
provider
-
-
Constructor Details
-
DelegatingLatticeStatisticProvider
Creates a DelegatingLatticeStatisticProvider.- Parameters:
provider- Provider to which to delegate otherwise unhandled requests
-
-
Method Details
-
cardinality
Description copied from interface:LatticeStatisticProviderReturns an estimate of the number of distinct values in a column or list of columns.- Specified by:
cardinalityin interfaceLatticeStatisticProvider
-