Skip navigation links
A B C D E F G H I L M P Q R S U V W 

A

accept(double) - Method in class com.datadoghq.sketch.ddsketch.DDSketch
Adds a value to the sketch.
accept(double, long) - Method in class com.datadoghq.sketch.ddsketch.DDSketch
Adds a value to the sketch as many times as specified by count.
accept(double, double) - Method in class com.datadoghq.sketch.ddsketch.DDSketch
Adds a value to the sketch with a floating-point count.
accept(int, double) - Method in interface com.datadoghq.sketch.ddsketch.store.BinAcceptor
 
accept(double) - Method in class com.datadoghq.sketch.gk.GKArray
 
accept(double, long) - Method in class com.datadoghq.sketch.gk.GKArray
 
accept(double) - Method in interface com.datadoghq.sketch.QuantileSketch
Adds a value to the sketch.
accept(double, long) - Method in interface com.datadoghq.sketch.QuantileSketch
Adds a value to the sketch as many times as specified by count.
add(int) - Method in class com.datadoghq.sketch.ddsketch.store.DenseStore
 
add(int, double) - Method in class com.datadoghq.sketch.ddsketch.store.DenseStore
 
add(Bin) - Method in class com.datadoghq.sketch.ddsketch.store.DenseStore
 
add(int, double) - Method in class com.datadoghq.sketch.ddsketch.store.PaginatedStore
 
add(int) - Method in class com.datadoghq.sketch.ddsketch.store.SparseStore
 
add(int, double) - Method in class com.datadoghq.sketch.ddsketch.store.SparseStore
 
add(Bin) - Method in class com.datadoghq.sketch.ddsketch.store.SparseStore
 
add(int) - Method in interface com.datadoghq.sketch.ddsketch.store.Store
Increments the counter at the specified index.
add(int, long) - Method in interface com.datadoghq.sketch.ddsketch.store.Store
Updates the counter at the specified index.
add(int, double) - Method in interface com.datadoghq.sketch.ddsketch.store.Store
Updates the counter at the specified index.
add(Bin) - Method in interface com.datadoghq.sketch.ddsketch.store.Store
Updates the counter at the specified index.

B

balanced(double) - Static method in class com.datadoghq.sketch.ddsketch.DDSketch
balancedCollapsingHighest(double, int) - Static method in class com.datadoghq.sketch.ddsketch.DDSketch
balancedCollapsingLowest(double, int) - Static method in class com.datadoghq.sketch.ddsketch.DDSketch
Bin - Class in com.datadoghq.sketch.ddsketch.store
A pair of index and count.
Bin(int, double) - Constructor for class com.datadoghq.sketch.ddsketch.store.Bin
Constructs a bin.
BinAcceptor - Interface in com.datadoghq.sketch.ddsketch.store
 
BitwiseLinearlyInterpolatedMapping - Class in com.datadoghq.sketch.ddsketch.mapping
A fast IndexMapping that approximates the memory-optimal one (namely LogarithmicMapping) by extracting the floor value of the logarithm to the base 2 from the binary representations of floating-point values and linearly interpolating the logarithm in-between using, again, the binary representation.
BitwiseLinearlyInterpolatedMapping(double) - Constructor for class com.datadoghq.sketch.ddsketch.mapping.BitwiseLinearlyInterpolatedMapping
 

C

clear() - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
clear() - Method in class com.datadoghq.sketch.ddsketch.store.DenseStore
 
clear() - Method in class com.datadoghq.sketch.ddsketch.store.PaginatedStore
 
clear() - Method in class com.datadoghq.sketch.ddsketch.store.SparseStore
 
clear() - Method in interface com.datadoghq.sketch.ddsketch.store.Store
Zeros all counts in the store.
clear() - Method in class com.datadoghq.sketch.gk.GKArray
 
clear() - Method in interface com.datadoghq.sketch.QuantileSketch
Sets all counts in the sketch to zero.
collapsingHighestDense(double, int) - Static method in interface com.datadoghq.sketch.ddsketch.DDSketches
Constructs an instance of DDSketch that offers constant-time insertion and whose size grows until the maximum number of bins is reached, at which point bins with highest indices are collapsed, which causes the relative accuracy guarantee to be lost on highest quantiles.
CollapsingHighestDenseStore - Class in com.datadoghq.sketch.ddsketch.store
 
CollapsingHighestDenseStore(int) - Constructor for class com.datadoghq.sketch.ddsketch.store.CollapsingHighestDenseStore
 
collapsingLowestDense(double, int) - Static method in interface com.datadoghq.sketch.ddsketch.DDSketches
Constructs an instance of DDSketch that offers constant-time insertion and whose size grows until the maximum number of bins is reached, at which point bins with lowest indices are collapsed, which causes the relative accuracy guarantee to be lost on lowest quantiles.
CollapsingLowestDenseStore - Class in com.datadoghq.sketch.ddsketch.store
 
CollapsingLowestDenseStore(int) - Constructor for class com.datadoghq.sketch.ddsketch.store.CollapsingLowestDenseStore
 
com.datadoghq.sketch - package com.datadoghq.sketch
 
com.datadoghq.sketch.ddsketch - package com.datadoghq.sketch.ddsketch
 
com.datadoghq.sketch.ddsketch.mapping - package com.datadoghq.sketch.ddsketch.mapping
 
com.datadoghq.sketch.ddsketch.store - package com.datadoghq.sketch.ddsketch.store
 
com.datadoghq.sketch.gk - package com.datadoghq.sketch.gk
 
copy() - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
copy() - Method in class com.datadoghq.sketch.ddsketch.store.CollapsingHighestDenseStore
 
copy() - Method in class com.datadoghq.sketch.ddsketch.store.CollapsingLowestDenseStore
 
copy() - Method in class com.datadoghq.sketch.ddsketch.store.PaginatedStore
 
copy() - Method in class com.datadoghq.sketch.ddsketch.store.SparseStore
 
copy() - Method in interface com.datadoghq.sketch.ddsketch.store.Store
 
copy() - Method in class com.datadoghq.sketch.ddsketch.store.UnboundedSizeDenseStore
 
copy() - Method in class com.datadoghq.sketch.gk.GKArray
 
copy() - Method in interface com.datadoghq.sketch.QuantileSketch
 
CubicallyInterpolatedMapping - Class in com.datadoghq.sketch.ddsketch.mapping
A fast IndexMapping that approximates the memory-optimal one (namely LogarithmicMapping) by extracting the floor value of the logarithm to the base 2 from the binary representations of floating-point values and cubically interpolating the logarithm in-between.
CubicallyInterpolatedMapping(double) - Constructor for class com.datadoghq.sketch.ddsketch.mapping.CubicallyInterpolatedMapping
 

D

DDSketch - Class in com.datadoghq.sketch.ddsketch
A QuantileSketch with relative-error guarantees.
DDSketch(IndexMapping, Supplier<Store>) - Constructor for class com.datadoghq.sketch.ddsketch.DDSketch
Constructs an initially empty quantile sketch using the specified IndexMapping and Store supplier.
DDSketch(IndexMapping, Supplier<Store>, Supplier<Store>) - Constructor for class com.datadoghq.sketch.ddsketch.DDSketch
Constructs an initially empty quantile sketch using the specified IndexMapping and Store suppliers.
DDSketch(IndexMapping, Supplier<Store>, Supplier<Store>, double) - Constructor for class com.datadoghq.sketch.ddsketch.DDSketch
Constructs an initially empty quantile sketch using the specified IndexMapping and Store supplier.
DDSketch(double) - Constructor for class com.datadoghq.sketch.ddsketch.DDSketch
Constructs a simple instance of DDSketch with the provided relative accuracy guarantee.
DDSketches - Interface in com.datadoghq.sketch.ddsketch
Preset versions of DDSketch.
DenseStore - Class in com.datadoghq.sketch.ddsketch.store
 
doubleFieldSize(int, double) - Static method in class com.datadoghq.sketch.ddsketch.Serializer
 

E

embeddedFieldSize(int, int) - Static method in class com.datadoghq.sketch.ddsketch.Serializer
 
embeddedSize(int) - Static method in class com.datadoghq.sketch.ddsketch.Serializer
 
equals(Object) - Method in class com.datadoghq.sketch.ddsketch.mapping.BitwiseLinearlyInterpolatedMapping
 
equals(Object) - Method in class com.datadoghq.sketch.ddsketch.store.Bin
 

F

fast(double) - Static method in class com.datadoghq.sketch.ddsketch.DDSketch
Deprecated.
Use new DDSketch(new BitwiseLinearlyInterpolatedMapping(relativeAccuracy), UnboundedSizeDenseStore::new).
fastCollapsingHighest(double, int) - Static method in class com.datadoghq.sketch.ddsketch.DDSketch
Deprecated.
Use new DDSketch(new BitwiseLinearlyInterpolatedMapping(relativeAccuracy), () -> new CollapsingHighestDenseStore(maxNumBins)).
fastCollapsingLowest(double, int) - Static method in class com.datadoghq.sketch.ddsketch.DDSketch
Deprecated.
Use new DDSketch(new BitwiseLinearlyInterpolatedMapping(relativeAccuracy), () -> new CollapsingLowestDenseStore(maxNumBins).
fieldSize(int, int) - Static method in class com.datadoghq.sketch.ddsketch.Serializer
 
forEach(BinAcceptor) - Method in class com.datadoghq.sketch.ddsketch.store.DenseStore
 
forEach(BinAcceptor) - Method in class com.datadoghq.sketch.ddsketch.store.PaginatedStore
 
forEach(BinAcceptor) - Method in class com.datadoghq.sketch.ddsketch.store.SparseStore
 
forEach(BinAcceptor) - Method in interface com.datadoghq.sketch.ddsketch.store.Store
Supplies each bin to the acceptor

G

getAscendingIterator() - Method in class com.datadoghq.sketch.ddsketch.store.DenseStore
 
getAscendingIterator() - Method in class com.datadoghq.sketch.ddsketch.store.PaginatedStore
 
getAscendingIterator() - Method in class com.datadoghq.sketch.ddsketch.store.SparseStore
 
getAscendingIterator() - Method in interface com.datadoghq.sketch.ddsketch.store.Store
 
getAscendingStream() - Method in class com.datadoghq.sketch.ddsketch.store.DenseStore
 
getAscendingStream() - Method in interface com.datadoghq.sketch.ddsketch.store.Store
 
getBuffer() - Method in class com.datadoghq.sketch.ddsketch.Serializer
 
getCount() - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
getCount() - Method in class com.datadoghq.sketch.ddsketch.store.Bin
 
getCount() - Method in class com.datadoghq.sketch.gk.GKArray
 
getCount() - Method in interface com.datadoghq.sketch.QuantileSketch
 
getDescendingIterator() - Method in class com.datadoghq.sketch.ddsketch.store.DenseStore
 
getDescendingIterator() - Method in class com.datadoghq.sketch.ddsketch.store.PaginatedStore
 
getDescendingIterator() - Method in class com.datadoghq.sketch.ddsketch.store.SparseStore
 
getDescendingIterator() - Method in interface com.datadoghq.sketch.ddsketch.store.Store
 
getDescendingStream() - Method in class com.datadoghq.sketch.ddsketch.store.DenseStore
 
getDescendingStream() - Method in interface com.datadoghq.sketch.ddsketch.store.Store
 
getIndex() - Method in class com.datadoghq.sketch.ddsketch.store.Bin
 
getIndexMapping() - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
getMaxIndex() - Method in class com.datadoghq.sketch.ddsketch.store.DenseStore
 
getMaxIndex() - Method in class com.datadoghq.sketch.ddsketch.store.PaginatedStore
 
getMaxIndex() - Method in class com.datadoghq.sketch.ddsketch.store.SparseStore
 
getMaxIndex() - Method in interface com.datadoghq.sketch.ddsketch.store.Store
 
getMaxValue() - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
getMaxValue() - Method in class com.datadoghq.sketch.gk.GKArray
 
getMaxValue() - Method in interface com.datadoghq.sketch.QuantileSketch
 
getMinIndex() - Method in class com.datadoghq.sketch.ddsketch.store.DenseStore
 
getMinIndex() - Method in class com.datadoghq.sketch.ddsketch.store.PaginatedStore
 
getMinIndex() - Method in class com.datadoghq.sketch.ddsketch.store.SparseStore
 
getMinIndex() - Method in interface com.datadoghq.sketch.ddsketch.store.Store
 
getMinValue() - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
getMinValue() - Method in class com.datadoghq.sketch.gk.GKArray
 
getMinValue() - Method in interface com.datadoghq.sketch.QuantileSketch
 
getNegativeValueStore() - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
getPositiveValueStore() - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
getRankAccuracy() - Method in class com.datadoghq.sketch.gk.GKArray
 
getStream() - Method in interface com.datadoghq.sketch.ddsketch.store.Store
 
getTotalCount() - Method in class com.datadoghq.sketch.ddsketch.store.DenseStore
 
getTotalCount() - Method in class com.datadoghq.sketch.ddsketch.store.PaginatedStore
 
getTotalCount() - Method in interface com.datadoghq.sketch.ddsketch.store.Store
 
getValueAtQuantile(double) - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
getValueAtQuantile(double) - Method in class com.datadoghq.sketch.gk.GKArray
 
getValueAtQuantile(double) - Method in interface com.datadoghq.sketch.QuantileSketch
 
getValuesAtQuantiles(double[]) - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
getValuesAtQuantiles(double[]) - Method in class com.datadoghq.sketch.gk.GKArray
 
getValuesAtQuantiles(double[]) - Method in interface com.datadoghq.sketch.QuantileSketch
 
GKArray - Class in com.datadoghq.sketch.gk
An implementation of the quantile sketch of Greenwald and Khanna.
GKArray(double) - Constructor for class com.datadoghq.sketch.gk.GKArray
 

H

hashCode() - Method in class com.datadoghq.sketch.ddsketch.mapping.BitwiseLinearlyInterpolatedMapping
 
hashCode() - Method in class com.datadoghq.sketch.ddsketch.store.Bin
 

I

index(double) - Method in class com.datadoghq.sketch.ddsketch.mapping.BitwiseLinearlyInterpolatedMapping
 
index(double) - Method in interface com.datadoghq.sketch.ddsketch.mapping.IndexMapping
 
IndexMapping - Interface in com.datadoghq.sketch.ddsketch.mapping
A mapping between double values and int values that imposes relative guarantees on the composition of IndexMapping.value(int) and IndexMapping.index(double).
Interpolation - Enum in com.datadoghq.sketch.ddsketch.mapping
 
isEmpty() - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
isEmpty() - Method in class com.datadoghq.sketch.ddsketch.store.DenseStore
 
isEmpty() - Method in class com.datadoghq.sketch.ddsketch.store.PaginatedStore
 
isEmpty() - Method in interface com.datadoghq.sketch.ddsketch.store.Store
 
isEmpty() - Method in class com.datadoghq.sketch.gk.GKArray
 
isEmpty() - Method in interface com.datadoghq.sketch.QuantileSketch
 

L

LinearlyInterpolatedMapping - Class in com.datadoghq.sketch.ddsketch.mapping
A fast IndexMapping that approximates the memory-optimal one (namely LogarithmicMapping) by extracting the floor value of the logarithm to the base 2 from the binary representations of floating-point values and linearly interpolating the logarithm in-between.
LinearlyInterpolatedMapping(double) - Constructor for class com.datadoghq.sketch.ddsketch.mapping.LinearlyInterpolatedMapping
 
logarithmicCollapsingHighestDense(double, int) - Static method in interface com.datadoghq.sketch.ddsketch.DDSketches
Constructs an instance of DDSketch that offers constant-time insertion and whose size grows until the maximum number of bins is reached, at which point bins with highest indices are collapsed, which causes the relative accuracy guarantee to be lost on highest.
logarithmicCollapsingLowestDense(double, int) - Static method in interface com.datadoghq.sketch.ddsketch.DDSketches
Constructs an instance of DDSketch that offers constant-time insertion and whose size grows until the maximum number of bins is reached, at which point bins with lowest indices are collapsed, which causes the relative accuracy guarantee to be lost on lowest quantiles.
LogarithmicMapping - Class in com.datadoghq.sketch.ddsketch.mapping
An IndexMapping that is memory-optimal, that is to say that given a targeted relative accuracy, it requires the least number of indices to cover a given range of values.
LogarithmicMapping(double) - Constructor for class com.datadoghq.sketch.ddsketch.mapping.LogarithmicMapping
 
logarithmicUnboundedDense(double) - Static method in interface com.datadoghq.sketch.ddsketch.DDSketches
Constructs an instance of DDSketch that offers constant-time insertion and whose size grows indefinitely to accommodate for the range of input values.

M

maxIndexableValue() - Method in class com.datadoghq.sketch.ddsketch.mapping.BitwiseLinearlyInterpolatedMapping
 
maxIndexableValue() - Method in interface com.datadoghq.sketch.ddsketch.mapping.IndexMapping
 
memoryOptimal(double) - Static method in class com.datadoghq.sketch.ddsketch.DDSketch
memoryOptimalCollapsingHighest(double, int) - Static method in class com.datadoghq.sketch.ddsketch.DDSketch
memoryOptimalCollapsingLowest(double, int) - Static method in class com.datadoghq.sketch.ddsketch.DDSketch
mergeWith(DDSketch) - Method in class com.datadoghq.sketch.ddsketch.DDSketch
Merges the other sketch into this one.
mergeWith(Store) - Method in class com.datadoghq.sketch.ddsketch.store.CollapsingHighestDenseStore
 
mergeWith(Store) - Method in class com.datadoghq.sketch.ddsketch.store.CollapsingLowestDenseStore
 
mergeWith(Store) - Method in class com.datadoghq.sketch.ddsketch.store.PaginatedStore
 
mergeWith(Store) - Method in interface com.datadoghq.sketch.ddsketch.store.Store
Merges another store into this one.
mergeWith(Store) - Method in class com.datadoghq.sketch.ddsketch.store.UnboundedSizeDenseStore
 
mergeWith(GKArray) - Method in class com.datadoghq.sketch.gk.GKArray
 
mergeWith(QS) - Method in interface com.datadoghq.sketch.QuantileSketch
Merges the other sketch into this one.
minIndexableValue() - Method in class com.datadoghq.sketch.ddsketch.mapping.BitwiseLinearlyInterpolatedMapping
 
minIndexableValue() - Method in interface com.datadoghq.sketch.ddsketch.mapping.IndexMapping
 

P

PaginatedStore - Class in com.datadoghq.sketch.ddsketch.store
This is an unbounded store which allocates storage for counts in aligned pages stored in an array at offsets modulo the page size.
PaginatedStore() - Constructor for class com.datadoghq.sketch.ddsketch.store.PaginatedStore
 

Q

QuadraticallyInterpolatedMapping - Class in com.datadoghq.sketch.ddsketch.mapping
A fast IndexMapping that approximates the memory-optimal one (namely LogarithmicMapping) by extracting the floor value of the logarithm to the base 2 from the binary representations of floating-point values and quadratically interpolating the logarithm in-between.
QuadraticallyInterpolatedMapping(double) - Constructor for class com.datadoghq.sketch.ddsketch.mapping.QuadraticallyInterpolatedMapping
 
QuantileSketch<QS extends QuantileSketch<QS>> - Interface in com.datadoghq.sketch
A data structure that consumes double values and can compute quantiles over the ingested values.

R

relativeAccuracy() - Method in class com.datadoghq.sketch.ddsketch.mapping.BitwiseLinearlyInterpolatedMapping
 
relativeAccuracy() - Method in interface com.datadoghq.sketch.ddsketch.mapping.IndexMapping
 

S

serialize() - Method in class com.datadoghq.sketch.ddsketch.DDSketch
Produces protobuf encoded bytes which are equivalent to using the official protobuf bindings, without requiring a runtime dependency on protobuf-java.
serialize(Serializer) - Method in class com.datadoghq.sketch.ddsketch.mapping.BitwiseLinearlyInterpolatedMapping
 
serialize(Serializer) - Method in interface com.datadoghq.sketch.ddsketch.mapping.IndexMapping
 
serialize(Serializer) - Method in class com.datadoghq.sketch.ddsketch.store.DenseStore
 
serialize(Serializer) - Method in interface com.datadoghq.sketch.ddsketch.store.Store
 
serializedSize() - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
serializedSize() - Method in class com.datadoghq.sketch.ddsketch.mapping.BitwiseLinearlyInterpolatedMapping
 
serializedSize() - Method in interface com.datadoghq.sketch.ddsketch.mapping.IndexMapping
 
serializedSize() - Method in class com.datadoghq.sketch.ddsketch.store.DenseStore
 
serializedSize() - Method in interface com.datadoghq.sketch.ddsketch.store.Store
 
Serializer - Class in com.datadoghq.sketch.ddsketch
This class is used to perform protobuf serialization compliant with the official schema used to generate protobuf bindings (DDSketch.proto) but does not require the weight of the protobuf-java dependency nor the number of loaded classes required to use protobuf.
Serializer(int) - Constructor for class com.datadoghq.sketch.ddsketch.Serializer
 
signedIntFieldSize(int, int) - Static method in class com.datadoghq.sketch.ddsketch.Serializer
 
sizeOfBin(int, int, double) - Static method in class com.datadoghq.sketch.ddsketch.Serializer
 
sizeOfCompactDoubleArray(int, int) - Static method in class com.datadoghq.sketch.ddsketch.Serializer
 
sparse(double) - Static method in interface com.datadoghq.sketch.ddsketch.DDSketches
Constructs an instance of DDSketch that offers insertion time that is logarithmic in the number of non-empty bins that the sketch contains and whose size grows indefinitely to accommodate for the range of input values.
SparseStore - Class in com.datadoghq.sketch.ddsketch.store
 
SparseStore() - Constructor for class com.datadoghq.sketch.ddsketch.store.SparseStore
 
Store - Interface in com.datadoghq.sketch.ddsketch.store
An object that maps integers to counters.

U

unboundedDense(double) - Static method in interface com.datadoghq.sketch.ddsketch.DDSketches
Constructs an instance of DDSketch that offers constant-time insertion and whose size grows indefinitely to accommodate for the range of input values.
UnboundedSizeDenseStore - Class in com.datadoghq.sketch.ddsketch.store
 
UnboundedSizeDenseStore() - Constructor for class com.datadoghq.sketch.ddsketch.store.UnboundedSizeDenseStore
 
UnboundedSizeDenseStore(int) - Constructor for class com.datadoghq.sketch.ddsketch.store.UnboundedSizeDenseStore
 
UnboundedSizeDenseStore(int, int) - Constructor for class com.datadoghq.sketch.ddsketch.store.UnboundedSizeDenseStore
 

V

value(int) - Method in class com.datadoghq.sketch.ddsketch.mapping.BitwiseLinearlyInterpolatedMapping
 
value(int) - Method in interface com.datadoghq.sketch.ddsketch.mapping.IndexMapping
 
valueOf(String) - Static method in enum com.datadoghq.sketch.ddsketch.mapping.Interpolation
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.datadoghq.sketch.ddsketch.mapping.Interpolation
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeBin(int, int, double) - Method in class com.datadoghq.sketch.ddsketch.Serializer
 
writeCompactArray(int, double[], int, int) - Method in class com.datadoghq.sketch.ddsketch.Serializer
 
writeDouble(int, double) - Method in class com.datadoghq.sketch.ddsketch.Serializer
 
writeHeader(int, int) - Method in class com.datadoghq.sketch.ddsketch.Serializer
 
writeSignedInt32(int, int) - Method in class com.datadoghq.sketch.ddsketch.Serializer
 
writeUnsignedInt32(int, int) - Method in class com.datadoghq.sketch.ddsketch.Serializer
 
A B C D E F G H I L M P Q R S U V W 
Skip navigation links