Package | Description |
---|---|
org.apache.datasketches.frequencies |
This package is dedicated to streaming algorithms that enable estimation of the
frequency of occurence of items in a weighted multiset stream of items.
|
Modifier and Type | Method and Description |
---|---|
LongsSketch.Row[] |
LongsSketch.getFrequentItems(ErrorType errorType)
Returns an array of Rows that include frequent items, estimates, upper and lower bounds
given an ErrorCondition and the default threshold.
|
LongsSketch.Row[] |
LongsSketch.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 |
LongsSketch.Row.compareTo(LongsSketch.Row 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–2021 The Apache Software Foundation. All rights reserved.