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

A

accept(double) - Method in class com.datadoghq.sketch.ddsketch.DDSketch
Adds a value to the sketch.
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 interface com.datadoghq.sketch.QuantileSketch
Adds a value to the sketch.
accept(double, double) - Method in interface com.datadoghq.sketch.QuantileSketch
Adds a value to the sketch with a floating-point count.
accept(double) - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
accept(double, double) - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
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.
addToCount(double) - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
addToSum(double) - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 

B

backingArray() - Method in class com.datadoghq.sketch.ddsketch.encoding.GrowingByteArrayOutput
 
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
 
BinEncodingMode - Enum in com.datadoghq.sketch.ddsketch.encoding
 
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
 
ByteArrayInput - Class in com.datadoghq.sketch.ddsketch.encoding
An implementation of Input that is backed by an array.

C

clear() - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
clear() - Method in class com.datadoghq.sketch.ddsketch.encoding.GrowingByteArrayOutput
Discard the data that has been written to the backing array but avoid deallocating memory.
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 interface com.datadoghq.sketch.QuantileSketch
Sets all counts in the sketch to zero.
clear() - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
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.encoding - package com.datadoghq.sketch.ddsketch.encoding
 
com.datadoghq.sketch.ddsketch.mapping - package com.datadoghq.sketch.ddsketch.mapping
 
com.datadoghq.sketch.ddsketch.store - package com.datadoghq.sketch.ddsketch.store
 
convert(IndexMapping, Supplier<Store>) - Method in class com.datadoghq.sketch.ddsketch.DDSketch
Builds a new DDSketch that encodes the content of this sketch with the specified index mapping and the specified stores.
convertAscendingIterator(Iterator<Bin>, BinAcceptor) - Method in interface com.datadoghq.sketch.ddsketch.mapping.IndexMappingConverter
Converts bins.
copy() - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
copy() - Method in class com.datadoghq.sketch.ddsketch.DDSketchWithExactSummaryStatistics
 
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 interface com.datadoghq.sketch.QuantileSketch
 
copy() - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
COUNT - Static variable in class com.datadoghq.sketch.ddsketch.encoding.Flag
Encodes the total count.
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.
DDSketchWithExactSummaryStatistics - Class in com.datadoghq.sketch.ddsketch
 
DDSketchWithExactSummaryStatistics(Supplier<DDSketch>) - Constructor for class com.datadoghq.sketch.ddsketch.DDSketchWithExactSummaryStatistics
 
DDSketchWithExactSummaryStatistics(IndexMapping, Supplier<Store>) - Constructor for class com.datadoghq.sketch.ddsketch.DDSketchWithExactSummaryStatistics
 
decode(Input, Supplier<Store>) - Static method in class com.datadoghq.sketch.ddsketch.DDSketch
 
decode(Input, Supplier<Store>, IndexMapping) - Static method in class com.datadoghq.sketch.ddsketch.DDSketch
 
decode(Input, Supplier<Store>, IndexMapping, DDSketch.Decoder) - Static method in class com.datadoghq.sketch.ddsketch.DDSketch
 
decode(Input, Supplier<Store>) - Static method in class com.datadoghq.sketch.ddsketch.DDSketchWithExactSummaryStatistics
 
decode(Input, Supplier<Store>, IndexMapping) - Static method in class com.datadoghq.sketch.ddsketch.DDSketchWithExactSummaryStatistics
 
decode(Input) - Static method in class com.datadoghq.sketch.ddsketch.encoding.Flag
Return a flag built from the data read from the provided Input.
decode(Input, IndexMappingLayout) - Static method in interface com.datadoghq.sketch.ddsketch.mapping.IndexMapping
 
decodeAndMergeWith(Input) - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
decodeAndMergeWith(Input) - Method in class com.datadoghq.sketch.ddsketch.DDSketchWithExactSummaryStatistics
 
decodeAndMergeWith(Input, BinEncodingMode) - Method in interface com.datadoghq.sketch.ddsketch.store.Store
 
decodeSignedVarLong(Input) - Static method in class com.datadoghq.sketch.ddsketch.encoding.VarEncodingHelper
decodeSignedVarLong deserializes long values that have been encoded using encodeSignedVarLong(Output, long).
decodeUnsignedVarLong(Input) - Static method in class com.datadoghq.sketch.ddsketch.encoding.VarEncodingHelper
decodeUnsignedVarLong deserializes long values that have been encoded using encodeUnsignedVarLong(Output, long).
decodeVarDouble(Input) - Static method in class com.datadoghq.sketch.ddsketch.encoding.VarEncodingHelper
decodeSignedVarLong deserializes double values that have been encoded using encodeVarDouble(Output, double).
DenseStore - Class in com.datadoghq.sketch.ddsketch.store
 
distributingUniformly(IndexMapping, IndexMapping) - Static method in interface com.datadoghq.sketch.ddsketch.mapping.IndexMappingConverter
Returns a converter that uniformly distributes the count of a bin to the overlapping bins of the new mapping based on the shares of the initial bin that the new bins cover.
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
 
encode(Output, boolean) - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
encode(Output, boolean) - Method in class com.datadoghq.sketch.ddsketch.DDSketchWithExactSummaryStatistics
 
encode(Output) - Method in class com.datadoghq.sketch.ddsketch.encoding.Flag
 
encode(Output) - Method in class com.datadoghq.sketch.ddsketch.mapping.BitwiseLinearlyInterpolatedMapping
 
encode(Output) - Method in interface com.datadoghq.sketch.ddsketch.mapping.IndexMapping
 
encode(Output, Flag.Type) - Method in class com.datadoghq.sketch.ddsketch.store.DenseStore
 
encode(Output, Flag.Type) - Method in class com.datadoghq.sketch.ddsketch.store.PaginatedStore
 
encode(Output, Flag.Type) - Method in class com.datadoghq.sketch.ddsketch.store.SparseStore
 
encode(Output, Flag.Type) - Method in interface com.datadoghq.sketch.ddsketch.store.Store
 
encodeSignedVarLong(Output, long) - Static method in class com.datadoghq.sketch.ddsketch.encoding.VarEncodingHelper
encodeSignedVarLong serializes long values using zig-zag encoding, which ensures small-scale integers are turned into integers that have leading zeros, whether they are positive or negative, hence allows for space-efficient encoding of those values.
encodeUnsignedVarLong(Output, long) - Static method in class com.datadoghq.sketch.ddsketch.encoding.VarEncodingHelper
encodeUnsignedVarLong serializes long values 7 bits at a time, starting with the least significant bits.
encodeVarDouble(Output, double) - Static method in class com.datadoghq.sketch.ddsketch.encoding.VarEncodingHelper
encodeVarDouble serializes double values using a method that is similar to the varint encoding and that is space-efficient for non-negative integer values.
equals(Object) - Method in class com.datadoghq.sketch.ddsketch.encoding.Flag
 
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
 
Flag - Class in com.datadoghq.sketch.ddsketch.encoding
An encoded DDSketch comprises multiple contiguous blocks (sequences of bytes).
Flag.Type - Enum in com.datadoghq.sketch.ddsketch.encoding
 
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
 
getAverage() - Method in interface com.datadoghq.sketch.QuantileSketch
 
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 interface com.datadoghq.sketch.QuantileSketch
 
getCount() - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
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
 
getIndexMapping() - Method in class com.datadoghq.sketch.ddsketch.DDSketchWithExactSummaryStatistics
 
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 interface com.datadoghq.sketch.QuantileSketch
 
getMaxValue() - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
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 interface com.datadoghq.sketch.QuantileSketch
 
getMinValue() - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
getNegativeValueStore() - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
getNegativeValueStore() - Method in class com.datadoghq.sketch.ddsketch.DDSketchWithExactSummaryStatistics
 
getPositiveValueStore() - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
getPositiveValueStore() - Method in class com.datadoghq.sketch.ddsketch.DDSketchWithExactSummaryStatistics
 
getStream() - Method in interface com.datadoghq.sketch.ddsketch.store.Store
 
getSum() - Method in class com.datadoghq.sketch.ddsketch.DDSketch
Returns an approximation of the sum of the values that have been added to the sketch.
getSum() - Method in interface com.datadoghq.sketch.QuantileSketch
 
getSum() - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
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 interface com.datadoghq.sketch.QuantileSketch
 
getValueAtQuantile(double) - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
getValuesAtQuantiles(double[]) - Method in class com.datadoghq.sketch.ddsketch.DDSketch
 
getValuesAtQuantiles(double[]) - Method in interface com.datadoghq.sketch.QuantileSketch
 
getValuesAtQuantiles(double[]) - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
GrowingByteArrayOutput - Class in com.datadoghq.sketch.ddsketch.encoding
An implementation of Output that is backed by an array of bytes, whose capacity is grown as necessary.

H

hashCode() - Method in class com.datadoghq.sketch.ddsketch.encoding.Flag
 
hashCode() - Method in class com.datadoghq.sketch.ddsketch.mapping.BitwiseLinearlyInterpolatedMapping
 
hashCode() - Method in class com.datadoghq.sketch.ddsketch.store.Bin
 
hasRemaining() - Method in class com.datadoghq.sketch.ddsketch.encoding.ByteArrayInput
 
hasRemaining() - Method in interface com.datadoghq.sketch.ddsketch.encoding.Input
 

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 positive values and int values that imposes relative guarantees on the composition of IndexMapping.value(int) and IndexMapping.index(double).
IndexMappingConverter - Interface in com.datadoghq.sketch.ddsketch.mapping
An interface for converting bins that have been encoded using an IndexMapping to bins encoded using another one.
IndexMappingLayout - Enum in com.datadoghq.sketch.ddsketch.encoding
 
Input - Interface in com.datadoghq.sketch.ddsketch.encoding
A generic interface for reading data from a stream or an object.
Interpolation - Enum in com.datadoghq.sketch.ddsketch.mapping
 
InvalidFlagException - Exception in com.datadoghq.sketch.ddsketch.encoding
Signals that an encoded flag does not match any valid flag.
InvalidFlagException() - Constructor for exception com.datadoghq.sketch.ddsketch.encoding.InvalidFlagException
 
InvalidFlagException(String) - Constructor for exception com.datadoghq.sketch.ddsketch.encoding.InvalidFlagException
 
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 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.
lowerBound(int) - Method in class com.datadoghq.sketch.ddsketch.mapping.BitwiseLinearlyInterpolatedMapping
 
lowerBound(int) - Method in interface com.datadoghq.sketch.ddsketch.mapping.IndexMapping
 

M

MalformedInputException - Exception in com.datadoghq.sketch.ddsketch.encoding
Signals that the input data is in an unrecognized or inappropriate format and cannot be decoded.
MalformedInputException() - Constructor for exception com.datadoghq.sketch.ddsketch.encoding.MalformedInputException
 
MalformedInputException(String) - Constructor for exception com.datadoghq.sketch.ddsketch.encoding.MalformedInputException
 
MAX - Static variable in class com.datadoghq.sketch.ddsketch.encoding.Flag
Encodes the global maximum value.
max() - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
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(QS) - Method in interface com.datadoghq.sketch.QuantileSketch
Merges the other sketch into this one.
mergeWith(WithExactSummaryStatistics<QS>) - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
MIN - Static variable in class com.datadoghq.sketch.ddsketch.encoding.Flag
Encodes the global minimum value.
min() - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
minIndexableValue() - Method in class com.datadoghq.sketch.ddsketch.mapping.BitwiseLinearlyInterpolatedMapping
 
minIndexableValue() - Method in interface com.datadoghq.sketch.ddsketch.mapping.IndexMapping
 

N

numWrittenBytes() - Method in class com.datadoghq.sketch.ddsketch.encoding.GrowingByteArrayOutput
 

O

of(IndexMapping, Store, Store, double) - Static method in class com.datadoghq.sketch.ddsketch.DDSketch
Constructs an instance of DDSketch from a mapping, possibly non-empty stores and a non-negative count for the zero bucket.
of(DDSketch, double, double, double, double) - Static method in class com.datadoghq.sketch.ddsketch.DDSketchWithExactSummaryStatistics
Constructs an instance of DDSketchWithExactSummaryStatistics from a DDSketch and exact summary statistics.
ofFlag(Flag) - Static method in enum com.datadoghq.sketch.ddsketch.encoding.BinEncodingMode
 
ofFlag(Flag) - Static method in enum com.datadoghq.sketch.ddsketch.encoding.IndexMappingLayout
 
Output - Interface in com.datadoghq.sketch.ddsketch.encoding
A generic interface for writing to a stream or an object.

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.
QuarticallyInterpolatedMapping - 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 quartically interpolating the logarithm in-between.
QuarticallyInterpolatedMapping(double) - Constructor for class com.datadoghq.sketch.ddsketch.mapping.QuarticallyInterpolatedMapping
 

R

readByte() - Method in class com.datadoghq.sketch.ddsketch.encoding.ByteArrayInput
 
readByte() - Method in interface com.datadoghq.sketch.ddsketch.encoding.Input
 
readDoubleLE() - Method in interface com.datadoghq.sketch.ddsketch.encoding.Input
 
readLongLE() - Method in class com.datadoghq.sketch.ddsketch.encoding.ByteArrayInput
 
readLongLE() - Method in interface com.datadoghq.sketch.ddsketch.encoding.Input
 
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
 
signedVarLongEncodedLength(long) - Static method in class com.datadoghq.sketch.ddsketch.encoding.VarEncodingHelper
signedVarLongEncodedLength returns the number of bytes that encodeSignedVarLong(Output, long) encodes a long value into.
simpleSum() - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
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
 
sketch() - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
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.
SUM - Static variable in class com.datadoghq.sketch.ddsketch.encoding.Flag
Encodes the total sum.
sum() - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
sumCompensation() - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 

T

toFlag(Flag.Type) - Method in enum com.datadoghq.sketch.ddsketch.encoding.BinEncodingMode
 
toFlag() - Method in enum com.datadoghq.sketch.ddsketch.encoding.IndexMappingLayout
 
toString() - Method in class com.datadoghq.sketch.ddsketch.store.Bin
 
trimmedCopy() - Method in class com.datadoghq.sketch.ddsketch.encoding.GrowingByteArrayOutput
 
type() - Method in class com.datadoghq.sketch.ddsketch.encoding.Flag
 

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
 
unsignedVarLongEncodedLength(long) - Static method in class com.datadoghq.sketch.ddsketch.encoding.VarEncodingHelper
unsignedVarLongEncodedLength returns the number of bytes that encodeUnsignedVarLong(Output, long) encodes a long value into.
updateMax(double) - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
updateMin(double) - Method in class com.datadoghq.sketch.WithExactSummaryStatistics
 
upperBound(int) - Method in class com.datadoghq.sketch.ddsketch.mapping.BitwiseLinearlyInterpolatedMapping
 
upperBound(int) - Method in interface com.datadoghq.sketch.ddsketch.mapping.IndexMapping
 

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.encoding.BinEncodingMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.datadoghq.sketch.ddsketch.encoding.Flag.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.datadoghq.sketch.ddsketch.encoding.IndexMappingLayout
Returns the enum constant of this type with the specified name.
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.encoding.BinEncodingMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.datadoghq.sketch.ddsketch.encoding.Flag.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.datadoghq.sketch.ddsketch.encoding.IndexMappingLayout
Returns an array containing the constants of this enum type, in the order they are declared.
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.
varDoubleEncodedLength(double) - Static method in class com.datadoghq.sketch.ddsketch.encoding.VarEncodingHelper
varDoubleEncodedLength returns the number of bytes that encodeVarDouble(Output, double) encodes a double value into.
VarEncodingHelper - Class in com.datadoghq.sketch.ddsketch.encoding
 

W

withDefaultInitialCapacity() - Static method in class com.datadoghq.sketch.ddsketch.encoding.GrowingByteArrayOutput
 
WithExactSummaryStatistics<QS extends QuantileSketch<QS>> - Class in com.datadoghq.sketch
A wrapper that returns exact count, sum, average, minimum and maximum, and relies on the provided QuantileSketch to keep track of quantiles.
WithExactSummaryStatistics(Supplier<QS>) - Constructor for class com.datadoghq.sketch.WithExactSummaryStatistics
 
WithExactSummaryStatistics(QS, double, double, double, double, double, double) - Constructor for class com.datadoghq.sketch.WithExactSummaryStatistics
 
withInitialCapacity(int) - Static method in class com.datadoghq.sketch.ddsketch.encoding.GrowingByteArrayOutput
 
wrap(byte[], int, int) - Static method in class com.datadoghq.sketch.ddsketch.encoding.ByteArrayInput
 
wrap(byte[]) - Static method in class com.datadoghq.sketch.ddsketch.encoding.ByteArrayInput
 
writeBin(int, int, double) - Method in class com.datadoghq.sketch.ddsketch.Serializer
 
writeByte(byte) - Method in class com.datadoghq.sketch.ddsketch.encoding.GrowingByteArrayOutput
 
writeByte(byte) - Method in interface com.datadoghq.sketch.ddsketch.encoding.Output
 
writeCompactArray(int, double[], int, int) - Method in class com.datadoghq.sketch.ddsketch.Serializer
 
writeDouble(int, double) - Method in class com.datadoghq.sketch.ddsketch.Serializer
 
writeDoubleLE(double) - Method in interface com.datadoghq.sketch.ddsketch.encoding.Output
 
writeHeader(int, int) - Method in class com.datadoghq.sketch.ddsketch.Serializer
 
writeLongLE(long) - Method in class com.datadoghq.sketch.ddsketch.encoding.GrowingByteArrayOutput
 
writeLongLE(long) - Method in interface com.datadoghq.sketch.ddsketch.encoding.Output
 
writeSignedInt32(int, int) - Method in class com.datadoghq.sketch.ddsketch.Serializer
 
writeUnsignedInt32(int, int) - Method in class com.datadoghq.sketch.ddsketch.Serializer
 

Z

ZERO_COUNT - Static variable in class com.datadoghq.sketch.ddsketch.encoding.Flag
Encodes the count of the zero bin.
A B C D E F G H I L M N O P Q R S T U V W Z 
Skip navigation links