static class SimpleProfiler.Space extends java.lang.Object implements java.lang.Comparable<SimpleProfiler.Space>
Modifier and Type | Field and Description |
---|---|
(package private) ImmutableBitSet |
columnOrdinals |
(package private) com.google.common.collect.ImmutableSortedSet<Profiler.Column> |
columns |
(package private) java.util.BitSet |
dependencies |
(package private) java.util.Set<ImmutableBitSet> |
dependents |
(package private) int |
nullCount |
(package private) boolean |
unique |
(package private) java.util.SortedSet<FlatLists.ComparableList<java.lang.Comparable>> |
values |
Constructor and Description |
---|
Space(ImmutableBitSet columnOrdinals,
java.lang.Iterable<Profiler.Column> columns) |
Modifier and Type | Method and Description |
---|---|
double |
cardinality()
Number of distinct values.
|
int |
compareTo(SimpleProfiler.Space o) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
final ImmutableBitSet columnOrdinals
final com.google.common.collect.ImmutableSortedSet<Profiler.Column> columns
int nullCount
final java.util.SortedSet<FlatLists.ComparableList<java.lang.Comparable>> values
boolean unique
final java.util.BitSet dependencies
final java.util.Set<ImmutableBitSet> dependents
Space(ImmutableBitSet columnOrdinals, java.lang.Iterable<Profiler.Column> columns)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(@Nonnull SimpleProfiler.Space o)
compareTo
in interface java.lang.Comparable<SimpleProfiler.Space>
public double cardinality()
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.