| Modifier and Type | Class and Description |
|---|---|
static class |
ProfilerImpl.Builder
Builds a
ProfilerImpl. |
(package private) static class |
ProfilerImpl.Collector
Collects values of a column or columns.
|
(package private) static class |
ProfilerImpl.CompositeCollector
Collector that collects two or more column values in a tree set.
|
(package private) static class |
ProfilerImpl.HllCollector
Collector that collects two or more column values into a HyperLogLog
sketch.
|
(package private) static class |
ProfilerImpl.HllCompositeCollector
Collector that collects two or more column values into a HyperLogLog
sketch.
|
(package private) static class |
ProfilerImpl.HllSingletonCollector
Collector that collects one column value into a HyperLogLog sketch.
|
(package private) class |
ProfilerImpl.Run
A run of the profiler.
|
(package private) static class |
ProfilerImpl.SingletonCollector
Collector that collects values of a single column.
|
(package private) static class |
ProfilerImpl.Space
Work space for a particular combination of columns.
|
(package private) static class |
ProfilerImpl.SurpriseQueue
A priority queue of the last N surprise values.
|
Profiler.Column, Profiler.Distribution, Profiler.FunctionalDependency, Profiler.Profile, Profiler.RowCount, Profiler.Statistic, Profiler.Unique| Modifier and Type | Field and Description |
|---|---|
private int |
combinationsPerPass
The number of combinations to consider per pass.
|
private int |
interestingCount
The minimum number of combinations considered "interesting".
|
private com.google.common.base.Predicate<Pair<ProfilerImpl.Space,Profiler.Column>> |
predicate
Whether a successor is considered interesting enough to analyze.
|
| Constructor and Description |
|---|
ProfilerImpl(int combinationsPerPass,
int interestingCount,
com.google.common.base.Predicate<Pair<ProfilerImpl.Space,Profiler.Column>> predicate)
Creates a
ProfilerImpl. |
| Modifier and Type | Method and Description |
|---|---|
static ProfilerImpl.Builder |
builder() |
Profiler.Profile |
profile(Iterable<List<Comparable>> rows,
List<Profiler.Column> columns,
Collection<ImmutableBitSet> initialGroups)
Creates a profile of a data set.
|
private final int combinationsPerPass
private final int interestingCount
private final com.google.common.base.Predicate<Pair<ProfilerImpl.Space,Profiler.Column>> predicate
ProfilerImpl(int combinationsPerPass,
int interestingCount,
com.google.common.base.Predicate<Pair<ProfilerImpl.Space,Profiler.Column>> predicate)
ProfilerImpl.combinationsPerPass - Maximum number of columns (or combinations of
columns) to compute each passinterestingCount - Minimum number of combinations considered
interestingpredicate - Whether a successor is considered interesting enough to
analyzepublic static ProfilerImpl.Builder builder()
public Profiler.Profile profile(Iterable<List<Comparable>> rows, List<Profiler.Column> columns, Collection<ImmutableBitSet> initialGroups)
Profilerprofile in interface Profilerrows - List of rows. Can be iterated over more than once (maybe not
cheaply)columns - Column definitionsinitialGroups - List of combinations of columns that should be
profiled early, because they may be interestingCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.