| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final int | |
| private TreeMap |
| Access | Constructor and Description |
|---|---|
| pack-priv | AggregateDataDistinctWithCounts(boolean
whether NULL values should be ignored ignoreNulls, int maximum count of distinct values to collect maxDistinctCount)Creates new instance of data for aggregate that needs distinct values with their counts. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | add(SessionLocal
the session session, Value the value v)Implements abstract org. Add a value to this aggregate. |
| pack-priv Value | getValue(SessionLocal
the session session)Implements abstract org. Get the aggregate result. |
| pack-priv TreeMap |
| ignoreNulls | back to summary |
|---|---|
| private final boolean ignoreNulls | |
| maxDistinctCount | back to summary |
|---|---|
| private final int maxDistinctCount | |
| values | back to summary |
|---|---|
| private TreeMap<Value, LongDataCounter> values | |
| AggregateDataDistinctWithCounts | back to summary |
|---|---|
| pack-priv AggregateDataDistinctWithCounts(boolean ignoreNulls, int maxDistinctCount) Creates new instance of data for aggregate that needs distinct values with their counts.
| |
| add | back to summary |
|---|---|
| pack-priv void add(SessionLocal session, Value v) Implements abstract org. Doc from org. Add a value to this aggregate.
| |
| getValue | back to summary |
|---|---|
| pack-priv Value getValue(SessionLocal session) Implements abstract org. Doc from org. Get the aggregate result.
| |
| getValues | back to summary |
|---|---|
| pack-priv TreeMap Returns map with values and their counts.
| |