class ProfilerLatticeStatisticProvider extends java.lang.Object implements LatticeStatisticProvider
LatticeStatisticProvider
that uses a
Profiler
.LatticeStatisticProvider.Factory
Modifier and Type | Field and Description |
---|---|
(package private) static LatticeStatisticProvider.Factory |
FACTORY |
private java.util.function.Supplier<Profiler.Profile> |
profile |
Modifier | Constructor and Description |
---|---|
private |
ProfilerLatticeStatisticProvider(Lattice lattice)
Creates a ProfilerLatticeStatisticProvider.
|
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.
|
static final LatticeStatisticProvider.Factory FACTORY
private final java.util.function.Supplier<Profiler.Profile> profile
private ProfilerLatticeStatisticProvider(Lattice lattice)
public double cardinality(java.util.List<Lattice.Column> columns)
LatticeStatisticProvider
cardinality
in interface LatticeStatisticProvider
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.