Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractExponentialHistogram - Class in org.elasticsearch.exponentialhistogram
-
Basic implementation for
ExponentialHistogramwith common functionality. - AbstractExponentialHistogram() - Constructor for class org.elasticsearch.exponentialhistogram.AbstractExponentialHistogram
- add(double) - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramGenerator
-
Adds the given value to the histogram.
- add(ExponentialHistogram) - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramMerger
-
Merges the given histogram into the current result.
- addWithoutUpscaling(ExponentialHistogram) - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramMerger
-
Merges the given histogram into the current result, not upscaling it.
- adjustBreaker(long) - Method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogramCircuitBreaker
-
Adjusts the circuit breaker, potentially throwing an exception if the limit is exceeded.
- advance() - Method in interface org.elasticsearch.exponentialhistogram.BucketIterator
-
Moves the iterator to the next, non-empty bucket.
B
- BUCKET_COUNTS_FIELD - Static variable in class org.elasticsearch.exponentialhistogram.ExponentialHistogramXContent
- BUCKET_INDICES_FIELD - Static variable in class org.elasticsearch.exponentialhistogram.ExponentialHistogramXContent
- bucketCount() - Method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram.Buckets
-
Returns the number of buckets.
- BucketIterator - Interface in org.elasticsearch.exponentialhistogram
-
An iterator over the non-empty buckets of the histogram for either the positive or negative range.
- build() - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramBuilder
- builder(int, ExponentialHistogramCircuitBreaker) - Static method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
-
Create a builder for an exponential histogram with the given scale.
- builder(ExponentialHistogram, ExponentialHistogramCircuitBreaker) - Static method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
-
Create a builder for an exponential histogram, which is initialized to copy the given histogram.
C
- close() - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramBuilder
- close() - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramGenerator
- close() - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramMerger
- collapseOverlappingBuckets(BucketIterator) - Method in class org.elasticsearch.exponentialhistogram.ZeroBucket
-
Collapses all buckets from the given iterator whose lower boundaries are smaller than the zero threshold.
- collapseOverlappingBucketsForAll(BucketIterator...) - Method in class org.elasticsearch.exponentialhistogram.ZeroBucket
-
Collapses all buckets from the given iterators whose lower boundaries are smaller than the zero threshold.
- compareExponentiallyScaledValues(long, int, long, int) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialScaleUtils
-
Compares the lower boundaries of two buckets, which may have different scales.
- compareZeroThreshold(ZeroBucket) - Method in class org.elasticsearch.exponentialhistogram.ZeroBucket
-
Compares the zero threshold of this bucket with another one.
- CompressedExponentialHistogram - Class in org.elasticsearch.exponentialhistogram
-
Implementation of a
ExponentialHistogramoptimized for a minimal memory footprint. - CompressedExponentialHistogram() - Constructor for class org.elasticsearch.exponentialhistogram.CompressedExponentialHistogram
- computeIndex(double, int) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialScaleUtils
-
Provides the index of the bucket of the exponential histogram with the given scale that contains the provided value.
- copy() - Method in interface org.elasticsearch.exponentialhistogram.CopyableBucketIterator
-
Creates a copy of this bucket iterator, pointing at the same bucket of the same range of buckets.
- CopyableBucketIterator - Interface in org.elasticsearch.exponentialhistogram
-
A
BucketIteratorthat can be copied. - count() - Method in class org.elasticsearch.exponentialhistogram.ZeroBucket
- create(double, long) - Static method in class org.elasticsearch.exponentialhistogram.ZeroBucket
-
Creates a zero bucket from the given threshold represented as double.
- create(int, ExponentialHistogramCircuitBreaker) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramGenerator
-
Creates a new instance with the specified maximum number of buckets.
- create(int, ExponentialHistogramCircuitBreaker) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramMerger
-
Creates a new instance with the specified bucket limit.
- create(int, ExponentialHistogramCircuitBreaker, double...) - Static method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
-
Creates a histogram representing the distribution of the given values with at most the given number of buckets.
- create(long, int, long) - Static method in class org.elasticsearch.exponentialhistogram.ZeroBucket
-
Creates a zero bucket from the given threshold represented as exponentially scaled number.
- create(ExponentialHistogramCircuitBreaker) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramMerger
-
Creates a new instance with the OpenTelemetry SDK default bucket limit of
ExponentialHistogramMerger.MAX_HISTOGRAM_BUCKETS - createWithMaxScale(int, int, ExponentialHistogramCircuitBreaker) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramMerger
D
- Distributions with Few Distinct Values - Search tag in package org.elasticsearch.exponentialhistogram
- Section
E
- empty() - Static method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
- empty() - Static method in interface org.elasticsearch.exponentialhistogram.ReleasableExponentialHistogram
- equals(Object) - Method in class org.elasticsearch.exponentialhistogram.AbstractExponentialHistogram
- equals(Object) - Method in record class org.elasticsearch.exponentialhistogram.ExponentialHistogramUtils.HistogramPair
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.elasticsearch.exponentialhistogram.ZeroBucket
- equals(ExponentialHistogram, ExponentialHistogram) - Static method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
-
Value-based equality for exponential histograms.
- estimatedBucketCount(int) - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramBuilder
-
If known, sets the estimated total number of buckets to minimize unnecessary allocations.
- estimateMax(ZeroBucket, ExponentialHistogram.Buckets, ExponentialHistogram.Buckets) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramUtils
-
Estimates the maximum value of the histogram based on the populated buckets.
- estimateMin(ZeroBucket, ExponentialHistogram.Buckets, ExponentialHistogram.Buckets) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramUtils
-
Estimates the minimum value of the histogram based on the populated buckets.
- estimateRank(ExponentialHistogram, double, boolean) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramQuantile
-
Estimates the rank of a given value in the distribution represented by the histogram.
- estimateSum(BucketIterator, BucketIterator) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramUtils
-
Estimates the sum of all values of a histogram just based on the populated buckets.
- ExponentialHistogram - Interface in org.elasticsearch.exponentialhistogram
-
Interface for implementations of exponential histograms adhering to the OpenTelemetry definition.
- ExponentialHistogram.Buckets - Interface in org.elasticsearch.exponentialhistogram
-
Represents a bucket range of an
ExponentialHistogram, either the positive or the negative range. - ExponentialHistogramBuilder - Class in org.elasticsearch.exponentialhistogram
-
A builder for building a
ReleasableExponentialHistogramdirectly from buckets. - ExponentialHistogramCircuitBreaker - Interface in org.elasticsearch.exponentialhistogram
-
Interface for a memory-allocation circuit breaker used for
ReleasableExponentialHistograms. - ExponentialHistogramGenerator - Class in org.elasticsearch.exponentialhistogram
-
Only intended for use in tests currently.
- ExponentialHistogramMerger - Class in org.elasticsearch.exponentialhistogram
-
Allows accumulating multiple
ExponentialHistograminto a single one while keeping the bucket count in the result below a given limit. - ExponentialHistogramQuantile - Class in org.elasticsearch.exponentialhistogram
-
Provides quantile estimation for
ExponentialHistograminstances. - ExponentialHistogramQuantile() - Constructor for class org.elasticsearch.exponentialhistogram.ExponentialHistogramQuantile
- ExponentialHistogramUtils - Class in org.elasticsearch.exponentialhistogram
- ExponentialHistogramUtils() - Constructor for class org.elasticsearch.exponentialhistogram.ExponentialHistogramUtils
- ExponentialHistogramUtils.HistogramPair - Record Class in org.elasticsearch.exponentialhistogram
- ExponentialHistogramXContent - Class in org.elasticsearch.exponentialhistogram
-
Handles the serialization of an
ExponentialHistogramto XContent. - ExponentialHistogramXContent() - Constructor for class org.elasticsearch.exponentialhistogram.ExponentialHistogramXContent
- ExponentialScaleUtils - Class in org.elasticsearch.exponentialhistogram
-
A collection of utility methods for working with indices and scales of exponential bucket histograms.
- ExponentialScaleUtils() - Constructor for class org.elasticsearch.exponentialhistogram.ExponentialScaleUtils
F
- first() - Method in record class org.elasticsearch.exponentialhistogram.ExponentialHistogramUtils.HistogramPair
-
Returns the value of the
firstrecord component.
G
- get() - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramMerger
-
Gets the current merged histogram without clearing this merger.
- getAndClear() - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramGenerator
-
Returns the histogram representing the distribution of all accumulated values.
- getAndClear() - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramMerger
-
Returns the merged histogram and clears this merger.
- getLowerBucketBoundary(long, int) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialScaleUtils
-
Returns the lower boundary of the bucket with the given index and scale.
- getMaximumScaleIncrease(long) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialScaleUtils
-
Returns the maximum permissible scale increase that does not cause the index to grow out of the [
ExponentialHistogram.MIN_INDEX,ExponentialHistogram.MIN_INDEX] range. - getPointOfLeastRelativeError(long, int) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialScaleUtils
-
For a bucket with the given index, computes the point
xin the bucket such that(x - l) / lequals(u - x) / u, wherelis the lower bucket boundary anduis the upper bucket boundary. - getQuantile(ExponentialHistogram, double) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramQuantile
-
Estimates a quantile for the distribution represented by the given histogram.
- getUpperBucketBoundary(long, int) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialScaleUtils
-
Returns the upper boundary of the bucket with the given index and scale.
H
- Handling Explicit Bucket Histograms - Search tag in package org.elasticsearch.exponentialhistogram
- Section
- hashCode() - Method in class org.elasticsearch.exponentialhistogram.AbstractExponentialHistogram
- hashCode() - Method in record class org.elasticsearch.exponentialhistogram.ExponentialHistogramUtils.HistogramPair
-
Returns a hash code value for this object.
- hashCode() - Method in class org.elasticsearch.exponentialhistogram.ZeroBucket
- hashCode(ExponentialHistogram) - Static method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
-
Default hash code implementation to be used with
ExponentialHistogram.equals(ExponentialHistogram, ExponentialHistogram). - hasNext() - Method in interface org.elasticsearch.exponentialhistogram.BucketIterator
-
Checks if there are any buckets remaining to be visited by this iterator.
- HistogramPair(ExponentialHistogram, ExponentialHistogram) - Constructor for record class org.elasticsearch.exponentialhistogram.ExponentialHistogramUtils.HistogramPair
-
Creates an instance of a
HistogramPairrecord class.
I
- index() - Method in class org.elasticsearch.exponentialhistogram.ZeroBucket
- isIndexBased() - Method in class org.elasticsearch.exponentialhistogram.ZeroBucket
- iterator() - Method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram.Buckets
M
- max() - Method in class org.elasticsearch.exponentialhistogram.CompressedExponentialHistogram
- max() - Method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
-
Returns maximum of all values represented by this histogram.
- max(double) - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramBuilder
-
Sets the max value of the histogram values.
- MAX_FIELD - Static variable in class org.elasticsearch.exponentialhistogram.ExponentialHistogramXContent
- MAX_INDEX - Static variable in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
- MAX_INDEX_BITS - Static variable in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
- MAX_SCALE - Static variable in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
- maxBucketIndex() - Method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram.Buckets
- merge(int, ExponentialHistogramCircuitBreaker, Iterator<? extends ExponentialHistogram>) - Static method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
-
Merges the provided exponential histograms to a new, single histogram with at most the given amount of buckets.
- merge(int, ExponentialHistogramCircuitBreaker, ExponentialHistogram...) - Static method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
-
Merges the provided exponential histograms to a new, single histogram with at most the given amount of buckets.
- merge(ZeroBucket) - Method in class org.elasticsearch.exponentialhistogram.ZeroBucket
-
Merges this zero bucket with another one.
- Merging Algorithm - Search tag in package org.elasticsearch.exponentialhistogram
- Section
- min() - Method in class org.elasticsearch.exponentialhistogram.CompressedExponentialHistogram
- min() - Method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
-
Returns minimum of all values represented by this histogram.
- min(double) - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramBuilder
-
Sets the min value of the histogram values.
- MIN_FIELD - Static variable in class org.elasticsearch.exponentialhistogram.ExponentialHistogramXContent
- MIN_INDEX - Static variable in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
- MIN_SCALE - Static variable in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
- minimalEmpty() - Static method in class org.elasticsearch.exponentialhistogram.ZeroBucket
- minimalWithCount(long) - Static method in class org.elasticsearch.exponentialhistogram.ZeroBucket
-
Creates a zero bucket with the smallest possible threshold and a given count.
N
- NEGATIVE_FIELD - Static variable in class org.elasticsearch.exponentialhistogram.ExponentialHistogramXContent
- negativeBuckets() - Method in class org.elasticsearch.exponentialhistogram.CompressedExponentialHistogram
- negativeBuckets() - Method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
- noop() - Static method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogramCircuitBreaker
O
- org.elasticsearch.exponentialhistogram - module org.elasticsearch.exponentialhistogram
- org.elasticsearch.exponentialhistogram - package org.elasticsearch.exponentialhistogram
-
This library provides an implementation of merging and analysis algorithms for exponential histograms based on the OpenTelemetry definition.
- Overview - Search tag in package org.elasticsearch.exponentialhistogram
- Section
P
- parseForTesting(Map<String, Object>) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramXContent
-
Parses an
ExponentialHistogramfrom aMap. - parseForTesting(XContentParser) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramXContent
-
Parses an
ExponentialHistogramfrom the providedXContentParser. - peekCount() - Method in interface org.elasticsearch.exponentialhistogram.BucketIterator
-
The number of items in the bucket at the current iterator position.
- peekIndex() - Method in interface org.elasticsearch.exponentialhistogram.BucketIterator
-
The index of the bucket at the current iterator position.
- POSITIVE_FIELD - Static variable in class org.elasticsearch.exponentialhistogram.ExponentialHistogramXContent
- positiveBuckets() - Method in class org.elasticsearch.exponentialhistogram.CompressedExponentialHistogram
- positiveBuckets() - Method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
R
- ramBytesUsed() - Method in class org.elasticsearch.exponentialhistogram.CompressedExponentialHistogram
- ramBytesUsed() - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramGenerator
- ramBytesUsed() - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramMerger
- ReleasableExponentialHistogram - Interface in org.elasticsearch.exponentialhistogram
-
A histogram which participates in the
ExponentialHistogramCircuitBreakerand therefore requires proper releasing. - removeMergeNoise(ExponentialHistogram, ExponentialHistogram) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramUtils
-
Makes sure that if both histograms were generated by merging the same set of histograms, they are equal independent of the order in which the merge occurred.
- reset(double, long, double, double, double, BytesRef) - Method in class org.elasticsearch.exponentialhistogram.CompressedExponentialHistogram
-
Resets this instance to decode the provided histogram data.
S
- scale() - Method in interface org.elasticsearch.exponentialhistogram.BucketIterator
-
Provides the scale that can be used to convert indices returned by
BucketIterator.peekIndex()to the bucket boundaries, e.g., viaExponentialScaleUtils.getLowerBucketBoundary(long, int). - scale() - Method in class org.elasticsearch.exponentialhistogram.CompressedExponentialHistogram
- scale() - Method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
-
The scale of the histogram.
- scale() - Method in class org.elasticsearch.exponentialhistogram.ZeroBucket
- scale(int) - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramBuilder
- SCALE_FIELD - Static variable in class org.elasticsearch.exponentialhistogram.ExponentialHistogramXContent
- second() - Method in record class org.elasticsearch.exponentialhistogram.ExponentialHistogramUtils.HistogramPair
-
Returns the value of the
secondrecord component. - serialize(XContentBuilder, ExponentialHistogram) - Static method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramXContent
-
Serializes an
ExponentialHistogramto the providedXContentBuilder. - setNegativeBucket(long, long) - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramBuilder
-
Sets the given bucket of the negative buckets.
- setPositiveBucket(long, long) - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramBuilder
-
Sets the given bucket of the positive buckets.
- SHALLOW_SIZE - Static variable in class org.elasticsearch.exponentialhistogram.ZeroBucket
- sum() - Method in class org.elasticsearch.exponentialhistogram.CompressedExponentialHistogram
- sum() - Method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
-
Returns the sum of all values represented by this histogram.
- sum(double) - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramBuilder
-
Sets the sum of the histogram values.
- SUM_FIELD - Static variable in class org.elasticsearch.exponentialhistogram.ExponentialHistogramXContent
T
- toString() - Method in class org.elasticsearch.exponentialhistogram.AbstractExponentialHistogram
- toString() - Method in record class org.elasticsearch.exponentialhistogram.ExponentialHistogramUtils.HistogramPair
-
Returns a string representation of this record class.
U
- Upscaling - Search tag in package org.elasticsearch.exponentialhistogram
- Section
V
- valueCount() - Method in class org.elasticsearch.exponentialhistogram.AbstractExponentialHistogram
- valueCount() - Method in class org.elasticsearch.exponentialhistogram.CompressedExponentialHistogram
- valueCount() - Method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram.Buckets
- valueCount() - Method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
-
Returns the number of values represented by this histogram.
W
- writeHistogramBytes(OutputStream, int, BucketIterator, BucketIterator) - Static method in class org.elasticsearch.exponentialhistogram.CompressedExponentialHistogram
-
Serializes the given histogram, so that exactly the same data can be reconstructed via
CompressedExponentialHistogram.reset(double, long, double, double, double, BytesRef).
Z
- ZERO_COUNT_FIELD - Static variable in class org.elasticsearch.exponentialhistogram.ExponentialHistogramXContent
- ZERO_FIELD - Static variable in class org.elasticsearch.exponentialhistogram.ExponentialHistogramXContent
- ZERO_THRESHOLD_FIELD - Static variable in class org.elasticsearch.exponentialhistogram.ExponentialHistogramXContent
- zeroBucket() - Method in class org.elasticsearch.exponentialhistogram.CompressedExponentialHistogram
- zeroBucket() - Method in interface org.elasticsearch.exponentialhistogram.ExponentialHistogram
- zeroBucket(ZeroBucket) - Method in class org.elasticsearch.exponentialhistogram.ExponentialHistogramBuilder
- ZeroBucket - Class in org.elasticsearch.exponentialhistogram
-
Represents the bucket for values around zero in an exponential histogram.
- zeroThreshold() - Method in class org.elasticsearch.exponentialhistogram.ZeroBucket
All Classes and Interfaces|All Packages|Constant Field Values