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
-
Constructor Summary
ModifierConstructorDescriptionprotected
Creates a DelegatingLatticeStatisticProvider. -
Method Summary
Modifier and TypeMethodDescriptiondouble
cardinality
(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:LatticeStatisticProvider
Returns an estimate of the number of distinct values in a column or list of columns.- Specified by:
cardinality
in interfaceLatticeStatisticProvider
-