Index

A B C D E G H I K M N O P Q R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractTDigest - Class in org.elasticsearch.tdigest
 
AbstractTDigest() - Constructor for class org.elasticsearch.tdigest.AbstractTDigest
 
add(double) - Method in interface org.elasticsearch.tdigest.arrays.TDigestDoubleArray
 
add(double) - Method in class org.elasticsearch.tdigest.TDigest
Add a single sample to this TDigest.
add(double, long) - Method in class org.elasticsearch.tdigest.AVLTreeDigest
 
add(double, long) - Method in class org.elasticsearch.tdigest.Centroid
 
add(double, long) - Method in class org.elasticsearch.tdigest.HybridDigest
 
add(double, long) - Method in class org.elasticsearch.tdigest.MergingDigest
 
add(double, long) - Method in class org.elasticsearch.tdigest.SortingDigest
 
add(double, long) - Method in class org.elasticsearch.tdigest.TDigest
Adds a sample to a histogram.
add(TDigest) - Method in class org.elasticsearch.tdigest.AbstractTDigest
 
add(TDigest) - Method in class org.elasticsearch.tdigest.HybridDigest
 
add(TDigest) - Method in class org.elasticsearch.tdigest.TDigest
Add all of the centroids of another TDigest to this one.
adjustBreaker(long) - Method in interface org.elasticsearch.tdigest.arrays.TDigestArrays
 
apply(XContentParser, XContentParser.Token, XContentParser.Token) - Method in interface org.elasticsearch.tdigest.parsing.TDigestParser.ParsingExceptionProvider
 
AVLTreeDigest - Class in org.elasticsearch.tdigest
 

B

byteSize() - Method in class org.elasticsearch.tdigest.AVLTreeDigest
Returns an upper bound on the number bytes that will be required to represent this histogram.
byteSize() - Method in class org.elasticsearch.tdigest.HybridDigest
 
byteSize() - Method in class org.elasticsearch.tdigest.MergingDigest
 
byteSize() - Method in class org.elasticsearch.tdigest.SortingDigest
Returns an upper bound on the number bytes that will be required to represent this histogram.
byteSize() - Method in class org.elasticsearch.tdigest.TDigest
Returns the number of bytes required to encode this TDigest using #asBytes().

C

cdf(double) - Method in class org.elasticsearch.tdigest.AVLTreeDigest
 
cdf(double) - Method in class org.elasticsearch.tdigest.HybridDigest
 
cdf(double) - Method in class org.elasticsearch.tdigest.MergingDigest
 
cdf(double) - Method in class org.elasticsearch.tdigest.SortingDigest
 
cdf(double) - Method in class org.elasticsearch.tdigest.TDigest
Returns the fraction of all points added which are ≤ x.
cdf(double, double[]) - Static method in class org.elasticsearch.tdigest.Dist
 
cdf(double, List<Double>) - Static method in class org.elasticsearch.tdigest.Dist
 
cdf(double, TDigestDoubleArray) - Static method in class org.elasticsearch.tdigest.Dist
 
Centroid - Class in org.elasticsearch.tdigest
A single centroid which represents a number of data points.
Centroid(double) - Constructor for class org.elasticsearch.tdigest.Centroid
 
Centroid(double, long) - Constructor for class org.elasticsearch.tdigest.Centroid
 
Centroid(double, long, int) - Constructor for class org.elasticsearch.tdigest.Centroid
 
centroidCount() - Method in class org.elasticsearch.tdigest.AVLTreeDigest
 
centroidCount() - Method in class org.elasticsearch.tdigest.HybridDigest
 
centroidCount() - Method in class org.elasticsearch.tdigest.MergingDigest
 
centroidCount() - Method in class org.elasticsearch.tdigest.SortingDigest
 
centroidCount() - Method in class org.elasticsearch.tdigest.TDigest
 
centroids() - Method in class org.elasticsearch.tdigest.AVLTreeDigest
 
centroids() - Method in class org.elasticsearch.tdigest.HybridDigest
 
centroids() - Method in class org.elasticsearch.tdigest.MergingDigest
 
centroids() - Method in record class org.elasticsearch.tdigest.parsing.TDigestParser.ParsedTDigest
Returns the value of the centroids record component.
centroids() - Method in class org.elasticsearch.tdigest.SortingDigest
 
centroids() - Method in class org.elasticsearch.tdigest.TDigest
A Collection that lets you go through the centroids in ascending order by mean.
CENTROIDS_NAME - Static variable in class org.elasticsearch.tdigest.parsing.TDigestParser
 
close() - Method in class org.elasticsearch.tdigest.AVLTreeDigest
 
close() - Method in class org.elasticsearch.tdigest.HybridDigest
 
close() - Method in class org.elasticsearch.tdigest.MergingDigest
 
close() - Method in class org.elasticsearch.tdigest.SortingDigest
 
compareTo(Centroid) - Method in class org.elasticsearch.tdigest.Centroid
 
compress() - Method in class org.elasticsearch.tdigest.AVLTreeDigest
 
compress() - Method in class org.elasticsearch.tdigest.HybridDigest
 
compress() - Method in class org.elasticsearch.tdigest.MergingDigest
Merges any pending inputs and compresses the data down to the public setting.
compress() - Method in class org.elasticsearch.tdigest.SortingDigest
 
compress() - Method in class org.elasticsearch.tdigest.TDigest
Re-examines a t-digest to determine whether some centroids are redundant.
compression() - Method in class org.elasticsearch.tdigest.AVLTreeDigest
 
compression() - Method in class org.elasticsearch.tdigest.HybridDigest
 
compression() - Method in class org.elasticsearch.tdigest.MergingDigest
 
compression() - Method in class org.elasticsearch.tdigest.SortingDigest
 
compression() - Method in class org.elasticsearch.tdigest.TDigest
Returns the current compression factor.
count() - Method in class org.elasticsearch.tdigest.Centroid
 
count() - Method in record class org.elasticsearch.tdigest.parsing.TDigestParser.ParsedTDigest
 
counts() - Method in record class org.elasticsearch.tdigest.parsing.TDigestParser.ParsedTDigest
Returns the value of the counts record component.
COUNTS_NAME - Static variable in class org.elasticsearch.tdigest.parsing.TDigestParser
 
createAvlTreeDigest(TDigestArrays, double) - Static method in class org.elasticsearch.tdigest.TDigest
Creates an AVLTreeDigest.
createHybridDigest(TDigestArrays, double) - Static method in class org.elasticsearch.tdigest.TDigest
Creates a HybridDigest.
createMergingDigest(TDigestArrays, double) - Static method in class org.elasticsearch.tdigest.TDigest
Creates an MergingDigest.
createSortingDigest(TDigestArrays) - Static method in class org.elasticsearch.tdigest.TDigest
Creates a SortingDigest.

D

Dist - Class in org.elasticsearch.tdigest
Reference implementations for cdf and quantile if we have all data sorted.
Dist() - Constructor for class org.elasticsearch.tdigest.Dist
 

E

ensureCapacity(int) - Method in interface org.elasticsearch.tdigest.arrays.TDigestDoubleArray
 
ensureExpectedToken(XContentParser.Token, XContentParser.Token, XContentParser, TDigestParser.ParsingExceptionProvider) - Static method in class org.elasticsearch.tdigest.parsing.TDigestParser
 
equals(Object) - Method in class org.elasticsearch.tdigest.Centroid
 
equals(Object) - Method in record class org.elasticsearch.tdigest.parsing.TDigestParser.ParsedTDigest
Indicates whether some other object is "equal to" this one.

G

get(int) - Method in interface org.elasticsearch.tdigest.arrays.TDigestByteArray
 
get(int) - Method in interface org.elasticsearch.tdigest.arrays.TDigestDoubleArray
 
get(int) - Method in interface org.elasticsearch.tdigest.arrays.TDigestIntArray
 
get(int) - Method in interface org.elasticsearch.tdigest.arrays.TDigestLongArray
 
getMax() - Method in class org.elasticsearch.tdigest.HybridDigest
 
getMax() - Method in class org.elasticsearch.tdigest.TDigest
 
getMin() - Method in class org.elasticsearch.tdigest.HybridDigest
 
getMin() - Method in class org.elasticsearch.tdigest.TDigest
 
getScaleFunction() - Method in class org.elasticsearch.tdigest.MergingDigest
 

H

hashCode() - Method in class org.elasticsearch.tdigest.Centroid
 
hashCode() - Method in record class org.elasticsearch.tdigest.parsing.TDigestParser.ParsedTDigest
Returns a hash code value for this object.
HybridDigest - Class in org.elasticsearch.tdigest
Uses a SortingDigest implementation under the covers for small sample populations, then switches to MergingDigest.

I

id() - Method in class org.elasticsearch.tdigest.Centroid
 

K

k(double, double) - Method in enum class org.elasticsearch.tdigest.ScaleFunction
Converts a quantile to the k-scale.
k(double, double, double) - Method in enum class org.elasticsearch.tdigest.ScaleFunction
Converts a quantile to the k-scale.
K_0 - Enum constant in enum class org.elasticsearch.tdigest.ScaleFunction
Generates uniform cluster sizes.
K_1 - Enum constant in enum class org.elasticsearch.tdigest.ScaleFunction
Generates cluster sizes proportional to sqrt(q*(1-q)).
K_1_FAST - Enum constant in enum class org.elasticsearch.tdigest.ScaleFunction
Generates cluster sizes proportional to sqrt(q*(1-q)) but avoids computation of asin in the critical path by using an approximate version.
K_2 - Enum constant in enum class org.elasticsearch.tdigest.ScaleFunction
Generates cluster sizes proportional to q*(1-q).
K_2_NO_NORM - Enum constant in enum class org.elasticsearch.tdigest.ScaleFunction
Generates cluster sizes proportional to q*(1-q).
K_3 - Enum constant in enum class org.elasticsearch.tdigest.ScaleFunction
Generates cluster sizes proportional to min(q, 1-q).
K_3_NO_NORM - Enum constant in enum class org.elasticsearch.tdigest.ScaleFunction
Generates cluster sizes proportional to min(q, 1-q).

M

max() - Method in record class org.elasticsearch.tdigest.parsing.TDigestParser.ParsedTDigest
Returns the value of the max record component.
max(double, double) - Method in enum class org.elasticsearch.tdigest.ScaleFunction
Computes the maximum relative size a cluster can have at quantile q.
max(double, double, double) - Method in enum class org.elasticsearch.tdigest.ScaleFunction
Computes the maximum relative size a cluster can have at quantile q.
MAX_FIELD_NAME - Static variable in class org.elasticsearch.tdigest.parsing.TDigestParser
 
mean() - Method in class org.elasticsearch.tdigest.Centroid
 
MergingDigest - Class in org.elasticsearch.tdigest
Maintains a t-digest by collecting new points in a buffer that is then sorted occasionally and merged into a sorted array that contains previously computed centroids.
min() - Method in record class org.elasticsearch.tdigest.parsing.TDigestParser.ParsedTDigest
Returns the value of the min record component.
MIN_FIELD_NAME - Static variable in class org.elasticsearch.tdigest.parsing.TDigestParser
 

N

newByteArray(int) - Method in interface org.elasticsearch.tdigest.arrays.TDigestArrays
 
newDoubleArray(int) - Method in interface org.elasticsearch.tdigest.arrays.TDigestArrays
 
newIntArray(int) - Method in interface org.elasticsearch.tdigest.arrays.TDigestArrays
 
newLongArray(int) - Method in interface org.elasticsearch.tdigest.arrays.TDigestArrays
 
normalizer(double, double) - Method in enum class org.elasticsearch.tdigest.ScaleFunction
Computes the normalizer given compression and number of points.

O

org.elasticsearch.tdigest - module org.elasticsearch.tdigest
 
org.elasticsearch.tdigest - package org.elasticsearch.tdigest
T-Digest library
org.elasticsearch.tdigest.arrays - package org.elasticsearch.tdigest.arrays
 
org.elasticsearch.tdigest.parsing - package org.elasticsearch.tdigest.parsing
Parsing package contains Elasticsearch specific classes for serializing and deserializing t-digests from various formats via Elasticsearch's XContent abstraction layer.

P

parse(String, XContentParser, BiFunction<XContentLocation, String, RuntimeException>, TDigestParser.ParsingExceptionProvider) - Static method in class org.elasticsearch.tdigest.parsing.TDigestParser
Parses an XContent object into a histogram.
ParsedTDigest(List<Double>, List<Long>, Double, Double, Double) - Constructor for record class org.elasticsearch.tdigest.parsing.TDigestParser.ParsedTDigest
Creates an instance of a ParsedTDigest record class.

Q

q(double, double) - Method in enum class org.elasticsearch.tdigest.ScaleFunction
Computes q as a function of k.
q(double, double, double) - Method in enum class org.elasticsearch.tdigest.ScaleFunction
Computes q as a function of k.
quantile(double) - Method in class org.elasticsearch.tdigest.AVLTreeDigest
 
quantile(double) - Method in class org.elasticsearch.tdigest.HybridDigest
 
quantile(double) - Method in class org.elasticsearch.tdigest.MergingDigest
 
quantile(double) - Method in class org.elasticsearch.tdigest.SortingDigest
 
quantile(double) - Method in class org.elasticsearch.tdigest.TDigest
Returns an estimate of a cutoff such that a specified fraction of the data added to this TDigest would be less than or equal to the cutoff.
quantile(double, double[]) - Static method in class org.elasticsearch.tdigest.Dist
 
quantile(double, List<Double>) - Static method in class org.elasticsearch.tdigest.Dist
 
quantile(double, TDigestDoubleArray) - Static method in class org.elasticsearch.tdigest.Dist
 

R

ramBytesUsed() - Method in class org.elasticsearch.tdigest.AVLTreeDigest
 
ramBytesUsed() - Method in class org.elasticsearch.tdigest.HybridDigest
 
ramBytesUsed() - Method in class org.elasticsearch.tdigest.MergingDigest
 
ramBytesUsed() - Method in class org.elasticsearch.tdigest.SortingDigest
 
reserve(long) - Method in class org.elasticsearch.tdigest.HybridDigest
 
reserve(long) - Method in class org.elasticsearch.tdigest.SortingDigest
 
reserve(long) - Method in class org.elasticsearch.tdigest.TDigest
Prepare internal structure for loading the requested number of samples.
resize(int) - Method in interface org.elasticsearch.tdigest.arrays.TDigestByteArray
Resizes the array.
resize(int) - Method in interface org.elasticsearch.tdigest.arrays.TDigestDoubleArray
Resizes the array.
resize(int) - Method in interface org.elasticsearch.tdigest.arrays.TDigestIntArray
Resizes the array.
resize(int) - Method in interface org.elasticsearch.tdigest.arrays.TDigestLongArray
Resizes the array.
reverse(TDigestDoubleArray, int, int) - Static method in class org.elasticsearch.tdigest.Sort
Reverses part of an array.
reverse(TDigestIntArray, int, int) - Static method in class org.elasticsearch.tdigest.Sort
Reverses part of an array.

S

scale - Variable in class org.elasticsearch.tdigest.TDigest
 
ScaleFunction - Enum Class in org.elasticsearch.tdigest
Encodes the various scale functions for t-digests.
set(int, byte) - Method in interface org.elasticsearch.tdigest.arrays.TDigestByteArray
 
set(int, double) - Method in interface org.elasticsearch.tdigest.arrays.TDigestDoubleArray
 
set(int, int) - Method in interface org.elasticsearch.tdigest.arrays.TDigestIntArray
 
set(int, long) - Method in interface org.elasticsearch.tdigest.arrays.TDigestLongArray
 
set(int, TDigestDoubleArray, int, int) - Method in interface org.elasticsearch.tdigest.arrays.TDigestDoubleArray
Copies len elements from buf to this array.
set(int, TDigestIntArray, int, int) - Method in interface org.elasticsearch.tdigest.arrays.TDigestIntArray
Copies len elements from buf to this array.
setRandomSeed(long) - Method in class org.elasticsearch.tdigest.AVLTreeDigest
Sets the seed for the RNG.
setScaleFunction(ScaleFunction) - Method in class org.elasticsearch.tdigest.MergingDigest
 
setScaleFunction(ScaleFunction) - Method in class org.elasticsearch.tdigest.TDigest
 
size() - Method in interface org.elasticsearch.tdigest.arrays.TDigestByteArray
 
size() - Method in interface org.elasticsearch.tdigest.arrays.TDigestDoubleArray
 
size() - Method in interface org.elasticsearch.tdigest.arrays.TDigestIntArray
 
size() - Method in interface org.elasticsearch.tdigest.arrays.TDigestLongArray
 
size() - Method in class org.elasticsearch.tdigest.AVLTreeDigest
Returns the number of samples represented in this histogram.
size() - Method in class org.elasticsearch.tdigest.HybridDigest
 
size() - Method in class org.elasticsearch.tdigest.MergingDigest
 
size() - Method in class org.elasticsearch.tdigest.SortingDigest
 
size() - Method in class org.elasticsearch.tdigest.TDigest
Returns the number of points that have been added to this TDigest.
sort() - Method in interface org.elasticsearch.tdigest.arrays.TDigestDoubleArray
Sorts the array in place in ascending order.
Sort - Class in org.elasticsearch.tdigest
Static sorting methods
Sort() - Constructor for class org.elasticsearch.tdigest.Sort
 
SortingDigest - Class in org.elasticsearch.tdigest
Simple implementation of the TDigest interface that stores internally and sorts all samples to calculate quantiles and CDFs.
stableSort(TDigestIntArray, TDigestDoubleArray, int) - Static method in class org.elasticsearch.tdigest.Sort
Single-key stabilized quick sort on using an index array
sum() - Method in record class org.elasticsearch.tdigest.parsing.TDigestParser.ParsedTDigest
Returns the value of the sum record component.
SUM_FIELD_NAME - Static variable in class org.elasticsearch.tdigest.parsing.TDigestParser
 

T

TDigest - Class in org.elasticsearch.tdigest
Adaptive histogram based on something like streaming k-means crossed with Q-digest.
TDigest() - Constructor for class org.elasticsearch.tdigest.TDigest
 
TDigestArrays - Interface in org.elasticsearch.tdigest.arrays
Minimal interface for BigArrays-like classes used within TDigest.
TDigestByteArray - Interface in org.elasticsearch.tdigest.arrays
Minimal interface for ByteArray-like classes used within TDigest.
TDigestDoubleArray - Interface in org.elasticsearch.tdigest.arrays
Minimal interface for DoubleArray-like classes used within TDigest.
TDigestIntArray - Interface in org.elasticsearch.tdigest.arrays
Minimal interface for IntArray-like classes used within TDigest.
T-Digest library - Search tag in package org.elasticsearch.tdigest
Section
TDigestLongArray - Interface in org.elasticsearch.tdigest.arrays
Minimal interface for LongArray-like classes used within TDigest.
TDigestParser - Class in org.elasticsearch.tdigest.parsing
 
TDigestParser() - Constructor for class org.elasticsearch.tdigest.parsing.TDigestParser
 
TDigestParser.ParsedTDigest - Record Class in org.elasticsearch.tdigest.parsing
A parsed t-digest field
TDigestParser.ParsingExceptionProvider - Interface in org.elasticsearch.tdigest.parsing
Interface for throwing a parsing exception, needed for visibility
toString() - Method in class org.elasticsearch.tdigest.Centroid
 
toString() - Method in class org.elasticsearch.tdigest.MergingDigest
 
toString() - Method in record class org.elasticsearch.tdigest.parsing.TDigestParser.ParsedTDigest
Returns a string representation of this record class.

U

useAlternatingSort - Variable in class org.elasticsearch.tdigest.MergingDigest
 
useTwoLevelCompression - Variable in class org.elasticsearch.tdigest.MergingDigest
 
useWeightLimit - Static variable in class org.elasticsearch.tdigest.MergingDigest
 

V

valueOf(String) - Static method in enum class org.elasticsearch.tdigest.ScaleFunction
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.elasticsearch.tdigest.ScaleFunction
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D E G H I K M N O P Q R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values