public class DelegatingLatticeStatisticProvider extends java.lang.Object implements LatticeStatisticProvider
LatticeStatisticProvider
that delegates
to an underlying provider.LatticeStatisticProvider.Factory
Modifier and Type | Field and Description |
---|---|
protected LatticeStatisticProvider |
provider |
Modifier | Constructor and Description |
---|---|
protected |
DelegatingLatticeStatisticProvider(LatticeStatisticProvider provider)
Creates a DelegatingLatticeStatisticProvider.
|
Modifier and Type | Method and Description |
---|---|
double |
cardinality(java.util.List<Lattice.Column> columns)
Returns an estimate of the number of distinct values in a column
or list of columns.
|
protected final LatticeStatisticProvider provider
protected DelegatingLatticeStatisticProvider(LatticeStatisticProvider provider)
provider
- Provider to which to delegate otherwise unhandled requestspublic double cardinality(java.util.List<Lattice.Column> columns)
LatticeStatisticProvider
cardinality
in interface LatticeStatisticProvider
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.