Package | Description |
---|---|
org.apache.datasketches.frequencies |
This package is dedicated to streaming algorithms that enable estimation of the
frequency of occurrence of items in a weighted multiset stream of items.
|
Modifier and Type | Method and Description |
---|---|
ItemsSketch.Row<T>[] |
ItemsSketch.getFrequentItems(ErrorType errorType)
Returns an array of Rows that include frequent items, estimates, upper and lower bounds
given an ErrorCondition and the default threshold.
|
ItemsSketch.Row<T>[] |
ItemsSketch.getFrequentItems(long threshold,
ErrorType errorType)
Returns an array of Rows that include frequent items, estimates, upper and lower bounds
given a threshold and an ErrorCondition.
|
Modifier and Type | Method and Description |
---|---|
int |
ItemsSketch.Row.compareTo(ItemsSketch.Row<T> that)
This compareTo is strictly limited to the Row.getEstimate() value and does not imply any
ordering whatsoever to the other elements of the row: item and upper and lower bounds.
|
Copyright © 2015–2024 The Apache Software Foundation. All rights reserved.