public interface TDigestSketchCommands
| Modifier and Type | Method and Description |
|---|---|
String |
tdigestAdd(String key,
double... values)
TDIGEST.ADD key value weight [ value weight ...] |
List<Double> |
tdigestByRank(String key,
long... ranks) |
List<Double> |
tdigestByRevRank(String key,
long... ranks) |
List<Double> |
tdigestCDF(String key,
double... values)
TDIGEST.CDF key value [value ...] |
String |
tdigestCreate(String key)
TDIGEST.CREATE key |
String |
tdigestCreate(String key,
int compression)
TDIGEST.CREATE key [compression] |
Map<String,Object> |
tdigestInfo(String key)
TDIGEST.INFO key |
double |
tdigestMax(String key)
TDIGEST.MAX key |
String |
tdigestMerge(String destinationKey,
String... sourceKeys)
TDIGEST.MERGE destination-key numkeys source-key [source-key ...] |
String |
tdigestMerge(TDigestMergeParams mergeParams,
String destinationKey,
String... sourceKeys)
TDIGEST.MERGE destination-key numkeys source-key [source-key ...]
[COMPRESSION compression] [OVERRIDE] |
double |
tdigestMin(String key)
TDIGEST.MIN key |
List<Double> |
tdigestQuantile(String key,
double... quantiles)
TDIGEST.QUANTILE key quantile [quantile ...] |
List<Long> |
tdigestRank(String key,
double... values) |
String |
tdigestReset(String key)
TDIGEST.RESET key |
List<Long> |
tdigestRevRank(String key,
double... values) |
double |
tdigestTrimmedMean(String key,
double lowCutQuantile,
double highCutQuantile)
TDIGEST.TRIMMED_MEAN key low_cut_quantile high_cut_quantile |
String tdigestCreate(String key)
TDIGEST.CREATE keykey - The name of the sketch (a t-digest data structure)String tdigestCreate(String key, int compression)
TDIGEST.CREATE key [compression]key - The name of the sketch (a t-digest data structure)compression - The compression parameter. 100 is a common value for normal uses. 1000 is extremely large.String tdigestReset(String key)
TDIGEST.RESET keykey - The name of the sketch (a t-digest data structure)String tdigestMerge(String destinationKey, String... sourceKeys)
TDIGEST.MERGE destination-key numkeys source-key [source-key ...]destinationKey - Sketch to copy observation values to (a t-digest data structure)sourceKeys - Sketch(es) to copy observation values from (a t-digest data structure)String tdigestMerge(TDigestMergeParams mergeParams, String destinationKey, String... sourceKeys)
TDIGEST.MERGE destination-key numkeys source-key [source-key ...]
[COMPRESSION compression] [OVERRIDE]mergeParams - compression and override optionsdestinationKey - Sketch to copy observation values to (a t-digest data structure)sourceKeys - Sketch(es) to copy observation values from (a t-digest data structure)Map<String,Object> tdigestInfo(String key)
TDIGEST.INFO keykey - The name of the sketch (a t-digest data structure)String tdigestAdd(String key, double... values)
TDIGEST.ADD key value weight [ value weight ...]key - The name of the sketch (a t-digest data structure)values - The value of the observation (floating-point)List<Double> tdigestCDF(String key, double... values)
TDIGEST.CDF key value [value ...]key - The name of the sketch (a t-digest data structure)values - upper limit of observation value, for which the fraction of all observations added which are ≤ valueList<Double> tdigestQuantile(String key, double... quantiles)
TDIGEST.QUANTILE key quantile [quantile ...]key - The name of the sketch (a t-digest data structure)quantiles - The desired fraction(s) (between 0 and 1 inclusively)double tdigestMin(String key)
TDIGEST.MIN keykey - The name of the sketch (a t-digest data structure)double tdigestMax(String key)
TDIGEST.MAX keykey - The name of the sketch (a t-digest data structure)double tdigestTrimmedMean(String key, double lowCutQuantile, double highCutQuantile)
TDIGEST.TRIMMED_MEAN key low_cut_quantile high_cut_quantilekey - The name of the sketch (a t-digest data structure)lowCutQuantile - Exclude observation values lower than this quantilehighCutQuantile - Exclude observation values higher than this quantileCopyright © 2024. All rights reserved.