Index

A B C D E F G H I J K L M N O P Q R S T U V W X Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

A_NOT_B - Enum constant in enum class org.apache.datasketches.common.Family
The A and not B family is an operation for the Theta Sketch Framework of sketches.
Advanced Estimation Algorithms for Optimum Accuracy - Section in package org.apache.datasketches.hll
 
alignedHeapSegment(int, boolean) - Static method in class org.apache.datasketches.common.Util
Request a new heap MemorySegment with the given capacityBytes and either 8-byte aligned or one byte aligned.
ALPHA - Enum constant in enum class org.apache.datasketches.common.Family
The Alpha Sketch family is a member of the Theta Sketch Framework of sketches and is best suited for real-time processes where both the updating of the sketch and getting the estimate is performed directly on the sketch.
AlwaysOne - Enum constant in enum class org.apache.datasketches.tuple.adouble.DoubleSummary.Mode
The aggregation mode is always one.
AlwaysOne - Enum constant in enum class org.apache.datasketches.tuple.aninteger.IntegerSummary.Mode
The aggregation mode is always one.
aNotB(ThetaSketch, ThetaSketch) - Method in class org.apache.datasketches.theta.ThetaAnotB
Perform A-and-not-B set operation on the two given sketches and return the result as an ordered CompactThetaSketch on the heap.
aNotB(ThetaSketch, ThetaSketch, boolean, MemorySegment) - Method in class org.apache.datasketches.theta.ThetaAnotB
Perform A-and-not-B set operation on the two given sketches and return the result as a CompactThetaSketch.
aNotB(TupleSketch, ThetaSketch) - Static method in class org.apache.datasketches.tuple.TupleAnotB
Returns the A-and-not-B set operation on a TupleSketch and a ThetaSketch.
aNotB(TupleSketch, TupleSketch) - Static method in class org.apache.datasketches.tuple.TupleAnotB
Returns the A-and-not-B set operation on the two given TupleSketches.
approximateLowerBoundOnP(long, long, double) - Static method in class org.apache.datasketches.common.BoundsOnBinomialProportions
Computes lower bound of approximate Clopper-Pearson confidence interval for a binomial proportion.
approximateUpperBoundOnP(long, long, double) - Static method in class org.apache.datasketches.common.BoundsOnBinomialProportions
Computes upper bound of approximate Clopper-Pearson confidence interval for a binomial proportion.
approxNumDeltaItems - Variable in class org.apache.datasketches.partitions.Partitioner.PartitionBoundsRow
The approximate number of items represented by this partition description row.
ArrayOfBooleansSerDe - Class in org.apache.datasketches.common
Methods of serializing and deserializing arrays of Boolean as a bit array.
ArrayOfBooleansSerDe() - Constructor for class org.apache.datasketches.common.ArrayOfBooleansSerDe
No argument constructor.
ArrayOfDoublesAnotB - Class in org.apache.datasketches.tuple.arrayofdoubles
Computes a set difference of two tuple sketches of type ArrayOfDoubles
ArrayOfDoublesAnotBImpl - Class in org.apache.datasketches.tuple.arrayofdoubles
Computes a set difference, A-AND-NOT-B, of two ArrayOfDoublesSketches.
ArrayOfDoublesCombiner - Interface in org.apache.datasketches.tuple.arrayofdoubles
Combines two arrays of double values for use with ArrayOfDoubles tuple sketches
ArrayOfDoublesCompactSketch - Class in org.apache.datasketches.tuple.arrayofdoubles
Top level compact tuple sketch of type ArrayOfDoubles.
ArrayOfDoublesCompactSketch - Enum constant in enum class org.apache.datasketches.tuple.SerializerDeserializer.SketchType
ArrayOfDoublesCompactSketch
ArrayOfDoublesIntersection - Class in org.apache.datasketches.tuple.arrayofdoubles
Computes the intersection of two or more tuple sketches of type ArrayOfDoubles.
ArrayOfDoublesQuickSelectSketch - Enum constant in enum class org.apache.datasketches.tuple.SerializerDeserializer.SketchType
ArrayOfDoublesQuickSelectSketch
ArrayOfDoublesSerDe - Class in org.apache.datasketches.common
Methods of serializing and deserializing arrays of Double.
ArrayOfDoublesSerDe() - Constructor for class org.apache.datasketches.common.ArrayOfDoublesSerDe
No argument constructor.
ArrayOfDoublesSetOperationBuilder - Class in org.apache.datasketches.tuple.arrayofdoubles
Builds set operations object for tuple sketches of type ArrayOfDoubles.
ArrayOfDoublesSetOperationBuilder() - Constructor for class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSetOperationBuilder
Creates an instance of the builder with default parameters
ArrayOfDoublesSketch - Class in org.apache.datasketches.tuple.arrayofdoubles
The base class for the tuple sketch of type ArrayOfDoubles, where an array of double values is associated with each key.
ArrayOfDoublesSketchIterator - Interface in org.apache.datasketches.tuple.arrayofdoubles
Interface for iterating over tuple sketches of type ArrayOfDoubles
ArrayOfDoublesUnion - Class in org.apache.datasketches.tuple.arrayofdoubles
The base class for unions of tuple sketches of type ArrayOfDoubles.
ArrayOfDoublesUnion - Enum constant in enum class org.apache.datasketches.tuple.SerializerDeserializer.SketchType
ArrayOfDoublesUnion
ArrayOfDoublesUpdatableSketch - Class in org.apache.datasketches.tuple.arrayofdoubles
The top level for updatable tuple sketches of type ArrayOfDoubles.
ArrayOfDoublesUpdatableSketchBuilder - Class in org.apache.datasketches.tuple.arrayofdoubles
For building a new ArrayOfDoublesUpdatableSketch
ArrayOfDoublesUpdatableSketchBuilder() - Constructor for class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketchBuilder
Creates an instance of builder with default parameters
ArrayOfItemsSerDe<T> - Class in org.apache.datasketches.common
Base class for serializing and deserializing custom types.
ArrayOfItemsSerDe() - Constructor for class org.apache.datasketches.common.ArrayOfItemsSerDe
No argument constructor.
ArrayOfLongsSerDe - Class in org.apache.datasketches.common
Methods of serializing and deserializing arrays of Long.
ArrayOfLongsSerDe() - Constructor for class org.apache.datasketches.common.ArrayOfLongsSerDe
No argument constructor.
ArrayOfNumbersSerDe - Class in org.apache.datasketches.common
Methods of serializing and deserializing arrays of the object version of primitive types of Number.
ArrayOfNumbersSerDe() - Constructor for class org.apache.datasketches.common.ArrayOfNumbersSerDe
No argument constructor.
ArrayOfStringsSerDe - Class in org.apache.datasketches.common
Methods of serializing and deserializing arrays of String.
ArrayOfStringsSerDe() - Constructor for class org.apache.datasketches.common.ArrayOfStringsSerDe
No argument constructor.
ArrayOfStringsSummary - Class in org.apache.datasketches.tuple.strings
Implements UpdatableSummary<String[]>
ArrayOfStringsSummaryDeserializer - Class in org.apache.datasketches.tuple.strings
Implements SummaryDeserializer<ArrayOfStringsSummary>
ArrayOfStringsSummaryDeserializer() - Constructor for class org.apache.datasketches.tuple.strings.ArrayOfStringsSummaryDeserializer
No argument constructor.
ArrayOfStringsSummaryFactory - Class in org.apache.datasketches.tuple.strings
Implements SummaryFactory<ArrayOfStringsSummary>
ArrayOfStringsSummaryFactory() - Constructor for class org.apache.datasketches.tuple.strings.ArrayOfStringsSummaryFactory
No argument constructor.
ArrayOfStringsSummarySetOperations - Class in org.apache.datasketches.tuple.strings
Implements SummarySetOperations<ArrayOfStringsSummary>
ArrayOfStringsSummarySetOperations() - Constructor for class org.apache.datasketches.tuple.strings.ArrayOfStringsSummarySetOperations
No argument constructor.
ArrayOfStringsTupleSketch - Class in org.apache.datasketches.tuple.strings
Extends UpdatableTupleSketch<String[], ArrayOfStringsSummary>
ArrayOfStringsTupleSketch() - Constructor for class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
Constructs new sketch with default K = 4096 (lgK = 12), default ResizeFactor=X8, and default p = 1.0.
ArrayOfStringsTupleSketch(int) - Constructor for class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
Constructs new sketch with default ResizeFactor=X8, default p = 1.0 and given lgK.
ArrayOfStringsTupleSketch(int, ResizeFactor, float) - Constructor for class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
Constructs new sketch with given ResizeFactor, p and lgK.
ArrayOfStringsTupleSketch(MemorySegment) - Constructor for class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
Deprecated.
As of 3.0.0, heapifying an UpdatableTupleSketch is deprecated. This capability will be removed in a future release. Heapifying a CompactTupleSketch is not deprecated.
ArrayOfStringsTupleSketch(ArrayOfStringsTupleSketch) - Constructor for class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
Copy Constructor
ArrayOfUtf16StringsSerDe - Class in org.apache.datasketches.common
Methods of serializing and deserializing arrays of String.
ArrayOfUtf16StringsSerDe() - Constructor for class org.apache.datasketches.common.ArrayOfUtf16StringsSerDe
No argument constructor.
asSlice() - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Returns a slice of this PositionalSegment at the current position.

B

BinarySearch - Class in org.apache.datasketches.quantilescommon
Contains common equality binary search algorithms.
BinarySearch - Class in org.apache.datasketches.tdigest
Algorithms with logarithmic complexity for searching in an array.
BinarySearch() - Constructor for class org.apache.datasketches.quantilescommon.BinarySearch
No argument constructor.
BinarySearch() - Constructor for class org.apache.datasketches.tdigest.BinarySearch
No argument constructor.
BinomialBoundsN - Class in org.apache.datasketches.thetacommon
This class enables the estimation of error bounds given a sample set size, the sampling probability theta, the number of standard deviations and a simple noDataSeen flag.
bitAt(long, int) - Static method in class org.apache.datasketches.common.Util
Returns a one if the bit at bitPos is a one, otherwise zero.
BloomFilter - Class in org.apache.datasketches.filters.bloomfilter
A Bloom filter is a data structure that can be used for probabilistic set membership.
BLOOMFILTER - Enum constant in enum class org.apache.datasketches.common.Family
Bloom Filter
BloomFilterBuilder - Class in org.apache.datasketches.filters.bloomfilter
This class provides methods to help estimate the correct parameters when creating a Bloom filter, and methods to create the filter using those values.
BloomFilterBuilder() - Constructor for class org.apache.datasketches.filters.bloomfilter.BloomFilterBuilder
No argument constructor.
BoundsOnBinomialProportions - Class in org.apache.datasketches.common
Confidence intervals for binomial proportions.
BoundsOnRatiosInSampledSets - Class in org.apache.datasketches.common
This class is used to compute the bounds on the estimate of the ratio |B| / |A|, where: |A| is the unknown size of a set A of unique identifiers. |B| is the unknown size of a subset B of A. a = |SA| is the observed size of a sample of A that was obtained by Bernoulli sampling with a known inclusion probability f. b = |SA ∩ B| is the observed size of a subset of SA.
BoundsOnRatiosInThetaSketchedSets - Class in org.apache.datasketches.thetacommon
This class is used to compute the bounds on the estimate of the ratio B / A, where: A is a Theta Sketch of population PopA. B is a Theta Sketch of population PopB that is a subset of A, obtained by an intersection of A with some other Theta Sketch C, which acts like a predicate or selection clause. The estimate of the ratio PopB/PopA is BoundsOnRatiosInThetaSketchedSets.getEstimateOfBoverA(A, B). The Upper Bound estimate on the ratio PopB/PopA is BoundsOnRatiosInThetaSketchedSets.getUpperBoundForBoverA(A, B). The Lower Bound estimate on the ratio PopB/PopA is BoundsOnRatiosInThetaSketchedSets.getLowerBoundForBoverA(A, B). Note: The theta of A cannot be greater than the theta of B.
BoundsOnRatiosInTupleSketchedSets - Class in org.apache.datasketches.thetacommon
This class is used to compute the bounds on the estimate of the ratio B / A, where: A is a Tuple Sketch of population PopA. B is a Tuple or Theta Sketch of population PopB that is a subset of A, obtained by an intersection of A with some other Tuple or Theta Sketch C, which acts like a predicate or selection clause. The estimate of the ratio PopB/PopA is BoundsOnRatiosInThetaSketchedSets.getEstimateOfBoverA(A, B). The Upper Bound estimate on the ratio PopB/PopA is BoundsOnRatiosInThetaSketchedSets.getUpperBoundForBoverA(A, B). The Lower Bound estimate on the ratio PopB/PopA is BoundsOnRatiosInThetaSketchedSets.getLowerBoundForBoverA(A, B). Note: The theta of A cannot be greater than the theta of B.
BoundsRule - Enum Class in org.apache.datasketches.partitions
This instructs the user about which of the upper and lower bounds of a partition definition row should be included with the returned data.
build() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketchBuilder
Returns an UpdatableQuantilesDoublesSketch with the current configuration of this Builder.
build() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnionBuilder
Returns a new empty Union object with the current configuration of this Builder.
build() - Method in class org.apache.datasketches.req.ReqSketchBuilder
Returns a new ReqSketch with the current configuration of the builder.
build() - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Returns an UpdatableThetaSketch with the current configuration of this Builder.
build() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketchBuilder
Returns an ArrayOfDoublesUpdatableSketch with the current configuration of this Builder.
build() - Method in class org.apache.datasketches.tuple.UpdatableTupleSketchBuilder
Returns an UpdatableTupleSketch with the current configuration of this Builder.
build(MemorySegment) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketchBuilder
Returns a UpdatableQuantilesDoublesSketch with the current configuration of this builder and the specified backing destination MemorySegment store that can grow.
build(MemorySegment) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Returns an UpdatableThetaSketch with the current configuration of this Builder with the specified backing destination MemorySegment store.
build(MemorySegment) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketchBuilder
Returns an ArrayOfDoublesUpdatableSketch with the current configuration of this Builder.
build(MemorySegment, MemorySegmentRequest) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketchBuilder
Returns a UpdatableQuantilesDoublesSketch with the current configuration of this builder and the specified backing destination MemorySegment store that can grow.
build(MemorySegment, MemorySegmentRequest) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnionBuilder
Returns a new empty Union object with the current configuration of this Builder and the specified backing destination MemorySegment store.
build(Family) - Method in class org.apache.datasketches.theta.ThetaSetOperationBuilder
Returns a ThetaSetOperation with the current configuration of this Builder and the given Family.
build(Family, MemorySegment) - Method in class org.apache.datasketches.theta.ThetaSetOperationBuilder
Returns a ThetaSetOperation with the current configuration of this Builder, the given Family and the given destination MemorySegment.
buildAnotB() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSetOperationBuilder
Creates an instance of ArrayOfDoublesAnotB based on the current configuration of the builder.
buildANotB() - Method in class org.apache.datasketches.theta.ThetaSetOperationBuilder
Convenience method, returns a configured ThetaSetOperation ANotB with Default Update Seed
builder() - Static method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Returns a new builder
builder() - Static method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Returns a new UnionBuilder
builder() - Static method in class org.apache.datasketches.req.ReqSketch
Returns a new ReqSketchBuilder
builder() - Static method in class org.apache.datasketches.theta.ThetaSetOperation
Makes a new builder
builder() - Static method in class org.apache.datasketches.theta.UpdatableThetaSketch
Returns a new builder
buildIntersection() - Method in class org.apache.datasketches.theta.ThetaSetOperationBuilder
Convenience method, returns a configured ThetaIntersection with Default Nominal Entries
buildIntersection() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSetOperationBuilder
Creates an instance of ArrayOfDoublesIntersection based on the current configuration of the builder.
buildIntersection(MemorySegment) - Method in class org.apache.datasketches.theta.ThetaSetOperationBuilder
Convenience method, returns a configured ThetaIntersection with Default Nominal Entries and the given destination MemorySegment.
buildIntersection(MemorySegment) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSetOperationBuilder
Creates an instance of ArrayOfDoublesIntersection in the given MemorySegment and based on the current configuration of the builder.
buildLocal(UpdatableThetaSketch) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Returns a local, on-heap, concurrent UpdatableThetaSketch to be used as a per-thread local buffer along with the given concurrent shared UpdatableThetaSketch and the current configuration of this Builder.
buildShared() - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Returns an on-heap concurrent shared UpdatableThetaSketch with the current configuration of the Builder.
buildShared(MemorySegment) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Returns a concurrent shared UpdatableThetaSketch with the current configuration of the Builder and the given destination MemorySegment.
buildSharedFromSketch(UpdatableThetaSketch, MemorySegment) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Returns a direct (potentially off-heap) concurrent shared UpdatableThetaSketch with the current configuration of the Builder, the data from the given sketch, and the given destination MemorySegment.
buildUnion() - Method in class org.apache.datasketches.theta.ThetaSetOperationBuilder
Convenience method, returns a configured ThetaSetOperation ThetaUnion with Default Nominal Entries
buildUnion() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSetOperationBuilder
Creates an instance of ArrayOfDoublesUnion based on the current configuration of the builder.
buildUnion(MemorySegment) - Method in class org.apache.datasketches.theta.ThetaSetOperationBuilder
Convenience method, returns a configured ThetaSetOperation ThetaUnion with Default Nominal Entries and the given destination MemorySegment.
buildUnion(MemorySegment) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSetOperationBuilder
Creates an instance of ArrayOfDoublesUnion based on the current configuration of the builder and the given destination MemorySegment.
ByteArrayUtil - Class in org.apache.datasketches.common
Useful methods for byte arrays.
ByteArrayUtil() - Constructor for class org.apache.datasketches.common.ByteArrayUtil
No argument constructor.
bytesToInt(byte[]) - Static method in class org.apache.datasketches.common.Util
Returns an int extracted from a Little-Endian byte array.
bytesToLong(byte[]) - Static method in class org.apache.datasketches.common.Util
Returns a long extracted from a Little-Endian byte array.
bytesToString(byte[], boolean, boolean, String) - Static method in class org.apache.datasketches.common.Util
Returns a string view of a byte array

C

caseIdToCornerCase(int) - Static method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Converts caseId to CornerCaseId
ceilingMultiple2expK(long, int) - Static method in class org.apache.datasketches.common.Util
This is a long integer equivalent to Math.ceil(n / (double)(1 << k)) where: 0 < k ≤ 6 and n is a non-negative long.
ceilingPowerBaseOfDouble(double, double) - Static method in class org.apache.datasketches.common.Util
Returns the ceiling of a given n given a base, where the ceiling is an integral power of the base.
ceilingPowerOf2(int) - Static method in class org.apache.datasketches.common.Util
Computes the int ceiling power of 2 within the range [1, 2^30].
ceilingPowerOf2(long) - Static method in class org.apache.datasketches.common.Util
Computes the long ceiling power of 2 within the range [1, 2^62].
characterPad(String, int, char, boolean) - Static method in class org.apache.datasketches.common.Util
Prepend or postpend the given string with the given character to fill the given field length.
checkBounds(long, long, long) - Static method in class org.apache.datasketches.common.Util
Check the requested offset and length against the allocated size.
checkDoublesSplitPointsOrder(double[]) - Static method in class org.apache.datasketches.quantilescommon.QuantilesUtil
Checks the sequential validity of the given array of double values.
checkFamilyID(int) - Method in enum class org.apache.datasketches.common.Family
Checks the given Family ID
checkFloatsSplitPointsOrder(float[]) - Static method in class org.apache.datasketches.quantilescommon.QuantilesUtil
Checks the sequential validity of the given array of float values.
checkHashCorruption(long) - Static method in class org.apache.datasketches.thetacommon.HashOperations
Checks that the given hash value is not negative.
checkIfMultipleOf8AndGT0(long, String) - Static method in class org.apache.datasketches.common.Util
Checks if parameter v is a multiple of 8 and greater than zero.
checkIfPowerOf2(long, String) - Static method in class org.apache.datasketches.common.Util
Checks the given long argument if it is a positive integer power of 2.
checkLongsSplitPointsOrder(long[]) - Static method in class org.apache.datasketches.quantilescommon.QuantilesUtil
Checks the sequential validity of the given array of double values.
checkNomLongs(int) - Static method in class org.apache.datasketches.thetacommon.ThetaUtil
Checks that the given nomLongs is within bounds and returns the Log2 of the ceiling power of 2 of the given nomLongs.
checkNormalizedRankBounds(double) - Static method in class org.apache.datasketches.quantilescommon.QuantilesUtil
Checks that the given normalized rank: 0 ≤ nRank ≤ 1.0.
checkProbability(double, String) - Static method in class org.apache.datasketches.common.Util
Checks the given parameter to make sure it is positive and between 0.0 inclusive and 1.0 inclusive.
checkSeedHashes(short, short) - Static method in class org.apache.datasketches.common.Util
Check if the two seed hashes are equal.
checkThetaCorruption(long) - Static method in class org.apache.datasketches.thetacommon.HashOperations
Checks that the given theta is not negative nor zero.
ClassicUtil - Class in org.apache.datasketches.quantiles
Utilities for the classic quantiles sketches and independent of the type.
cleanup() - Method in class org.apache.datasketches.common.MemorySegmentRequestExample
This closes any unclosed, off-heap MemorySegments and removes all mappings from the map.
clear(MemorySegment) - Static method in class org.apache.datasketches.common.Util
Clears all bytes of this MemorySegment to zero.
clear(MemorySegment, long, long) - Static method in class org.apache.datasketches.common.Util
Clears a portion of this MemorySegment to zero.
clearBits(MemorySegment, long, byte) - Static method in class org.apache.datasketches.common.Util
Clears the bits defined by the bitMask
combine(double[], double[]) - Method in interface org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesCombiner
Method of combining two arrays of double values
compact() - Method in class org.apache.datasketches.quantiles.UpdatableQuantilesDoublesSketch
Returns a CompactQuantilesDoublesSketch of this class
compact() - Method in class org.apache.datasketches.theta.ThetaSketch
Converts this sketch to a ordered CompactThetaSketch.
compact() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Returns this sketch in compact form, which is immutable.
compact() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Gets an on-heap compact representation of the sketch
compact() - Method in class org.apache.datasketches.tuple.CompactTupleSketch
 
compact() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
Converts the current state of the sketch into a compact sketch
compact() - Method in class org.apache.datasketches.tuple.adouble.DoubleTupleSketch
Converts the current state of the sketch into a compact sketch
compact() - Method in class org.apache.datasketches.fdt.FdtSketch
Converts the current state of the sketch into a compact sketch
compact() - Method in class org.apache.datasketches.tuple.aninteger.IntegerTupleSketch
Converts the current state of the sketch into a compact sketch
compact() - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
Converts the current state of the sketch into a compact sketch
compact() - Method in class org.apache.datasketches.tuple.TupleSketch
Converts this TupleSketch to a CompactTupleSketch on the Java heap.
compact(boolean, MemorySegment) - Method in class org.apache.datasketches.theta.CompactThetaSketch
 
compact(boolean, MemorySegment) - Method in class org.apache.datasketches.theta.ThetaSketch
Convert this sketch to a CompactThetaSketch.
compact(boolean, MemorySegment) - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
 
compact(MemorySegment) - Method in class org.apache.datasketches.quantiles.UpdatableQuantilesDoublesSketch
Returns a compact version of this sketch.
compact(MemorySegment) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Returns this sketch in compact form, which is immutable.
compact(MemorySegment) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Gets an off-heap compact representation of the sketch using the given MemorySegment
COMPACT - Enum constant in enum class org.apache.datasketches.common.Family
The Compact Sketch family is a member of the Theta Sketch Framework of sketches.
COMPACT_EMPTY - Enum constant in enum class org.apache.datasketches.kll.KllSketch.SketchStructure
Compact Empty Structure
COMPACT_FULL - Enum constant in enum class org.apache.datasketches.kll.KllSketch.SketchStructure
Compact Full Preamble Structure
COMPACT_SINGLE - Enum constant in enum class org.apache.datasketches.kll.KllSketch.SketchStructure
Compact Single Item Structure
CompactQuantilesDoublesSketch - Class in org.apache.datasketches.quantiles
Compact sketches are inherently read only.
CompactThetaSketch - Class in org.apache.datasketches.theta
The parent class of all the CompactThetaSketches.
CompactThetaSketch() - Constructor for class org.apache.datasketches.theta.CompactThetaSketch
No argument constructor.
CompactTupleSketch<S> - Class in org.apache.datasketches.tuple
CompactTupleSketches are never created directly.
CompactTupleSketch - Enum constant in enum class org.apache.datasketches.tuple.SerializerDeserializer.SketchType
CompactTupleSketch
compareTo(Group) - Method in class org.apache.datasketches.fdt.Group
 
compareTo(FrequentItemsSketch.Row) - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch.Row
This compareTo is strictly limited to the Row.getEstimate() value and does not imply any ordering whatsoever to the other elements of the row: item and upper and lower bounds.
compareTo(FrequentLongsSketch.Row) - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch.Row
This compareTo is strictly limited to the Row.getEstimate() value and does not imply any ordering whatsoever to the other elements of the row: item and upper and lower bounds.
Composite Estimator - Section in package org.apache.datasketches.hll
 
CompressionCharacterization - Class in org.apache.datasketches.cpc
This code is used both by unit tests, for short running tests, and by the characterization repository for longer running, more exhaustive testing.
CompressionCharacterization(int, int, int, int, int, int, int, PrintStream, PrintWriter) - Constructor for class org.apache.datasketches.cpc.CompressionCharacterization
Only used in test.
computeBytesNeeded(int) - Static method in class org.apache.datasketches.common.ArrayOfBooleansSerDe
Computes number of bytes needed for packed bit encoding of the array of booleans.
computeKSDelta(QuantilesDoublesAPI, QuantilesDoublesAPI) - Static method in class org.apache.datasketches.quantilescommon.KolmogorovSmirnov
Computes the raw delta between two QuantilesDoublesAPI sketches for the kolmogorovSmirnovTest(...) method.
computeKSDelta(QuantilesFloatsAPI, QuantilesFloatsAPI) - Static method in class org.apache.datasketches.quantilescommon.KolmogorovSmirnov
Computes the raw delta between two QuantilesFloatsAPI sketches for the kolmogorovSmirnovTest(...) method. method.
computeKSThreshold(QuantilesAPI, QuantilesAPI, double) - Static method in class org.apache.datasketches.quantilescommon.KolmogorovSmirnov
Computes the adjusted delta height threshold for the kolmogorovSmirnovTest(...) method.
computeSeedHash(long) - Static method in class org.apache.datasketches.common.Util
Computes and checks the 16-bit seed hash from the given long seed.
ConcurrentBufferInserted - Enum constant in enum class org.apache.datasketches.theta.UpdateReturnState
The hash was inserted into the local concurrent buffer, but has not yet been propagated to the concurrent shared sketch.
ConcurrentPropagated - Enum constant in enum class org.apache.datasketches.theta.UpdateReturnState
The hash has been propagated to the concurrent shared sketch.
continueCondition(long, long) - Static method in class org.apache.datasketches.thetacommon.HashOperations
Return true (continue) if hash is greater than or equal to thetaLong, or if hash == 0, or if hash == Long.MAX_VALUE.
convertToHashTable(long[], int, long, double) - Static method in class org.apache.datasketches.thetacommon.HashOperations
Converts the given array to a hash table.
copy() - Method in class org.apache.datasketches.fdt.FdtSketch
 
copy() - Method in class org.apache.datasketches.hll.HllSketch
Return a copy of this sketch onto the Java heap.
copy() - Method in class org.apache.datasketches.tuple.adouble.DoubleSummary
 
copy() - Method in class org.apache.datasketches.tuple.aninteger.IntegerSummary
 
copy() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSummary
 
copy() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
 
copy() - Method in interface org.apache.datasketches.tuple.Summary
Deep copy.
copy() - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
 
copyAs(TgtHllType) - Method in class org.apache.datasketches.hll.HllSketch
Return a deep copy of this sketch onto the Java heap with the specified TgtHllType.
copyBytes(byte[], int, byte[], int, int) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Copies bytes from source to target with offsets on both the source and target.
copySummaryArray(S[]) - Static method in class org.apache.datasketches.tuple.Util
Will copy compact summary arrays as well as hashed summary tables (with nulls).
count(long[], long) - Static method in class org.apache.datasketches.thetacommon.HashOperations
Counts the cardinality of the given source array.
COUNTMIN - Enum constant in enum class org.apache.datasketches.common.Family
CountMin Sketch
CountMinSketch - Class in org.apache.datasketches.count
Java implementation of the CountMin sketch data structure of Cormode and Muthukrishnan.
countPart(long[], int, long) - Static method in class org.apache.datasketches.thetacommon.HashOperations
Counts the cardinality of the first Log2 values of the given source array.
CPC - Enum constant in enum class org.apache.datasketches.common.Family
Compressed Probabilistic Counting (CPC) Sketch
CpcSketch - Class in org.apache.datasketches.cpc
This is a unique-counting sketch that implements the Compressed Probabilistic Counting (CPC, a.k.a FM85) algorithms developed by Kevin Lang in his paper Back to the Future: an Even More Nearly Optimal Cardinality Estimation Algorithm.
CpcSketch() - Constructor for class org.apache.datasketches.cpc.CpcSketch
Constructor with default log_base2 of k
CpcSketch(int) - Constructor for class org.apache.datasketches.cpc.CpcSketch
Constructor with log_base2 of k.
CpcSketch(int, long) - Constructor for class org.apache.datasketches.cpc.CpcSketch
Constructor with log_base2 of k and seed.
CpcUnion - Class in org.apache.datasketches.cpc
The union (merge) operation for the CPC sketches.
CpcUnion() - Constructor for class org.apache.datasketches.cpc.CpcUnion
Construct this unioning object with the default LgK and the default update seed.
CpcUnion(int) - Constructor for class org.apache.datasketches.cpc.CpcUnion
Construct this unioning object with LgK and the default update seed.
CpcUnion(int, long) - Constructor for class org.apache.datasketches.cpc.CpcUnion
Construct this unioning object with LgK and a given seed.
CpcWrapper - Class in org.apache.datasketches.cpc
This provides a read-only view of a serialized image of a CpcSketch, which can be on-heap or off-heap represented as a MemorySegment object, or on-heap represented as a byte array.
CpcWrapper(byte[]) - Constructor for class org.apache.datasketches.cpc.CpcWrapper
Construct a read-only view of the given byte array that contains a CpcSketch.
CpcWrapper(MemorySegment) - Constructor for class org.apache.datasketches.cpc.CpcWrapper
Construct a read-only view of the given MemorySegment that contains a CpcSketch
createByAccuracy(long, double) - Static method in class org.apache.datasketches.filters.bloomfilter.BloomFilterBuilder
Creates a new BloomFilter with an optimal number of bits and hash functions for the given inputs, using a random base seed for the hash function.
createByAccuracy(long, double, long) - Static method in class org.apache.datasketches.filters.bloomfilter.BloomFilterBuilder
Creates a new BloomFilter with an optimal number of bits and hash functions for the given inputs, using the provided base seed for the hash function.
createBySize(long, int) - Static method in class org.apache.datasketches.filters.bloomfilter.BloomFilterBuilder
Creates a BloomFilter with given number of bits and number of hash functions, using a random base seed for the hash function.
createBySize(long, int, long) - Static method in class org.apache.datasketches.filters.bloomfilter.BloomFilterBuilder
Creates a BloomFilter with given number of bits and number of hash functions, using the provided base seed for the hash function.
createCornerCaseId(long, int, boolean, long, int, boolean) - Static method in class org.apache.datasketches.thetacommon.SetOperationCornerCases
Creates the CornerCase ID
createEmptySketch() - Static method in class org.apache.datasketches.tuple.TupleSketch
Creates an empty CompactTupleSketch.
cumWeights - Variable in class org.apache.datasketches.quantilescommon.IncludeMinMax.DoublesPair
the array of associated cumulative weights
cumWeights - Variable in class org.apache.datasketches.quantilescommon.IncludeMinMax.FloatsPair
The array of associated cumulative weights
cumWeights - Variable in class org.apache.datasketches.quantilescommon.IncludeMinMax.ItemsPair
The array of associated cumulative weights
cumWeights - Variable in class org.apache.datasketches.quantilescommon.IncludeMinMax.LongsPair
the array of associated cumulative weights

D

Default() - Constructor for class org.apache.datasketches.common.MemorySegmentRequest.Default
No argument constructor that creates the target for the static member DEFAULT.
DEFAULT - Static variable in interface org.apache.datasketches.common.MemorySegmentRequest
Create Default as static member.
DEFAULT_HLL_TYPE - Static variable in class org.apache.datasketches.hll.HllSketch
The default HLL-TYPE is HLL_4
DEFAULT_K - Static variable in class org.apache.datasketches.kll.KllSketch
The default K
DEFAULT_K - Static variable in class org.apache.datasketches.tdigest.TDigestDouble
the default value of K if one is not specified
DEFAULT_LG_K - Static variable in class org.apache.datasketches.cpc.CpcSketch
The default Log_base2 of K
DEFAULT_LG_K - Static variable in class org.apache.datasketches.hll.HllSketch
The default Log_base2 of K
DEFAULT_NOMINAL_ENTRIES - Static variable in class org.apache.datasketches.thetacommon.ThetaUtil
The default nominal entries is provided as a convenience for those cases where the nominal sketch size in number of entries is not provided.
DEFAULT_NOMINAL_ENTRIES - Static variable in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSetOperationBuilder
Default Nominal Entries (a.k.a.
DEFAULT_NUMBER_OF_VALUES - Static variable in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSetOperationBuilder
Default number of values
DEFAULT_UPDATE_SEED - Static variable in class org.apache.datasketches.common.Util
The seed 9001 used in the sketch update methods is a prime number that was chosen very early on in experimental testing.
Degen_Degen - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Degen_Degen
Degen_Empty - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Degen_Empty
Degen_Estimation - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Degen_Estimation
Degen_Exact - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Degen_Exact
DEGEN_MIN_0_F - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.AnotbAction
Degenerate{MinTheta, 0, F}
DEGEN_MIN_0_F - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.IntersectAction
Degenerate{MinTheta, 0, F}
DEGEN_MIN_0_F - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.UnionAction
Degenerate{MinTheta, 0, F}
DEGEN_THA_0_F - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.AnotbAction
Degenerate{ThetaA, 0, F}
DEGEN_THA_0_F - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.UnionAction
Degenerate{ThetaA, 0, F}
DEGEN_THB_0_F - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.UnionAction
Degenerate{ThetaB, 0, F}
desc(double[], int, int, double, int) - Method in enum class org.apache.datasketches.quantilescommon.InequalitySearch
Optional call that describes the details of the results of the search.
desc(float[], int, int, float, int) - Method in enum class org.apache.datasketches.quantilescommon.InequalitySearch
Optional call that describes the details of the results of the search.
desc(long[], int, int, double, int) - Method in enum class org.apache.datasketches.quantilescommon.InequalitySearch
Optional call that describes the details of the results of the search.
desc(long[], int, int, long, int) - Method in enum class org.apache.datasketches.quantilescommon.InequalitySearch
Optional call that describes the details of the results of the search.
deserialize(byte[], long) - Static method in class org.apache.datasketches.count.CountMinSketch
Deserializes a CountMinSketch from the provided byte array.
deserializeFromMemorySegment(MemorySegment, int) - Method in class org.apache.datasketches.common.ArrayOfBooleansSerDe
 
deserializeFromMemorySegment(MemorySegment, int) - Method in class org.apache.datasketches.common.ArrayOfDoublesSerDe
 
deserializeFromMemorySegment(MemorySegment, int) - Method in class org.apache.datasketches.common.ArrayOfItemsSerDe
Deserialize a contiguous sequence of serialized items from the given MemorySegment starting at a MemorySegment offset of zero and extending numItems.
deserializeFromMemorySegment(MemorySegment, int) - Method in class org.apache.datasketches.common.ArrayOfLongsSerDe
 
deserializeFromMemorySegment(MemorySegment, int) - Method in class org.apache.datasketches.common.ArrayOfNumbersSerDe
 
deserializeFromMemorySegment(MemorySegment, int) - Method in class org.apache.datasketches.common.ArrayOfStringsSerDe
 
deserializeFromMemorySegment(MemorySegment, int) - Method in class org.apache.datasketches.common.ArrayOfUtf16StringsSerDe
 
deserializeFromMemorySegment(MemorySegment, long, int) - Method in class org.apache.datasketches.common.ArrayOfBooleansSerDe
 
deserializeFromMemorySegment(MemorySegment, long, int) - Method in class org.apache.datasketches.common.ArrayOfDoublesSerDe
 
deserializeFromMemorySegment(MemorySegment, long, int) - Method in class org.apache.datasketches.common.ArrayOfItemsSerDe
Deserialize a contiguous sequence of serialized items from the given MemorySegment starting at the given MemorySegment offsetBytes and extending numItems.
deserializeFromMemorySegment(MemorySegment, long, int) - Method in class org.apache.datasketches.common.ArrayOfLongsSerDe
 
deserializeFromMemorySegment(MemorySegment, long, int) - Method in class org.apache.datasketches.common.ArrayOfNumbersSerDe
 
deserializeFromMemorySegment(MemorySegment, long, int) - Method in class org.apache.datasketches.common.ArrayOfStringsSerDe
 
deserializeFromMemorySegment(MemorySegment, long, int) - Method in class org.apache.datasketches.common.ArrayOfUtf16StringsSerDe
 
DeserializeResult<T> - Class in org.apache.datasketches.tuple
Returns an object and its size in bytes as a result of a deserialize operation
DeserializeResult(T, int) - Constructor for class org.apache.datasketches.tuple.DeserializeResult
Creates an instance.
DirectBitArrayR - Class in org.apache.datasketches.filters.bloomfilter
This class can maintain the BitArray object off-heap.
dissimilarityTest(ThetaSketch, ThetaSketch, double) - Static method in class org.apache.datasketches.theta.JaccardSimilarity
Tests dissimilarity of a measured ThetaSketch against an expected ThetaSketch.
dissimilarityTest(TupleSketch, ThetaSketch, S, SummarySetOperations, double) - Static method in class org.apache.datasketches.tuple.JaccardSimilarity
Tests dissimilarity of a measured TupleSketch against an expected ThetaSketch.
dissimilarityTest(TupleSketch, TupleSketch, SummarySetOperations, double) - Static method in class org.apache.datasketches.tuple.JaccardSimilarity
Tests dissimilarity of a measured TupleSketch against an expected TupleSketch.
DoublesPair(double[], long[]) - Constructor for class org.apache.datasketches.quantilescommon.IncludeMinMax.DoublesPair
Constructor.
DoublesSketchSortedView - Class in org.apache.datasketches.quantilescommon
The SortedView of the Quantiles Classic QuantilesDoublesSketch and the KllDoublesSketch.
DoublesSketchSortedView(double[], long[], QuantilesDoublesAPI) - Constructor for class org.apache.datasketches.quantilescommon.DoublesSketchSortedView
Construct from elements, also used in testing.
DoublesSortedView - Interface in org.apache.datasketches.quantilescommon
The Sorted View for quantile sketches of primitive type double.
DoublesSortedViewIterator - Class in org.apache.datasketches.quantilescommon
Iterator over quantile sketches of primitive type double.
DoublesSortedViewIterator(double[], long[]) - Constructor for class org.apache.datasketches.quantilescommon.DoublesSortedViewIterator
Constructor.
DoubleSummary - Class in org.apache.datasketches.tuple.adouble
Summary for generic tuple sketches of type Double.
DoubleSummary(DoubleSummary.Mode) - Constructor for class org.apache.datasketches.tuple.adouble.DoubleSummary
Creates an instance of DoubleSummary with a given mode.
DoubleSummary.Mode - Enum Class in org.apache.datasketches.tuple.adouble
The aggregation modes for this Summary
DoubleSummaryDeserializer - Class in org.apache.datasketches.tuple.adouble
Implements SummaryDeserializer<DoubleSummary>
DoubleSummaryDeserializer() - Constructor for class org.apache.datasketches.tuple.adouble.DoubleSummaryDeserializer
No argument constructor.
DoubleSummaryFactory - Class in org.apache.datasketches.tuple.adouble
Factory for DoubleSummary.
DoubleSummaryFactory(DoubleSummary.Mode) - Constructor for class org.apache.datasketches.tuple.adouble.DoubleSummaryFactory
Creates an instance of DoubleSummaryFactory with a given mode
DoubleSummarySetOperations - Class in org.apache.datasketches.tuple.adouble
Methods for defining how unions and intersections of two objects of type DoubleSummary are performed.
DoubleSummarySetOperations() - Constructor for class org.apache.datasketches.tuple.adouble.DoubleSummarySetOperations
Creates an instance with default mode of sum for both union and intersection.
DoubleSummarySetOperations(DoubleSummary.Mode) - Constructor for class org.apache.datasketches.tuple.adouble.DoubleSummarySetOperations
Creates an instance given a DoubleSummary update mode where the mode is the same for both union and intersection.
DoubleSummarySetOperations(DoubleSummary.Mode, DoubleSummary.Mode) - Constructor for class org.apache.datasketches.tuple.adouble.DoubleSummarySetOperations
Creates an instance with two modes.
doubleToLongArray(double) - Static method in class org.apache.datasketches.tuple.Util
Converts a double to a long[].
DoubleTupleSketch - Class in org.apache.datasketches.tuple.adouble
Extends UpdatableTupleSketch<Double, DoubleSummary>
DoubleTupleSketch(int, int, float, DoubleSummary.Mode) - Constructor for class org.apache.datasketches.tuple.adouble.DoubleTupleSketch
Creates this sketch with the following parameters:
DoubleTupleSketch(int, DoubleSummary.Mode) - Constructor for class org.apache.datasketches.tuple.adouble.DoubleTupleSketch
Constructs this sketch with given lgK.
DoubleTupleSketch(MemorySegment, DoubleSummary.Mode) - Constructor for class org.apache.datasketches.tuple.adouble.DoubleTupleSketch
Deprecated.
As of 3.0.0, heapifying an UpdatableTupleSketch is deprecated. This capability will be removed in a future release. Heapifying a CompactTupleSketch is not deprecated.
downSample(int) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
From an existing sketch, this creates a new sketch that can have a smaller K.
downSample(QuantilesDoublesSketch, int, MemorySegment, MemorySegmentRequest) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
From an source sketch, create a new sketch that must have a smaller K.

E

EBPPS - Enum constant in enum class org.apache.datasketches.common.Family
Exact and Bounded, Probability Proportional to Size (EBPPS)
EbppsItemsSketch<T> - Class in org.apache.datasketches.sampling
An implementation of an Exact and Bounded Sampling Proportional to Size sketch.
EbppsItemsSketch(int) - Constructor for class org.apache.datasketches.sampling.EbppsItemsSketch
Constructor
emitAdjSecSizeNumSec(byte) - Method in interface org.apache.datasketches.req.ReqDebug
Emit adjusting section size and number of sections.
emitAllHorizList() - Method in interface org.apache.datasketches.req.ReqDebug
Emit all horizontal lists
emitCompactingStart(byte) - Method in interface org.apache.datasketches.req.ReqDebug
Emit Compaction Start.
emitCompactionDetail(int, int, int, int, boolean) - Method in interface org.apache.datasketches.req.ReqDebug
Emit Compaction details.
emitCompactionDone(byte) - Method in interface org.apache.datasketches.req.ReqDebug
Emit compaction done and number of compactions so far.
emitCompressDone() - Method in interface org.apache.datasketches.req.ReqDebug
Emit compress done.
emitMustAddCompactor() - Method in interface org.apache.datasketches.req.ReqDebug
Emit Must add compactor
emitNewCompactor(byte) - Method in interface org.apache.datasketches.req.ReqDebug
Emit new compactor configuration
emitStart(ReqSketch) - Method in interface org.apache.datasketches.req.ReqDebug
Emit the start signal
emitStartCompress() - Method in interface org.apache.datasketches.req.ReqDebug
Emit Start Compress
EMPTY_1_0_T - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.AnotbAction
Empty{1.0, 0, T}
EMPTY_1_0_T - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.IntersectAction
Empty{1.0, 0, T
EMPTY_1_0_T - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.UnionAction
Empty{1.0, 0, T}
Empty_Degen - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Empty Degen
Empty_Empty - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Empty Empty
Empty_Estimation - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Empty Estimation
Empty_Exact - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Empty Exact
EMPTY_MSG - Static variable in interface org.apache.datasketches.quantilescommon.QuantilesAPI
The sketch must not be empty for this operation.
EQ - Enum constant in enum class org.apache.datasketches.quantilescommon.GenericInequalitySearch.Inequality
Given a sorted array of increasing values arr[] and a key value V, this criterion instructs the binary search algorithm to find the adjacent pair of values {A,B} such that A ≤ V ≤ B.
EQ - Enum constant in enum class org.apache.datasketches.quantilescommon.InequalitySearch
Given a sorted array of increasing values arr[] and a key value V, this criterion instructs the binary search algorithm to find the adjacent pair of values {A,B} such that A ≤ V ≤ B.
equalContents(MemorySegment, long, MemorySegment, long, long) - Static method in class org.apache.datasketches.common.Util
Returns true if both segments have the same content for the specified region.
equalContents(MemorySegment, MemorySegment) - Static method in class org.apache.datasketches.common.Util
Returns true if both segments have the same contents and the same length.
equallySpacedDoubles(int) - Static method in class org.apache.datasketches.quantilescommon.QuantilesUtil
Returns an array of (num + 1) values that define equally sized intervals between 0.0, inclusive, and 1.0, inclusive.
equallySpacedLongs(long, long, int) - Static method in class org.apache.datasketches.quantilescommon.QuantilesUtil
Returns an array of (num + 1) longs that define, approximately, equally spaced intervals between the given max, inclusive, and min, inclusive.
equals(Object) - Method in class org.apache.datasketches.fdt.Group
 
equals(Object) - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch.Row
This equals is computed only from the Row.getEstimate() value and does not imply equality of the other items within the row: item and upper and lower bounds.
equals(Object) - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch.Row
This equals is computed only from the Row.getEstimate() value and does not imply equality of the other items within the row: item and upper and lower bounds.
equals(Object) - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSummary
 
erf(double) - Static method in class org.apache.datasketches.common.BoundsOnBinomialProportions
Computes an approximation to the erf() function.
ErrorType - Enum Class in org.apache.datasketches.frequencies
Specifies one of two types of error regions of the statistical classification Confusion Matrix that can be excluded from a returned sample of Frequent Items.
estimateSubsetSum(Predicate) - Method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Computes an estimated subset sum from the entire stream for objects matching a given predicate.
estimateSubsetSum(Predicate) - Method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Computes an estimated subset sum from the entire stream for objects matching a given predicate.
estimateSubsetSum(Predicate) - Method in class org.apache.datasketches.sampling.VarOptItemsSketch
Computes an estimated subset sum from the entire stream for objects matching a given predicate.
estimateUnknownP(long, long) - Static method in class org.apache.datasketches.common.BoundsOnBinomialProportions
Computes an estimate of an unknown binomial proportion.
Estimation_Degen - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Estimation_Degen
Estimation_Empty - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Estimation_Empty
Estimation_Estimation - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Estimation_Estimation
Estimation_Exact - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Estimation_Exact
evenlyLogSpaced(double, double, int) - Static method in class org.apache.datasketches.quantilescommon.QuantilesUtil
Returns a double array of values between min and max inclusive where the log of the returned values are evenly spaced.
evenlySpacedDoubles(double, double, int) - Static method in class org.apache.datasketches.quantilescommon.QuantilesUtil
Returns a double array of evenly spaced values between value1, inclusive, and value2 inclusive.
evenlySpacedFloats(float, float, int) - Static method in class org.apache.datasketches.quantilescommon.QuantilesUtil
Returns a float array of evenly spaced values between value1, inclusive, and value2 inclusive.
Exact_Degen - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Exact Degen
Exact_Empty - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Exact Empty
Exact_Estimation - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Exact Estimation
Exact_Exact - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Exact Exact
exactLog2OfInt(int) - Static method in class org.apache.datasketches.common.Util
Returns the log2 of the given int value if it is an exact power of 2 and greater than zero.
exactLog2OfInt(int, String) - Static method in class org.apache.datasketches.common.Util
Returns the log2 of the given int value if it is an exact power of 2 and greater than zero.
exactLog2OfLong(long) - Static method in class org.apache.datasketches.common.Util
Returns the log2 of the given long value if it is an exact power of 2 and greater than zero.
exactLog2OfLong(long, String) - Static method in class org.apache.datasketches.common.Util
Returns the log2 of the given long value if it is an exact power of 2 and greater than zero.
exactlyEqual(ThetaSketch, ThetaSketch) - Static method in class org.apache.datasketches.theta.JaccardSimilarity
Returns true if the two given sketches have exactly the same hash values and the same theta values.
exactlyEqual(TupleSketch, ThetaSketch, S, SummarySetOperations) - Static method in class org.apache.datasketches.tuple.JaccardSimilarity
Returns true if the two given sketches have exactly the same hash values and the same theta values.
exactlyEqual(TupleSketch, TupleSketch, SummarySetOperations) - Static method in class org.apache.datasketches.tuple.JaccardSimilarity
Returns true if the two given sketches have exactly the same hash values and the same theta values.
EXCLUSIVE - Enum constant in enum class org.apache.datasketches.quantilescommon.QuantileSearchCriteria
Definition of EXCLUSIVE getQuantile(r) search:
Given rank r, return the quantile of the smallest rank that is strictly greater than r.

F

Family - Enum Class in org.apache.datasketches.common
Defines the various families of sketch and set operation classes.
fastWrap(MemorySegment) - Static method in class org.apache.datasketches.theta.ThetaUnion
Wrap a ThetaUnion object around a ThetaUnion MemorySegment object containing data.
fastWrap(MemorySegment, long) - Static method in class org.apache.datasketches.theta.ThetaUnion
Wrap a ThetaUnion object around a ThetaUnion MemorySegment object containing data.
FdtSketch - Class in org.apache.datasketches.fdt
A Frequent Distinct Tuples sketch.
FdtSketch(double, double) - Constructor for class org.apache.datasketches.fdt.FdtSketch
Create a new instance of Frequent Distinct Tuples sketch with a size determined by the given threshold and rse.
FdtSketch(int) - Constructor for class org.apache.datasketches.fdt.FdtSketch
Create new instance of Frequent Distinct Tuples sketch with the given Log-base2 of required nominal entries.
FdtSketch(FdtSketch) - Constructor for class org.apache.datasketches.fdt.FdtSketch
Copy Constructor
fill(MemorySegment, long, long, byte) - Static method in class org.apache.datasketches.common.Util
Fills a portion of this Memory region to the given byte value.
filter(TupleSketch) - Method in class org.apache.datasketches.tuple.Filter
Filters elements on the provided TupleSketch
Filter<T> - Class in org.apache.datasketches.tuple
Class for filtering entries from a TupleSketch given a Summary
Filter(Predicate) - Constructor for class org.apache.datasketches.tuple.Filter
Filter constructor with a Predicate
find(double[], int, int, double) - Static method in class org.apache.datasketches.quantilescommon.BinarySearch
Binary Search for the index of the exact double value in the given search range.
find(double[], int, int, double, InequalitySearch) - Static method in enum class org.apache.datasketches.quantilescommon.InequalitySearch
Binary Search for the index of the double value in the given search range that satisfies the given InequalitySearch criterion.
find(float[], int, int, float) - Static method in class org.apache.datasketches.quantilescommon.BinarySearch
Binary Search for the index of the exact float value in the given search range.
find(float[], int, int, float, InequalitySearch) - Static method in enum class org.apache.datasketches.quantilescommon.InequalitySearch
Binary Search for the index of the float value in the given search range that satisfies the given InequalitySearch criterion.
find(long[], int, int, double, InequalitySearch) - Static method in enum class org.apache.datasketches.quantilescommon.InequalitySearch
Binary Search for the index of the double value in the given search range that satisfies the given InequalitySearch criterion.
find(long[], int, int, long) - Static method in class org.apache.datasketches.quantilescommon.BinarySearch
Binary Search for the index of the exact long value in the given search range.
find(long[], int, int, long, InequalitySearch) - Static method in enum class org.apache.datasketches.quantilescommon.InequalitySearch
Binary Search for the index of the long value in the given search range that satisfies the given InequalitySearch criterion.
find(T[], int, int, T, GenericInequalitySearch.Inequality, Comparator) - Static method in class org.apache.datasketches.quantilescommon.GenericInequalitySearch
Binary Search for the index of the generic value in the given search range that satisfies the given Inequality criterion.
FloatsPair(float[], long[]) - Constructor for class org.apache.datasketches.quantilescommon.IncludeMinMax.FloatsPair
Constructor.
FloatsSketchSortedView - Class in org.apache.datasketches.quantilescommon
The SortedView for the KllFloatsSketch and the ReqSketch.
FloatsSketchSortedView(float[], long[], QuantilesFloatsAPI) - Constructor for class org.apache.datasketches.quantilescommon.FloatsSketchSortedView
Construct Sorted View.
FloatsSortedView - Interface in org.apache.datasketches.quantilescommon
The Sorted View for quantiles of primitive type float.
FloatsSortedViewIterator - Class in org.apache.datasketches.quantilescommon
Iterator over quantile sketches of primitive type float.
FloatsSortedViewIterator(float[], long[]) - Constructor for class org.apache.datasketches.quantilescommon.FloatsSortedViewIterator
Constructor.
floorPowerBaseOfDouble(double, double) - Static method in class org.apache.datasketches.common.Util
Computes the floor of a given n given base, where the floor is an integral power of the base.
floorPowerOf2(int) - Static method in class org.apache.datasketches.common.Util
Computes the floor power of 2 given n is in the range [1, 2^31-1].
floorPowerOf2(long) - Static method in class org.apache.datasketches.common.Util
Computes the floor power of 2 given n is in the range [1, 2^63-1].
FREQUENCY - Enum constant in enum class org.apache.datasketches.common.Family
The Frequency family of sketches.
FrequentItemsSketch<T> - Class in org.apache.datasketches.frequencies
This sketch is based on the paper https://arxiv.org/abs/1705.07001 ("A High-Performance Algorithm for Identifying Frequent Items in Data Streams" by Daniel Anderson, Pryce Bevan, Kevin Lang, Edo Liberty, Lee Rhodes, and Justin Thaler) and is useful for tracking approximate frequencies of items of type <T> with optional associated counts (<T> item, long count) that are members of a multiset of such items.
FrequentItemsSketch(int) - Constructor for class org.apache.datasketches.frequencies.FrequentItemsSketch
Construct this sketch with the parameter maxMapSize and the default initialMapSize (8).
FrequentItemsSketch.Row<T> - Class in org.apache.datasketches.frequencies
Row class that defines the return values from a getFrequentItems query.
FrequentLongsSketch - Class in org.apache.datasketches.frequencies
This sketch is based on the paper https://arxiv.org/abs/1705.07001 ("A High-Performance Algorithm for Identifying Frequent Items in Data Streams" by Daniel Anderson, Pryce Bevan, Kevin Lang, Edo Liberty, Lee Rhodes, and Justin Thaler) and is useful for tracking approximate frequencies of long items with optional associated counts (long item, long count) that are members of a multiset of such items.
FrequentLongsSketch(int) - Constructor for class org.apache.datasketches.frequencies.FrequentLongsSketch
Construct this sketch with the parameter maxMapSize and the default initialMapSize (8).
FrequentLongsSketch.Row - Class in org.apache.datasketches.frequencies
Row class that defines the return values from a getFrequentItems query.
fromMemorySegment(MemorySegment) - Static method in class org.apache.datasketches.tuple.adouble.DoubleSummary
Creates an instance of the DoubleSummary given a serialized representation
fromMemorySegment(MemorySegment) - Static method in class org.apache.datasketches.tuple.aninteger.IntegerSummary
Creates an instance of the IntegerSummary given a serialized representation
fromOrdinal(int) - Static method in enum class org.apache.datasketches.hll.TgtHllType
Convert the typeId to the enum type
FULL_ANOTB - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.AnotbAction
Full AnotB
FULL_INTERSECT - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.IntersectAction
Full Intersect
FULL_UNION - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.UnionAction
Full Union

G

GE - Enum constant in enum class org.apache.datasketches.quantilescommon.GenericInequalitySearch.Inequality
Given a sorted array of increasing values arr[] and a key value V, this criterion instructs the binary search algorithm to find the lowest adjacent pair of values {A,B} such that A < V ≤ B.
Let low = index of the lowest value in the range.
Let high = index of the highest value in the range.
GE - Enum constant in enum class org.apache.datasketches.quantilescommon.InequalitySearch
Given a sorted array of increasing values arr[] and a key value V, this criterion instructs the binary search algorithm to find the lowest adjacent pair of values {A,B} such that A < V ≤ B.
Let low = index of the lowest value in the range.
Let high = index of the highest value in the range.
GenericInequalitySearch - Class in org.apache.datasketches.quantilescommon
This provides efficient, unique and unambiguous binary searching for inequality comparison criteria for ordered arrays of values that may include duplicate values.
GenericInequalitySearch() - Constructor for class org.apache.datasketches.quantilescommon.GenericInequalitySearch
No argument constructor.
GenericInequalitySearch.Inequality - Enum Class in org.apache.datasketches.quantilescommon
The enumerator of inequalities
GenericPartitionBoundaries<T> - Class in org.apache.datasketches.quantilescommon
This defines the returned results of the getParitionBoundaries() function and includes the basic methods needed to construct actual partitions.
GenericPartitionBoundaries(long, T[], long[], double[], T, T, QuantileSearchCriteria) - Constructor for class org.apache.datasketches.quantilescommon.GenericPartitionBoundaries
Constructor.
GenericSortedView<T> - Interface in org.apache.datasketches.quantilescommon
The Sorted View for quantiles of generic type.
GenericSortedViewIterator<T> - Class in org.apache.datasketches.quantilescommon
Iterator over quantile sketches of generic type.
GenericSortedViewIterator(T[], long[]) - Constructor for class org.apache.datasketches.quantilescommon.GenericSortedViewIterator
Constructor
get() - Method in interface org.apache.datasketches.theta.HashIterator
Gets the hash value
getActionDescription() - Method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.AnotbAction
Gets the action description
getActionDescription() - Method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.IntersectAction
Gets the Action Description
getActionDescription() - Method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.UnionAction
Gets the action description
getActionId() - Method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.AnotbAction
Gets the Action ID
getActionId() - Method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.IntersectAction
Gets the Action ID
getActionId() - Method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.UnionAction
Gets the action ID
getActiveEntries() - Method in class org.apache.datasketches.hllmap.UniqueCountMap
Returns the number of active, unique keys across all internal maps
getAnotbAction() - Method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Gets the AnotB action
getAprioriError(int, long) - Static method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Returns the estimated a priori error given the maxMapSize for the sketch and the estimatedTotalStreamWeight.
getAprioriError(int, long) - Static method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns the estimated a priori error given the maxMapSize for the sketch and the estimatedTotalStreamWeight.
getAverageSketchBytesPerKey() - Method in class org.apache.datasketches.hllmap.UniqueCountMap
Returns the average bytes storage per key that is dedicated to sketching the unique counts.
getBitsUsed() - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Returns the number of bits in the BloomFilter that are set to 1.
getBoolean() - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the boolean value at the current position.
getBoolean(long) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the boolean value at the given offset.
getBoundaries() - Method in class org.apache.datasketches.quantilescommon.GenericPartitionBoundaries
Gets an ordered array of boundaries that sequentially define the upper and lower boundaries of partitions.
getByte() - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the byte value at the current position.
getByte(long) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the byte value at the given offset.
getByteArray(byte[], int, int) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the byte array at the current position.
getBytes() - Method in enum class org.apache.datasketches.kll.KllSketch.SketchType
Gets the item size in bytes.
getC() - Method in class org.apache.datasketches.sampling.EbppsItemsSketch
Returns the expected number of samples returned upon a call to getResult().
getCapacity() - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Returns the total number of bits in the BloomFilter.
getCaseDescription() - Method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Gets the case description
getCDF(double[]) - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
This is equivalent to getCDF(splitPoints, INCLUSIVE)
getCDF(double[]) - Method in class org.apache.datasketches.tdigest.TDigestDouble
Returns an approximation to the Cumulative Distribution Function (CDF), which is the cumulative analog of the PMF, of the input stream given a set of split points.
getCDF(double[], QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllDoublesSketch
 
getCDF(double[], QuantileSearchCriteria) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
getCDF(double[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.DoublesSortedView
Returns an approximation to the Cumulative Distribution Function (CDF) of the input stream as a monotonically increasing array of double ranks (or cumulative probabilities) on the interval [0.0, 1.0], given a set of splitPoints.
getCDF(double[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
Returns an approximation to the Cumulative Distribution Function (CDF) of the input stream as a monotonically increasing array of double ranks (or cumulative probabilities) on the interval [0.0, 1.0], given a set of splitPoints.
getCDF(float[]) - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
This is equivalent to getCDF(splitPoints, INCLUSIVE)
getCDF(float[], QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllFloatsSketch
 
getCDF(float[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.FloatsSortedView
Returns an approximation to the Cumulative Distribution Function (CDF) of the input stream as a monotonically increasing array of double ranks (or cumulative probabilities) on the interval [0.0, 1.0], given a set of splitPoints.
getCDF(float[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
Returns an approximation to the Cumulative Distribution Function (CDF) of the input stream as a monotonically increasing array of double ranks (or cumulative probabilities) on the interval [0.0, 1.0], given a set of splitPoints.
getCDF(float[], QuantileSearchCriteria) - Method in class org.apache.datasketches.req.ReqSketch
 
getCDF(long[]) - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
This is equivalent to getCDF(splitPoints, INCLUSIVE)
getCDF(long[], QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllLongsSketch
 
getCDF(long[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.LongsSortedView
Returns an approximation to the Cumulative Distribution Function (CDF) of the input stream as a monotonically increasing array of double ranks (or cumulative probabilities) on the interval [0.0, 1.0], given a set of splitPoints.
getCDF(long[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
Returns an approximation to the Cumulative Distribution Function (CDF) of the input stream as a monotonically increasing array of double ranks (or cumulative probabilities) on the interval [0.0, 1.0], given a set of splitPoints.
getCDF(T[]) - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
This is equivalent to getCDF(splitPoints, INCLUSIVE)
getCDF(T[], QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllItemsSketch
 
getCDF(T[], QuantileSearchCriteria) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getCDF(T[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.GenericSortedView
Returns an approximation to the Cumulative Distribution Function (CDF) of the input stream as a monotonically increasing array of double ranks (or cumulative probabilities) on the interval [0.0, 1.0], given a set of splitPoints.
getCDF(T[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
Returns an approximation to the Cumulative Distribution Function (CDF) of the input stream as a monotonically increasing array of double ranks (or cumulative probabilities) on the interval [0.0, 1.0], given a set of splitPoints.
getChar() - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the char value at the current position.
getChar(long) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the char value at the given offset.
getCharArray(char[], int, int) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the char array at the current position.
getClassOfT() - Method in class org.apache.datasketches.common.ArrayOfBooleansSerDe
 
getClassOfT() - Method in class org.apache.datasketches.common.ArrayOfDoublesSerDe
 
getClassOfT() - Method in class org.apache.datasketches.common.ArrayOfItemsSerDe
Returns the concrete class of type T
getClassOfT() - Method in class org.apache.datasketches.common.ArrayOfLongsSerDe
 
getClassOfT() - Method in class org.apache.datasketches.common.ArrayOfNumbersSerDe
 
getClassOfT() - Method in class org.apache.datasketches.common.ArrayOfStringsSerDe
 
getClassOfT() - Method in class org.apache.datasketches.common.ArrayOfUtf16StringsSerDe
 
getClassOfT() - Method in class org.apache.datasketches.kll.KllItemsSketch
 
getClassOfT() - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getClassOfT() - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
Returns the sketch item class
getCompactBytes() - Method in class org.apache.datasketches.theta.CompactThetaSketch
 
getCompactBytes() - Method in class org.apache.datasketches.theta.ThetaSketch
Returns the number of storage bytes required for this ThetaSketch if its current state were compacted.
getCompactBytes() - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
 
getCompactSerialiedSizeBytes(int, long) - Static method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Returns the number of bytes a QuantilesDoublesSketch would require to store in compact form given k and n.
getCompactSerializationBytes() - Method in class org.apache.datasketches.hll.HllSketch
 
getCompactSerializationBytes() - Method in class org.apache.datasketches.hll.HllUnion
 
getCompactSketchMaxBytes(int) - Static method in class org.apache.datasketches.theta.ThetaSketch
Returns the maximum number of storage bytes required for a CompactThetaSketch given the configured log_base2 of the number of nominal entries, which is a power of 2.
getComparator() - Method in class org.apache.datasketches.kll.KllItemsSketch
 
getComparator() - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getComparator() - Method in interface org.apache.datasketches.quantilescommon.GenericSortedView
Gets the Comparator for this generic type.
getComparator() - Method in class org.apache.datasketches.quantilescommon.ItemsSketchSortedView
 
getComparator() - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
Returns the Comparator of T
getCompositeEstimate() - Method in class org.apache.datasketches.hll.HllSketch
 
getCompositeEstimate() - Method in class org.apache.datasketches.hll.HllUnion
 
getConCurLgNominalEntries() - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Returns local Log-base 2 Nominal Entries for the concurrent local sketch
getCount() - Method in class org.apache.datasketches.fdt.Group
Returns the count
getCountLessThanThetaLong(long) - Method in class org.apache.datasketches.theta.ThetaSketch
Gets the number of hash values less than the given theta expressed as a long.
getCountLessThanThetaLong(long) - Method in class org.apache.datasketches.tuple.CompactTupleSketch
 
getCountLessThanThetaLong(long) - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
 
getCountLessThanThetaLong(long) - Method in class org.apache.datasketches.tuple.adouble.DoubleTupleSketch
 
getCountLessThanThetaLong(long) - Method in class org.apache.datasketches.fdt.FdtSketch
 
getCountLessThanThetaLong(long) - Method in class org.apache.datasketches.tuple.aninteger.IntegerTupleSketch
 
getCountLessThanThetaLong(long) - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
 
getCountLessThanThetaLong(long) - Method in class org.apache.datasketches.tuple.TupleSketch
Gets the number of hash values less than the given theta expressed as a long.
getCumulativeWeight() - Method in class org.apache.datasketches.sampling.EbppsItemsSketch
Returns the cumulative weight of items processed by the sketch.
getCumulativeWeights() - Method in class org.apache.datasketches.quantilescommon.DoublesSketchSortedView
 
getCumulativeWeights() - Method in class org.apache.datasketches.quantilescommon.FloatsSketchSortedView
 
getCumulativeWeights() - Method in class org.apache.datasketches.quantilescommon.ItemsSketchSortedView
 
getCumulativeWeights() - Method in class org.apache.datasketches.quantilescommon.LongsSketchSortedView
 
getCumulativeWeights() - Method in interface org.apache.datasketches.quantilescommon.SortedView
Returns the array of cumulative weights from the sketch.
getCurrentBytes() - Method in class org.apache.datasketches.theta.ThetaSketch
Returns the number of storage bytes required for this sketch in its current state.
getCurrentBytes() - Method in class org.apache.datasketches.theta.ThetaUnion
Returns the number of storage bytes required for this union in its current state.
getCurrentBytes() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesCompactSketch
 
getCurrentBytes() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
For compact sketches this is the same as getMaxBytes().
getCurrentCapacity() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
Get current capacity
getCurrentCapacity() - Method in class org.apache.datasketches.tuple.adouble.DoubleTupleSketch
Get current capacity
getCurrentCapacity() - Method in class org.apache.datasketches.fdt.FdtSketch
Get current capacity
getCurrentCapacity() - Method in class org.apache.datasketches.tuple.aninteger.IntegerTupleSketch
Get current capacity
getCurrentCapacity() - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
Get current capacity
getCurrentCompactSerializedSizeBytes() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Returns the current number of bytes this sketch would require to store in the compact MemorySegment Format.
getCurrentMapCapacity() - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Returns the current number of counters the sketch is configured to support.
getCurrentMapCapacity() - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns the current number of counters the sketch is configured to support.
getCurrentUpdatableSerializedSizeBytes() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Returns the current number of bytes this sketch would require to store in the updatable MemorySegment Format.
getDouble() - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the double value at the current position.
getDouble(long) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the double value at the given offset.
getDoubleArray(double[], int, int) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the double array at the current position.
getDoubleBE(byte[], int) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Get a double from the given byte array starting at the given offset in big endian order.
getDoubleLE(byte[], int) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Get a double from the given byte array starting at the given offset in little endian order.
getEffectiveK() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Returns the effective k of this Union.
getEffectiveK() - Method in class org.apache.datasketches.quantiles.QuantilesItemsUnion
Returns the effective k of this Union.
getEnd() - Method in interface org.apache.datasketches.common.positional.Positional
Gets the end position
getEpsilon(int) - Static method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Returns epsilon used to compute a priori error.
getEpsilon(int) - Static method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns epsilon used to compute a priori error.
getEstimate() - Method in class org.apache.datasketches.cpc.CpcSketch
Returns the best estimate of the cardinality of the sketch.
getEstimate() - Method in class org.apache.datasketches.cpc.CpcWrapper
Returns the best estimate of the cardinality of the sketch.
getEstimate() - Method in class org.apache.datasketches.fdt.Group
Returns the estimate
getEstimate() - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch.Row
Returns the estimate
getEstimate() - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch.Row
Returns the estimate
getEstimate() - Method in class org.apache.datasketches.hll.HllSketch
 
getEstimate() - Method in class org.apache.datasketches.hll.HllUnion
 
getEstimate() - Method in class org.apache.datasketches.sampling.SampleSubsetSummary
Returns the unique count estimate
getEstimate() - Method in class org.apache.datasketches.theta.CompactThetaSketch
 
getEstimate() - Method in class org.apache.datasketches.theta.ThetaSketch
Gets the unique count estimate.
getEstimate() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Estimates the cardinality of the set (number of unique values presented to the sketch)
getEstimate() - Method in class org.apache.datasketches.tuple.TupleSketch
Estimates the cardinality of the set (number of unique values presented to the sketch)
getEstimate(byte[]) - Method in class org.apache.datasketches.count.CountMinSketch
Returns the estimated frequency for the given item.
getEstimate(byte[]) - Method in class org.apache.datasketches.hllmap.UniqueCountMap
Retrieves the current estimate of unique count for a given key.
getEstimate(int) - Method in class org.apache.datasketches.tuple.TupleSketch
Gets the estimate of the true distinct population of subset tuples represented by the count of entries in a subset of the total retained entries of the sketch.
getEstimate(long) - Method in class org.apache.datasketches.count.CountMinSketch
Returns the estimated frequency for the given item.
getEstimate(long) - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Gets the estimate of the frequency of the given item.
getEstimate(MemorySegment) - Static method in class org.apache.datasketches.theta.ThetaSketch
Gets the estimate from the given MemorySegment
getEstimate(String) - Method in class org.apache.datasketches.count.CountMinSketch
Returns the estimated frequency for the given item.
getEstimate(T) - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Gets the estimate of the frequency of the given item.
getEstimateOfA(long, double) - Static method in class org.apache.datasketches.common.BoundsOnRatiosInSampledSets
Return the estimate of A.
getEstimateOfB(long, double) - Static method in class org.apache.datasketches.common.BoundsOnRatiosInSampledSets
Return the estimate of B.
getEstimateOfBoverA(long, long) - Static method in class org.apache.datasketches.common.BoundsOnRatiosInSampledSets
Return the estimate of b over a
getEstimateOfBoverA(ThetaSketch, ThetaSketch) - Static method in class org.apache.datasketches.thetacommon.BoundsOnRatiosInThetaSketchedSets
Gets the estimate for B over A
getEstimateOfBoverA(TupleSketch, ThetaSketch) - Static method in class org.apache.datasketches.thetacommon.BoundsOnRatiosInTupleSketchedSets
Gets the estimate for B over A
getEstimateOfBoverA(TupleSketch, TupleSketch) - Static method in class org.apache.datasketches.thetacommon.BoundsOnRatiosInTupleSketchedSets
Gets the estimate for B over A
getFamily() - Static method in class org.apache.datasketches.cpc.CpcSketch
Return the DataSketches identifier for this CPC family of sketches.
getFamily() - Static method in class org.apache.datasketches.cpc.CpcUnion
Return the DataSketches identifier for this CPC family of sketches.
getFamily() - Static method in class org.apache.datasketches.cpc.CpcWrapper
Return the DataSketches identifier for this CPC family of sketches.
getFamily() - Method in class org.apache.datasketches.theta.CompactThetaSketch
 
getFamily() - Method in class org.apache.datasketches.theta.ThetaAnotB
 
getFamily() - Method in class org.apache.datasketches.theta.ThetaIntersection
 
getFamily() - Method in class org.apache.datasketches.theta.ThetaSetOperation
Gets the Family of this ThetaSetOperation
getFamily() - Method in class org.apache.datasketches.theta.ThetaSketch
Returns the Family that this sketch belongs to
getFamily() - Method in class org.apache.datasketches.theta.ThetaUnion
 
getFamily() - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Returns the local Family
getFamilyName() - Method in enum class org.apache.datasketches.common.Family
Returns the name for this family
getFillPercentage() - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Returns the percentage of all bits in the BloomFilter set to 1.
getFloat() - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the float value at the current position.
getFloat(long) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the float value at the given offset.
getFloatArray(float[], int, int) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the float array at the current position.
getFloatBE(byte[], int) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Get a float from the given byte array starting at the given offset in big endian order.
getFloatLE(byte[], int) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Get a float from the given byte array starting at the given offset in little endian order.
getFraction() - Method in class org.apache.datasketches.fdt.Group
Returns the fraction for this group
getFrequentItems(long, ErrorType) - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Returns an array of Rows that include frequent items, estimates, upper and lower bounds given a threshold and an ErrorCondition.
getFrequentItems(long, ErrorType) - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns an array of Rows that include frequent items, estimates, upper and lower bounds given a threshold and an ErrorCondition.
getFrequentItems(ErrorType) - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Returns an array of Rows that include frequent items, estimates, upper and lower bounds given an ErrorCondition and the default threshold.
getFrequentItems(ErrorType) - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns an array of Rows that include frequent items, estimates, upper and lower bounds given an ErrorCondition and the default threshold.
getGroupCount() - Method in class org.apache.datasketches.fdt.PostProcessor
Returns the number of groups in the final sketch.
getGroupList(int[], int, int) - Method in class org.apache.datasketches.fdt.PostProcessor
Return the most frequent Groups associated with Primary Keys based on the size of the groups.
getHash() - Method in class org.apache.datasketches.tuple.TupleSketchIterator
Gets the hash from the current entry in the sketch, which is a hash of the original key passed to update().
getHeader() - Method in class org.apache.datasketches.fdt.Group
Returns the descriptive header
getHighRankAccuracy() - Method in class org.apache.datasketches.req.ReqSketchBuilder
Gets the builder configured High Rank Accuracy.
getHighRankAccuracyMode() - Method in class org.apache.datasketches.req.ReqSketch
 
getId() - Method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Gets the case ID
getID() - Method in enum class org.apache.datasketches.common.Family
Returns the byte ID for this family
getInstance(long) - Static method in interface org.apache.datasketches.common.positional.Positional
Gets an instance of this Positional.
getInstance(Class, int, Comparator) - Static method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
Obtains a new instance of an QuantilesItemsSketch using the given k.
getInstance(Class, int, Comparator) - Static method in class org.apache.datasketches.quantiles.QuantilesItemsUnion
Create an instance of QuantilesItemsUnion
getInstance(Class, Comparator) - Static method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
Obtains a new instance of an QuantilesItemsSketch using the DEFAULT_K.
getInstance(Class, Comparator) - Static method in class org.apache.datasketches.quantiles.QuantilesItemsUnion
Create an instance of QuantilesItemsUnion with the default k.
getInstance(MemorySegment) - Static method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns a sketch instance of this class from the given srcSeg, which must be a MemorySegment representation of this sketch class.
getInstance(MemorySegment, ArrayOfItemsSerDe) - Static method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Returns a sketch instance of this class from the given srcSeg, which must be a MemorySegment representation of this sketch class.
getInstance(String) - Static method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns a sketch instance of this class from the given String, which must be a String representation of this sketch class.
getInt() - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the int value at the current position.
getInt(long) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the int value at the given offset.
getIntArray(int[], int, int) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the int array at the current position.
getIntBE(byte[], int) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Get a int from the given byte array starting at the given offset in big endian order.
getIntersectAction() - Method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Gets the intersect action
getIntLE(byte[], int) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Get a int from the given byte array starting at the given offset in little endian order.
getItem() - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch.Row
Returns an item of type T
getItem() - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch.Row
Returns item of type long
getItem() - Method in class org.apache.datasketches.sampling.VarOptItemsSamples.WeightedSample
Accesses the iterator's current object
getK() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
getK() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketchBuilder
Gets the current configured k
getK() - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getK() - Method in interface org.apache.datasketches.quantilescommon.QuantilesAPI
Gets the user configured parameter k, which controls the accuracy of the sketch and its memory space usage.
getK() - Method in class org.apache.datasketches.req.ReqSketch
 
getK() - Method in class org.apache.datasketches.req.ReqSketchBuilder
Gets the builder configured k.
getK() - Method in class org.apache.datasketches.sampling.EbppsItemsSketch
Returns the configured maximum sample size.
getK() - Method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Returns the sketch's value of k, the maximum number of samples stored in the reservoir.
getK() - Method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Returns the sketch's value of k, the maximum number of samples stored in the reservoir.
getK() - Method in class org.apache.datasketches.sampling.VarOptItemsSketch
Returns the sketch's value of k, the maximum number of samples stored in the sketch.
getK() - Method in class org.apache.datasketches.tdigest.TDigestDouble
Returns parameter k (compression) that was used to configure this TDigest
getKey() - Method in interface org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketchIterator
Gets a key from the current entry in the sketch, which is a hash of the original key passed to update().
getKeyUsageBytes() - Method in class org.apache.datasketches.hllmap.UniqueCountMap
Returns total bytes used for key storage
getKFromEpsilon(double, boolean) - Static method in class org.apache.datasketches.kll.KllSketch
Gets the approximate k to use given epsilon, the normalized rank error.
getKFromEpsilon(double, boolean) - Static method in class org.apache.datasketches.quantiles.ClassicUtil
Used by Classic Quantiles.
getKFromEpsilon(double, boolean) - Static method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Gets the approximate k to use given epsilon, the normalized rank error.
getKFromEpsilon(double, boolean) - Static method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
Gets the approximate k to use given epsilon, the normalized rank error.
getLgConfigK() - Method in class org.apache.datasketches.hll.HllSketch
 
getLgConfigK() - Method in class org.apache.datasketches.hll.HllUnion
Gets the effective lgConfigK for the HllUnion operator, which may be less than lgMaxK.
getLgK() - Method in class org.apache.datasketches.cpc.CpcSketch
Return the parameter LgK.
getLgK() - Method in class org.apache.datasketches.cpc.CpcUnion
Returns the current value of Log_base2 of K.
getLgK() - Method in class org.apache.datasketches.cpc.CpcWrapper
Returns the configured Log_base2 of K of this sketch.
getLgK() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
Get log_base2 of Nominal Entries
getLgK() - Method in class org.apache.datasketches.tuple.adouble.DoubleTupleSketch
Get log_base2 of Nominal Entries
getLgK() - Method in class org.apache.datasketches.fdt.FdtSketch
Get log_base2 of Nominal Entries
getLgK() - Method in class org.apache.datasketches.tuple.aninteger.IntegerTupleSketch
Get log_base2 of Nominal Entries
getLgK() - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
Get log_base2 of Nominal Entries
getLgNominalEntries() - Method in class org.apache.datasketches.theta.ThetaSetOperationBuilder
Returns Log-base 2 Nominal Entries
getLgNominalEntries() - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Returns the local Log-base 2 Nominal Entries
getLgNomLongs() - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
Gets the Log base 2 of the configured nominal entries
getLong() - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the long value at the current position.
getLong(long) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the long value at the given offset.
getLongArray(long[], int, int) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the long array at the current position.
getLongBE(byte[], int) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Get a long from the source byte array starting at the given offset in big endian order.
getLongLE(byte[], int) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Get a long from the given byte array starting at the given offset in little endian order.
getLowerBound() - Method in class org.apache.datasketches.fdt.Group
Returns the lower bound
getLowerBound() - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch.Row
Returns the lower bound
getLowerBound() - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch.Row
Returns the lower bound
getLowerBound() - Method in class org.apache.datasketches.sampling.SampleSubsetSummary
Returns the lower bound
getLowerBound(byte[]) - Method in class org.apache.datasketches.count.CountMinSketch
Returns the lower bound of the estimated frequency for the given item.
getLowerBound(byte[]) - Method in class org.apache.datasketches.hllmap.UniqueCountMap
Returns the lower bound cardinality with respect to UniqueCountMap.getEstimate(byte[]) associated with the given key.
getLowerBound(int) - Method in class org.apache.datasketches.cpc.CpcSketch
Returns the best estimate of the lower bound of the confidence interval given kappa, the number of standard deviations from the mean.
getLowerBound(int) - Method in class org.apache.datasketches.cpc.CpcWrapper
Returns the best estimate of the lower bound of the confidence interval given kappa, the number of standard deviations from the mean.
getLowerBound(int) - Method in class org.apache.datasketches.hll.HllSketch
 
getLowerBound(int) - Method in class org.apache.datasketches.hll.HllUnion
 
getLowerBound(int) - Method in class org.apache.datasketches.theta.ThetaSketch
Gets the approximate lower error bound given the specified number of Standard Deviations.
getLowerBound(int) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Gets the approximate lower error bound given the specified number of Standard Deviations.
getLowerBound(int) - Method in class org.apache.datasketches.tuple.TupleSketch
Gets the approximate lower error bound given the specified number of Standard Deviations.
getLowerBound(int, int) - Method in class org.apache.datasketches.tuple.TupleSketch
Gets the estimate of the lower bound of the true distinct population represented by the count of entries in a subset of the total retained entries of the sketch.
getLowerBound(int, MemorySegment) - Static method in class org.apache.datasketches.theta.ThetaSketch
Gets the approximate lower error bound from a valid MemorySegment image of a ThetaSketch given the specified number of Standard Deviations.
getLowerBound(long) - Method in class org.apache.datasketches.count.CountMinSketch
Returns the lower bound of the estimated frequency for the given item.
getLowerBound(long) - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Gets the guaranteed lower bound frequency of the given item, which can never be negative.
getLowerBound(long, double, int, boolean) - Static method in class org.apache.datasketches.thetacommon.BinomialBoundsN
Returns the approximate lower bound value
getLowerBound(String) - Method in class org.apache.datasketches.count.CountMinSketch
Returns the lower bound of the estimated frequency for the given item.
getLowerBound(T) - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Gets the guaranteed lower bound frequency of the given item, which can never be negative.
getLowerBoundForBoverA(long, long, double) - Static method in class org.apache.datasketches.common.BoundsOnRatiosInSampledSets
Return the approximate lower bound based on a 95% confidence interval
getLowerBoundForBoverA(ThetaSketch, ThetaSketch) - Static method in class org.apache.datasketches.thetacommon.BoundsOnRatiosInThetaSketchedSets
Gets the approximate lower bound for B over A based on a 95% confidence interval
getLowerBoundForBoverA(TupleSketch, ThetaSketch) - Static method in class org.apache.datasketches.thetacommon.BoundsOnRatiosInTupleSketchedSets
Gets the approximate lower bound for B over A based on a 95% confidence interval
getLowerBoundForBoverA(TupleSketch, TupleSketch) - Static method in class org.apache.datasketches.thetacommon.BoundsOnRatiosInTupleSketchedSets
Gets the approximate lower bound for B over A based on a 95% confidence interval
getMaxAnotBResultBytes(int) - Static method in class org.apache.datasketches.theta.ThetaSetOperation
Returns the maximum number of bytes for the returned CompactThetaSketch, given the value of nomEntries of the first sketch A of ThetaAnotB.
getMaxBytes() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesCompactSketch
 
getMaxBytes() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Returns the maximum number of bytes for this sketch when serialized.
getMaxBytes(int, int) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUnion
Returns maximum required storage bytes given nomEntries and numValues
getMaxCompactSketchBytes(int) - Static method in class org.apache.datasketches.theta.ThetaSketch
Returns the maximum number of storage bytes required for a CompactThetaSketch with the given number of actual entries.
getMaxConcurrencyError() - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Gets the local Maximum Concurrency Error
getMaximumError() - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Returns an upper bound on the maximum error of getEstimate(item) for any item.
getMaximumError() - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns an upper bound on the maximum error of getEstimate(item) for any item.
getMaximumMapCapacity() - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Returns the maximum number of counters the sketch is configured to support.
getMaximumMapCapacity() - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns the maximum number of counters the sketch is configured to support.
getMaxIntersectionBytes(int) - Static method in class org.apache.datasketches.theta.ThetaSetOperation
Returns the maximum required storage bytes given a nomEntries parameter for intersection operations
getMaxItem() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
getMaxItem() - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getMaxItem() - Method in class org.apache.datasketches.quantilescommon.DoublesSketchSortedView
 
getMaxItem() - Method in interface org.apache.datasketches.quantilescommon.DoublesSortedView
Returns the maximum item of the stream.
getMaxItem() - Method in class org.apache.datasketches.quantilescommon.FloatsSketchSortedView
 
getMaxItem() - Method in interface org.apache.datasketches.quantilescommon.FloatsSortedView
Returns the maximum item of the stream.
getMaxItem() - Method in class org.apache.datasketches.quantilescommon.GenericPartitionBoundaries
Returns the maximum item of the stream.
getMaxItem() - Method in interface org.apache.datasketches.quantilescommon.GenericSortedView
Returns the maximum item of the stream.
getMaxItem() - Method in class org.apache.datasketches.quantilescommon.ItemsSketchSortedView
 
getMaxItem() - Method in class org.apache.datasketches.quantilescommon.LongsSketchSortedView
 
getMaxItem() - Method in interface org.apache.datasketches.quantilescommon.LongsSortedView
Returns the maximum item of the stream.
getMaxItem() - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
Returns the maximum item of the stream.
getMaxItem() - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
Returns the maximum item of the stream.
getMaxItem() - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
Returns the maximum item of the stream.
getMaxItem() - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
Returns the maximum item of the stream.
getMaxItem() - Method in class org.apache.datasketches.req.ReqSketch
 
getMaxK() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Returns the configured maxK of this Union.
getMaxK() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnionBuilder
Gets the current configured maxK
getMaxK() - Method in class org.apache.datasketches.quantiles.QuantilesItemsUnion
Returns the configured maxK of this Union.
getMaxK() - Method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Returns the maximum allowed reservoir capacity in this union.
getMaxK() - Method in class org.apache.datasketches.sampling.ReservoirLongsUnion
Returns the maximum allowed reservoir capacity in this union.
getMaxNumLocalThreads() - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Gets the local Maximum Number of Local Threads.
getMaxPartitions() - Method in class org.apache.datasketches.quantilescommon.ItemsSketchSortedView
 
getMaxPartitions() - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
 
getMaxPartitions() - Method in interface org.apache.datasketches.quantilescommon.SketchPartitionLimits
Gets the maximum number of partitions this sketch will support based on the configured size K and the number of retained values of this sketch.
getMaxPreLongs() - Method in enum class org.apache.datasketches.common.Family
Returns the maximum preamble size for this family in longs
getMaxSerializationBytes(int) - Static method in class org.apache.datasketches.hll.HllUnion
Returns the maximum size in bytes that this HllUnion operator can grow to given a lgK.
getMaxSerializedBytes(int) - Static method in class org.apache.datasketches.cpc.CpcSketch
The actual size of a compressed CPC sketch has a small random variance, but the following empirically measured size should be large enough for at least 99.9 percent of sketches.
getMaxSerializedSizeBytes(int, long, KllSketch.SketchType, boolean) - Static method in class org.apache.datasketches.kll.KllSketch
Returns upper bound on the serialized size of a KllSketch given the following parameters.
getMaxUnionBytes() - Method in class org.apache.datasketches.theta.ThetaUnion
Returns the maximum required storage bytes for this union.
getMaxUnionBytes(int) - Static method in class org.apache.datasketches.theta.ThetaSetOperation
Returns the maximum required storage bytes given a nomEntries parameter for ThetaUnion operations
getMaxUpdatableSerializationBytes(int, TgtHllType) - Static method in class org.apache.datasketches.hll.HllSketch
Returns the maximum size in bytes that this sketch can grow to given lgConfigK.
getMaxUpdateSketchBytes(int) - Static method in class org.apache.datasketches.theta.ThetaSketch
Returns the maximum number of storage bytes required for an UpdatableThetaSketch with the given number of nominal entries (power of 2).
getMaxValue() - Method in class org.apache.datasketches.tdigest.TDigestDouble
Returns maximum value seen by TDigest
getMemorySegment() - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Returns the underlying MemorySegment.
getMemorySegmentRequest() - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Returns the local MemorySegmentRequest
getMinItem() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
getMinItem() - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getMinItem() - Method in class org.apache.datasketches.quantilescommon.DoublesSketchSortedView
 
getMinItem() - Method in interface org.apache.datasketches.quantilescommon.DoublesSortedView
Returns the minimum item of the stream.
getMinItem() - Method in class org.apache.datasketches.quantilescommon.FloatsSketchSortedView
 
getMinItem() - Method in interface org.apache.datasketches.quantilescommon.FloatsSortedView
Returns the minimum item of the stream.
getMinItem() - Method in class org.apache.datasketches.quantilescommon.GenericPartitionBoundaries
Returns the minimum item of the stream.
getMinItem() - Method in interface org.apache.datasketches.quantilescommon.GenericSortedView
Returns the minimum item of the stream.
getMinItem() - Method in class org.apache.datasketches.quantilescommon.ItemsSketchSortedView
 
getMinItem() - Method in class org.apache.datasketches.quantilescommon.LongsSketchSortedView
 
getMinItem() - Method in interface org.apache.datasketches.quantilescommon.LongsSortedView
Returns the minimum item of the stream.
getMinItem() - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
Returns the minimum item of the stream.
getMinItem() - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
Returns the minimum item of the stream.
getMinItem() - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
Returns the minimum item of the stream.
getMinItem() - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
Returns the minimum item of the stream.
getMinItem() - Method in class org.apache.datasketches.req.ReqSketch
 
getMinPartitionSizeItems() - Method in interface org.apache.datasketches.quantilescommon.SketchPartitionLimits
Gets the minimum partition size in items this sketch will support based on the configured size K of this sketch and the number of retained values of this sketch.
getMinPreLongs() - Method in enum class org.apache.datasketches.common.Family
Returns the minimum preamble size for this family in longs
getMinValue() - Method in class org.apache.datasketches.tdigest.TDigestDouble
Returns minimum value seen by TDigest
getN() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
getN() - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getN() - Method in class org.apache.datasketches.quantilescommon.DoublesSketchSortedView
 
getN() - Method in class org.apache.datasketches.quantilescommon.FloatsSketchSortedView
 
getN() - Method in class org.apache.datasketches.quantilescommon.GenericPartitionBoundaries
Gets the length of the input stream offered to the underlying sketch.
getN() - Method in class org.apache.datasketches.quantilescommon.ItemsSketchSortedView
 
getN() - Method in class org.apache.datasketches.quantilescommon.LongsSketchSortedView
 
getN() - Method in interface org.apache.datasketches.quantilescommon.QuantilesAPI
Gets the length of the input stream offered to the sketch..
getN() - Method in interface org.apache.datasketches.quantilescommon.SketchPartitionLimits
Gets the length of the input stream offered to the sketch..
getN() - Method in interface org.apache.datasketches.quantilescommon.SortedView
Returns the total number of items presented to the sourcing sketch.
getN() - Method in class org.apache.datasketches.quantilescommon.SortedViewIterator
Gets the total count of all items presented to the sketch.
getN() - Method in class org.apache.datasketches.req.ReqSketch
 
getN() - Method in class org.apache.datasketches.sampling.EbppsItemsSketch
Returns the number of items processed by the sketch, regardless of item weight.
getN() - Method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Returns the number of items processed from the input stream
getN() - Method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Returns the number of items processed from the input stream
getN() - Method in class org.apache.datasketches.sampling.VarOptItemsSketch
Returns the number of items processed from the input stream
getName() - Method in enum class org.apache.datasketches.kll.KllSketch.SketchType
Get the name of the associated sketch
getNaturalRank() - Method in class org.apache.datasketches.quantilescommon.SortedViewIterator
Gets the natural rank at the current index.
getNaturalRank(double, long, QuantileSearchCriteria) - Static method in class org.apache.datasketches.quantilescommon.QuantilesUtil
Computes the closest Natural Rank from a given Normalized Rank
getNaturalRank(QuantileSearchCriteria) - Method in class org.apache.datasketches.quantilescommon.SortedViewIterator
Gets the natural rank at the current index (or previous index) based on the chosen search criterion.
getNaturalRanks() - Method in class org.apache.datasketches.quantilescommon.GenericPartitionBoundaries
Gets an ordered array of natural ranks of the associated array of partition boundaries utilizing a specified search criterion.
getNominalEntries() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Gets the configured nominal number of entries
getNominalEntries() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
Get configured nominal number of entries
getNominalEntries() - Method in class org.apache.datasketches.tuple.adouble.DoubleTupleSketch
Get configured nominal number of entries
getNominalEntries() - Method in class org.apache.datasketches.fdt.FdtSketch
Get configured nominal number of entries
getNominalEntries() - Method in class org.apache.datasketches.tuple.aninteger.IntegerTupleSketch
Get configured nominal number of entries
getNominalEntries() - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
Get configured nominal number of entries
getNormalizedRank() - Method in class org.apache.datasketches.quantilescommon.SortedViewIterator
Gets the normalized rank at the current index.
getNormalizedRank(QuantileSearchCriteria) - Method in class org.apache.datasketches.quantilescommon.SortedViewIterator
Gets the normalized rank at the current index (or previous index) based on the chosen search criterion.
getNormalizedRankError(boolean) - Method in class org.apache.datasketches.kll.KllSketch
 
getNormalizedRankError(boolean) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
getNormalizedRankError(boolean) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getNormalizedRankError(boolean) - Method in interface org.apache.datasketches.quantilescommon.QuantilesAPI
Gets the approximate rank error of this sketch normalized as a fraction between zero and one.
getNormalizedRankError(boolean) - Method in class org.apache.datasketches.req.ReqSketch
 
getNormalizedRankError(int, boolean) - Static method in class org.apache.datasketches.kll.KllSketch
Gets the normalized rank error given k and pmf.
getNormalizedRankError(int, boolean) - Static method in class org.apache.datasketches.quantiles.ClassicUtil
Used by Classic Quantiles.
getNormalizedRankError(int, boolean) - Static method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Gets the normalized rank error given k and pmf.
getNormalizedRankError(int, boolean) - Static method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
Gets the normalized rank error given k and pmf.
getNormalizedRanks() - Method in class org.apache.datasketches.quantilescommon.GenericPartitionBoundaries
Gets an ordered array of normalized ranks of the associated array of partition boundaries utilizing a specified search criterion.
getNumActiveItems() - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Returns the number of active items in the sketch.
getNumActiveItems() - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns the number of active items in the sketch.
getNumBuckets_() - Method in class org.apache.datasketches.count.CountMinSketch
Returns the number of buckets per hash function.
getNumDeltaItems() - Method in class org.apache.datasketches.quantilescommon.GenericPartitionBoundaries
Gets the number of items to be included for each partition as an array.
getNumHashes() - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Returns the configured number of hash functions for this BloomFilter
getNumHashes_() - Method in class org.apache.datasketches.count.CountMinSketch
Returns the number of hash functions used in this sketch.
getNumPartitions() - Method in class org.apache.datasketches.quantilescommon.GenericPartitionBoundaries
Gets the number of partitions
getNumPoolThreads() - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Gets the local number of background pool threads used for propagation in the concurrent sketches.
getNumRetained() - Method in class org.apache.datasketches.kll.KllSketch
 
getNumRetained() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
getNumRetained() - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getNumRetained() - Method in class org.apache.datasketches.quantilescommon.DoublesSketchSortedView
 
getNumRetained() - Method in class org.apache.datasketches.quantilescommon.FloatsSketchSortedView
 
getNumRetained() - Method in class org.apache.datasketches.quantilescommon.ItemsSketchSortedView
 
getNumRetained() - Method in class org.apache.datasketches.quantilescommon.LongsSketchSortedView
 
getNumRetained() - Method in interface org.apache.datasketches.quantilescommon.QuantilesAPI
Gets the number of quantiles retained by the sketch.
getNumRetained() - Method in interface org.apache.datasketches.quantilescommon.SortedView
Gets the number of quantiles retained by this sorted view.
getNumRetained() - Method in class org.apache.datasketches.req.ReqSketch
 
getNumSamples() - Method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Returns the current number of items in the reservoir, which may be smaller than the reservoir capacity.
getNumSamples() - Method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Returns the current number of items in the reservoir, which may be smaller than the reservoir capacity.
getNumSamples() - Method in class org.apache.datasketches.sampling.VarOptItemsSamples
Returns the length Copies items and weights from the sketch, if necessary, and returns the length of any resulting array.
getNumSamples() - Method in class org.apache.datasketches.sampling.VarOptItemsSketch
Returns the current number of items in the sketch, which may be smaller than the sketch capacity.
getNumValues() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Returns number of double values associated with each key
getObject() - Method in class org.apache.datasketches.tuple.DeserializeResult
Returns Deserialized object
getP() - Method in class org.apache.datasketches.theta.ThetaSetOperationBuilder
Returns the pre-sampling probability p
getP() - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Returns the local upfront uniform pre-sampling probability p
getPartitionBoundariesFromNumParts(int) - Method in interface org.apache.datasketches.quantilescommon.PartitioningFeature
This method returns an instance of GenericPartitionBoundaries which provides sufficient information for the user to create the given number of equally sized partitions, where "equally sized" refers to an approximately equal number of items per partition.
getPartitionBoundariesFromNumParts(int, QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllItemsSketch
 
getPartitionBoundariesFromNumParts(int, QuantileSearchCriteria) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getPartitionBoundariesFromNumParts(int, QuantileSearchCriteria) - Method in class org.apache.datasketches.quantilescommon.ItemsSketchSortedView
 
getPartitionBoundariesFromNumParts(int, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.PartitioningFeature
This method returns an instance of GenericPartitionBoundaries which provides sufficient information for the user to create the given number of equally sized partitions, where "equally sized" refers to an approximately equal number of items per partition.
getPartitionBoundariesFromPartSize(long) - Method in interface org.apache.datasketches.quantilescommon.PartitioningFeature
This method returns an instance of GenericPartitionBoundaries which provides sufficient information for the user to create the given number of equally sized partitions, where "equally sized" refers to an approximately equal number of items per partition.
getPartitionBoundariesFromPartSize(long, QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllItemsSketch
 
getPartitionBoundariesFromPartSize(long, QuantileSearchCriteria) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getPartitionBoundariesFromPartSize(long, QuantileSearchCriteria) - Method in class org.apache.datasketches.quantilescommon.ItemsSketchSortedView
 
getPartitionBoundariesFromPartSize(long, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.PartitioningFeature
This method returns an instance of GenericPartitionBoundaries which provides sufficient information for the user to create the given number of equally sized partitions, where "equally sized" refers to an approximately equal number of items per partition.
getPMF(double[]) - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
This is equivalent to getPMF(splitPoints, INCLUSIVE)
getPMF(double[]) - Method in class org.apache.datasketches.tdigest.TDigestDouble
Returns an approximation to the Probability Mass Function (PMF) of the input stream given a set of split points.
getPMF(double[], QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllDoublesSketch
 
getPMF(double[], QuantileSearchCriteria) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
getPMF(double[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.DoublesSortedView
Returns an approximation to the Probability Mass Function (PMF) of the input stream as an array of probability masses as doubles on the interval [0.0, 1.0], given a set of splitPoints.
getPMF(double[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
Returns an approximation to the Probability Mass Function (PMF) of the input stream as an array of probability masses as doubles on the interval [0.0, 1.0], given a set of splitPoints.
getPMF(float[]) - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
This is equivalent to getPMF(splitPoints, INCLUSIVE)
getPMF(float[], QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllFloatsSketch
 
getPMF(float[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.FloatsSortedView
Returns an approximation to the Probability Mass Function (PMF) of the input stream as an array of probability masses as doubles on the interval [0.0, 1.0], given a set of splitPoints.
getPMF(float[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
Returns an approximation to the Probability Mass Function (PMF) of the input stream as an array of probability masses as doubles on the interval [0.0, 1.0], given a set of splitPoints.
getPMF(float[], QuantileSearchCriteria) - Method in class org.apache.datasketches.req.ReqSketch
 
getPMF(long[]) - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
This is equivalent to getPMF(splitPoints, INCLUSIVE)
getPMF(long[], QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllLongsSketch
 
getPMF(long[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.LongsSortedView
Returns an approximation to the Probability Mass Function (PMF) of the input stream as an array of probability masses as doubles on the interval [0.0, 1.0], given a set of splitPoints.
getPMF(long[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
Returns an approximation to the Probability Mass Function (PMF) of the input stream as an array of probability masses as doubles on the interval [0.0, 1.0], given a set of splitPoints.
getPMF(T[]) - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
This is equivalent to getPMF(splitPoints, INCLUSIVE)
getPMF(T[], QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllItemsSketch
 
getPMF(T[], QuantileSearchCriteria) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getPMF(T[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.GenericSortedView
Returns an approximation to the Probability Mass Function (PMF) of the input stream as an array of probability masses as doubles on the interval [0.0, 1.0], given a set of splitPoints.
getPMF(T[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
Returns an approximation to the Probability Mass Function (PMF) of the input stream as an array of probability masses as doubles on the interval [0.0, 1.0], given a set of splitPoints.
getPosition() - Method in interface org.apache.datasketches.common.positional.Positional
Gets the current position
getPostProcessor() - Method in class org.apache.datasketches.fdt.FdtSketch
Returns the PostProcessor that enables multiple queries against the sketch results.
getPostProcessor(Group, char) - Method in class org.apache.datasketches.fdt.FdtSketch
Returns the PostProcessor that enables multiple queries against the sketch results.
getPreInts() - Method in enum class org.apache.datasketches.kll.KllSketch.SketchStructure
gets the Preamble Integers for this Structure.
getPrimaryKey() - Method in class org.apache.datasketches.fdt.Group
Gets the primary key of type String
getPropagateOrderedCompact() - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Gets the local Propagate Ordered Compact flag used with concurrent sketches.
getQuantile() - Method in class org.apache.datasketches.kll.KllDoublesSketchIterator
 
getQuantile() - Method in class org.apache.datasketches.kll.KllFloatsSketchIterator
 
getQuantile() - Method in class org.apache.datasketches.kll.KllItemsSketchIterator
 
getQuantile() - Method in class org.apache.datasketches.kll.KllLongsSketchIterator
 
getQuantile() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketchIterator
 
getQuantile() - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketchIterator
 
getQuantile() - Method in class org.apache.datasketches.quantilescommon.DoublesSortedViewIterator
Gets the quantile at the current index.
getQuantile() - Method in class org.apache.datasketches.quantilescommon.FloatsSortedViewIterator
Gets the quantile at the current index.
getQuantile() - Method in class org.apache.datasketches.quantilescommon.GenericSortedViewIterator
Gets the quantile at the current index This is equivalent to getQuantile(INCLUSIVE).
getQuantile() - Method in class org.apache.datasketches.quantilescommon.LongsSortedViewIterator
Gets the quantile at the current index.
getQuantile() - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesSketchIteratorAPI
Gets the double quantile at the current index.
getQuantile() - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsSketchIterator
Gets the float quantile at the current index.
getQuantile() - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericSketchIteratorAPI
Gets the generic quantile at the current index.
getQuantile() - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsSketchIterator
Gets the long quantile at the current index.
getQuantile() - Method in class org.apache.datasketches.req.ReqSketchIterator
 
getQuantile(double) - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
This is equivalent to getQuantile(rank, INCLUSIVE)
getQuantile(double) - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
This is equivalent to getQuantile(rank, INCLUSIVE)
getQuantile(double) - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
This is equivalent to getQuantile(rank, INCLUSIVE)
getQuantile(double) - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
This is equivalent to getQuantile(rank, INCLUSIVE)
getQuantile(double) - Method in class org.apache.datasketches.tdigest.TDigestDouble
Compute approximate quantile value corresponding to the given normalized rank
getQuantile(double, QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllDoublesSketch
 
getQuantile(double, QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllFloatsSketch
 
getQuantile(double, QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllItemsSketch
 
getQuantile(double, QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllLongsSketch
 
getQuantile(double, QuantileSearchCriteria) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
getQuantile(double, QuantileSearchCriteria) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getQuantile(double, QuantileSearchCriteria) - Method in class org.apache.datasketches.quantilescommon.DoublesSketchSortedView
 
getQuantile(double, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.DoublesSortedView
Gets the approximate quantile of the given normalized rank and the given search criterion.
getQuantile(double, QuantileSearchCriteria) - Method in class org.apache.datasketches.quantilescommon.FloatsSketchSortedView
 
getQuantile(double, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.FloatsSortedView
Gets the approximate quantile of the given normalized rank and the given search criterion.
getQuantile(double, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.GenericSortedView
Gets the approximate quantile of the given normalized rank and the given search criterion.
getQuantile(double, QuantileSearchCriteria) - Method in class org.apache.datasketches.quantilescommon.ItemsSketchSortedView
 
getQuantile(double, QuantileSearchCriteria) - Method in class org.apache.datasketches.quantilescommon.LongsSketchSortedView
 
getQuantile(double, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.LongsSortedView
Gets the approximate quantile of the given normalized rank and the given search criterion.
getQuantile(double, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
Gets the approximate quantile of the given normalized rank and the given search criterion.
getQuantile(double, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
Gets the approximate quantile of the given normalized rank and the given search criterion.
getQuantile(double, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
Gets the approximate quantile of the given normalized rank and the given search criterion.
getQuantile(double, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
Gets the approximate quantile of the given normalized rank and the given search criterion.
getQuantile(double, QuantileSearchCriteria) - Method in class org.apache.datasketches.req.ReqSketch
 
getQuantile(QuantileSearchCriteria) - Method in class org.apache.datasketches.quantilescommon.GenericSortedViewIterator
Gets the quantile at the current index (or previous index) based on the chosen search criterion.
getQuantileLowerBound(double) - Method in class org.apache.datasketches.kll.KllDoublesSketch
Gets the lower bound of the quantile confidence interval in which the quantile of the given rank exists.
getQuantileLowerBound(double) - Method in class org.apache.datasketches.kll.KllFloatsSketch
Gets the lower bound of the quantile confidence interval in which the quantile of the given rank exists.
getQuantileLowerBound(double) - Method in class org.apache.datasketches.kll.KllItemsSketch
 
getQuantileLowerBound(double) - Method in class org.apache.datasketches.kll.KllLongsSketch
Gets the lower bound of the quantile confidence interval in which the quantile of the given rank exists.
getQuantileLowerBound(double) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Gets the lower bound of the quantile confidence interval in which the quantile of the given rank exists.
getQuantileLowerBound(double) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getQuantileLowerBound(double) - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
Gets the lower bound of the quantile confidence interval in which the quantile of the given rank exists.
getQuantileLowerBound(double) - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
Gets the lower bound of the quantile confidence interval in which the quantile of the given rank exists.
getQuantileLowerBound(double) - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
Gets the lower bound of the quantile confidence interval in which the quantile of the given rank exists.
getQuantileLowerBound(double) - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
Gets the lower bound of the quantile confidence interval in which the quantile of the given rank exists.
getQuantileLowerBound(double) - Method in class org.apache.datasketches.req.ReqSketch
Gets the lower bound of the quantile confidence interval in which the quantile of the given rank exists.
getQuantileLowerBound(double, int) - Method in class org.apache.datasketches.req.ReqSketch
 
getQuantiles() - Method in class org.apache.datasketches.quantilescommon.DoublesSketchSortedView
 
getQuantiles() - Method in interface org.apache.datasketches.quantilescommon.DoublesSortedView
Returns an array of all retained quantiles by the sketch.
getQuantiles() - Method in class org.apache.datasketches.quantilescommon.FloatsSketchSortedView
 
getQuantiles() - Method in interface org.apache.datasketches.quantilescommon.FloatsSortedView
Returns an array of all retained quantiles by the sketch.
getQuantiles() - Method in interface org.apache.datasketches.quantilescommon.GenericSortedView
Returns the full array of quantiles.
getQuantiles() - Method in class org.apache.datasketches.quantilescommon.ItemsSketchSortedView
 
getQuantiles() - Method in class org.apache.datasketches.quantilescommon.LongsSketchSortedView
 
getQuantiles() - Method in interface org.apache.datasketches.quantilescommon.LongsSortedView
Returns an array of all retained quantiles by the sketch.
getQuantiles(double[]) - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
This is equivalent to getQuantiles(ranks, INCLUSIVE)
getQuantiles(double[]) - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
This is equivalent to getQuantiles(ranks, INCLUSIVE)
getQuantiles(double[]) - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
This is equivalent to getQuantiles(ranks, INCLUSIVE)
getQuantiles(double[]) - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
This is equivalent to getQuantiles(ranks, INCLUSIVE)
getQuantiles(double[], QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllDoublesSketch
 
getQuantiles(double[], QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllFloatsSketch
 
getQuantiles(double[], QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllItemsSketch
 
getQuantiles(double[], QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllLongsSketch
 
getQuantiles(double[], QuantileSearchCriteria) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
getQuantiles(double[], QuantileSearchCriteria) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getQuantiles(double[], QuantileSearchCriteria) - Method in class org.apache.datasketches.quantilescommon.ItemsSketchSortedView
Gets an array of quantiles corresponding to the given array of ranks.
getQuantiles(double[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
Gets an array of quantiles from the given array of normalized ranks.
getQuantiles(double[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
Gets an array of quantiles from the given array of normalized ranks.
getQuantiles(double[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
Gets an array of quantiles from the given array of normalized ranks.
getQuantiles(double[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
Gets an array of quantiles from the given array of normalized ranks.
getQuantiles(double[], QuantileSearchCriteria) - Method in class org.apache.datasketches.req.ReqSketch
 
getQuantileUpperBound(double) - Method in class org.apache.datasketches.kll.KllDoublesSketch
Gets the upper bound of the quantile confidence interval in which the true quantile of the given rank exists.
getQuantileUpperBound(double) - Method in class org.apache.datasketches.kll.KllFloatsSketch
Gets the upper bound of the quantile confidence interval in which the true quantile of the given rank exists.
getQuantileUpperBound(double) - Method in class org.apache.datasketches.kll.KllItemsSketch
 
getQuantileUpperBound(double) - Method in class org.apache.datasketches.kll.KllLongsSketch
Gets the upper bound of the quantile confidence interval in which the true quantile of the given rank exists.
getQuantileUpperBound(double) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Gets the upper bound of the quantile confidence interval in which the true quantile of the given rank exists.
getQuantileUpperBound(double) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getQuantileUpperBound(double) - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
Gets the upper bound of the quantile confidence interval in which the true quantile of the given rank exists.
getQuantileUpperBound(double) - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
Gets the upper bound of the quantile confidence interval in which the true quantile of the given rank exists.
getQuantileUpperBound(double) - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
Gets the upper bound of the quantile confidence interval in which the true quantile of the given rank exists.
getQuantileUpperBound(double) - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
Gets the upper bound of the quantile confidence interval in which the true quantile of the given rank exists.
getQuantileUpperBound(double) - Method in class org.apache.datasketches.req.ReqSketch
Gets the upper bound of the quantile confidence interval in which the true quantile of the given rank exists.
getQuantileUpperBound(double, int) - Method in class org.apache.datasketches.req.ReqSketch
 
getRange(T, T, BoundsRule) - Method in interface org.apache.datasketches.partitions.SketchFillRequest
This is a callback request to the data source to fill a quantiles sketch with a range of data between upper and lower bounds.
getRank(double) - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
This is equivalent to getRank(quantile, INCLUSIVE)
getRank(double) - Method in class org.apache.datasketches.tdigest.TDigestDouble
Compute approximate normalized rank of the given value.
getRank(double, QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllDoublesSketch
 
getRank(double, QuantileSearchCriteria) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
getRank(double, QuantileSearchCriteria) - Method in class org.apache.datasketches.quantilescommon.DoublesSketchSortedView
 
getRank(double, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.DoublesSortedView
Gets the normalized rank corresponding to the given a quantile.
getRank(double, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
Gets the normalized rank corresponding to the given a quantile.
getRank(float) - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
This is equivalent to getRank(quantile, INCLUSIVE)
getRank(float, QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllFloatsSketch
 
getRank(float, QuantileSearchCriteria) - Method in class org.apache.datasketches.quantilescommon.FloatsSketchSortedView
 
getRank(float, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.FloatsSortedView
Gets the normalized rank corresponding to the given a quantile.
getRank(float, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
Gets the normalized rank corresponding to the given a quantile.
getRank(float, QuantileSearchCriteria) - Method in class org.apache.datasketches.req.ReqSketch
 
getRank(long) - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
This is equivalent to getRank(quantile, INCLUSIVE)
getRank(long, QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllLongsSketch
 
getRank(long, QuantileSearchCriteria) - Method in class org.apache.datasketches.quantilescommon.LongsSketchSortedView
 
getRank(long, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.LongsSortedView
Gets the normalized rank corresponding to the given a quantile.
getRank(long, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
Gets the normalized rank corresponding to the given a quantile.
getRank(T) - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
This is equivalent to getRank(T quantile, INCLUSIVE)
getRank(T, QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllItemsSketch
 
getRank(T, QuantileSearchCriteria) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getRank(T, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.GenericSortedView
Gets the normalized rank corresponding to the given a quantile.
getRank(T, QuantileSearchCriteria) - Method in class org.apache.datasketches.quantilescommon.ItemsSketchSortedView
 
getRank(T, QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
Gets the normalized rank corresponding to the given a quantile.
getRankLowerBound(double) - Method in class org.apache.datasketches.kll.KllDoublesSketch
Gets the lower bound of the rank confidence interval in which the true rank of the given rank exists.
getRankLowerBound(double) - Method in class org.apache.datasketches.kll.KllFloatsSketch
Gets the lower bound of the rank confidence interval in which the true rank of the given rank exists.
getRankLowerBound(double) - Method in class org.apache.datasketches.kll.KllItemsSketch
Gets the lower bound of the rank confidence interval in which the true rank of the given rank exists.
getRankLowerBound(double) - Method in class org.apache.datasketches.kll.KllLongsSketch
Gets the lower bound of the rank confidence interval in which the true rank of the given rank exists.
getRankLowerBound(double) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Gets the lower bound of the rank confidence interval in which the true rank of the given rank exists.
getRankLowerBound(double) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getRankLowerBound(double) - Method in interface org.apache.datasketches.quantilescommon.QuantilesAPI
Gets the lower bound of the rank confidence interval in which the true rank of the given rank exists.
getRankLowerBound(double) - Method in class org.apache.datasketches.req.ReqSketch
Gets the lower bound of the rank confidence interval in which the true rank of the given rank exists.
getRankLowerBound(double, int) - Method in class org.apache.datasketches.req.ReqSketch
 
getRanks(double[]) - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
This is equivalent to getRanks(quantiles, INCLUSIVE)
getRanks(double[], QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllDoublesSketch
 
getRanks(double[], QuantileSearchCriteria) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
getRanks(double[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
Gets an array of normalized ranks corresponding to the given array of quantiles and the given search criterion.
getRanks(float[]) - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
This is equivalent to getRanks(quantiles, INCLUSIVE)
getRanks(float[], QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllFloatsSketch
 
getRanks(float[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
Gets an array of normalized ranks corresponding to the given array of quantiles and the given search criterion.
getRanks(float[], QuantileSearchCriteria) - Method in class org.apache.datasketches.req.ReqSketch
 
getRanks(long[]) - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
This is equivalent to getRanks(quantiles, INCLUSIVE)
getRanks(long[], QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllLongsSketch
 
getRanks(long[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
Gets an array of normalized ranks corresponding to the given array of quantiles and the given search criterion.
getRanks(T[]) - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
This is equivalent to getRanks(quantiles, INCLUSIVE)
getRanks(T[], QuantileSearchCriteria) - Method in class org.apache.datasketches.kll.KllItemsSketch
 
getRanks(T[], QuantileSearchCriteria) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getRanks(T[], QuantileSearchCriteria) - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
Gets an array of normalized ranks corresponding to the given array of quantiles and the given search criterion.
getRankUpperBound(double) - Method in class org.apache.datasketches.kll.KllDoublesSketch
Gets the upper bound of the rank confidence interval in which the true rank of the given rank exists.
getRankUpperBound(double) - Method in class org.apache.datasketches.kll.KllFloatsSketch
Gets the upper bound of the rank confidence interval in which the true rank of the given rank exists.
getRankUpperBound(double) - Method in class org.apache.datasketches.kll.KllItemsSketch
Gets the upper bound of the rank confidence interval in which the true rank of the given rank exists.
getRankUpperBound(double) - Method in class org.apache.datasketches.kll.KllLongsSketch
Gets the upper bound of the rank confidence interval in which the true rank of the given rank exists.
getRankUpperBound(double) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Gets the upper bound of the rank confidence interval in which the true rank of the given rank exists.
getRankUpperBound(double) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getRankUpperBound(double) - Method in interface org.apache.datasketches.quantilescommon.QuantilesAPI
Gets the upper bound of the rank confidence interval in which the true rank of the given rank exists.
getRankUpperBound(double) - Method in class org.apache.datasketches.req.ReqSketch
Gets the upper bound of the rank confidence interval in which the true rank of the given rank exists.
getRankUpperBound(double, int) - Method in class org.apache.datasketches.req.ReqSketch
 
getRelativeError() - Method in class org.apache.datasketches.count.CountMinSketch
Returns the relative error of the sketch.
getRelErr(boolean, boolean, int, int) - Static method in class org.apache.datasketches.hll.HllSketch
Gets the current (approximate) Relative Error (RE) asymptotic values given several parameters.
getRelErr(boolean, boolean, int, int) - Static method in class org.apache.datasketches.hll.HllUnion
Gets the current (approximate) Relative Error (RE) asymptotic values given several parameters.
getRemaining() - Method in interface org.apache.datasketches.common.positional.Positional
The number of elements remaining between the current position and the end position
getReqDebug() - Method in class org.apache.datasketches.req.ReqSketchBuilder
Gets the builder configured ReqDebug
getResizeFactor() - Method in class org.apache.datasketches.theta.ThetaSetOperationBuilder
Returns the Resize Factor
getResizeFactor() - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
Returns the configured ResizeFactor
getResizeFactor() - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Returns the local Resize Factor
getResizeFactor() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Gets the configured resize factor
getResizeFactor() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
Get configured resize factor
getResizeFactor() - Method in class org.apache.datasketches.tuple.adouble.DoubleTupleSketch
Get configured resize factor
getResizeFactor() - Method in class org.apache.datasketches.fdt.FdtSketch
Get configured resize factor
getResizeFactor() - Method in class org.apache.datasketches.tuple.aninteger.IntegerTupleSketch
Get configured resize factor
getResizeFactor() - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
Get configured resize factor
getResult() - Method in class org.apache.datasketches.cpc.CpcUnion
Returns the result of union operations as a CPC sketch.
getResult() - Method in class org.apache.datasketches.hll.HllUnion
Return the result of this HllUnion operator as an HLL_4 sketch.
getResult() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Gets the result of this Union as an UpdatableQuantilesDoublesSketch, which enables further update operations on the resulting sketch.
getResult() - Method in class org.apache.datasketches.quantiles.QuantilesItemsUnion
Gets the result of this Union operation as a copy of the internal state.
getResult() - Method in class org.apache.datasketches.sampling.EbppsItemsSketch
Returns a copy of the current sample.
getResult() - Method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Returns a sketch representing the current state of the union.
getResult() - Method in class org.apache.datasketches.sampling.ReservoirLongsUnion
Returns a sketch representing the current state of the union.
getResult() - Method in class org.apache.datasketches.sampling.VarOptItemsUnion
Gets the varopt sketch resulting from the union of any input sketches.
getResult() - Method in class org.apache.datasketches.theta.ThetaIntersection
Gets the result of this operation as an ordered CompactThetaSketch on the Java heap.
getResult() - Method in class org.apache.datasketches.theta.ThetaUnion
Gets the result of this operation as an ordered CompactThetaSketch on the Java heap.
getResult() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesAnotB
Gets the result of this operation in the form of a ArrayOfDoublesCompactSketch
getResult() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesAnotBImpl
 
getResult() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesIntersection
Gets the internal set as an on-heap compact sketch.
getResult() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUnion
Returns the resulting union in the form of a compact sketch
getResult() - Method in class org.apache.datasketches.tuple.TupleIntersection
Gets the internal set as an unordered CompactTupleSketch
getResult() - Method in class org.apache.datasketches.tuple.TupleUnion
Gets the result of a sequence of stateful union operations as an unordered CompactTupleSketch
getResult(boolean) - Method in class org.apache.datasketches.theta.ThetaAnotB
Gets the result of the multistep, stateful operation ThetaAnotB that have been executed with calls to ThetaAnotB.setA(ThetaSketch) and (ThetaAnotB.notB(ThetaSketch) or ThetaAnotB.notB(org.apache.datasketches.theta.ThetaSketch)).
getResult(boolean) - Method in class org.apache.datasketches.tuple.TupleAnotB
Gets the result of the multistep, stateful operation TupleAnotB that have been executed with calls to TupleAnotB.setA(TupleSketch) and (TupleAnotB.notB(TupleSketch) or TupleAnotB.notB(ThetaSketch)).
getResult(boolean) - Method in class org.apache.datasketches.tuple.TupleUnion
Gets the result of a sequence of stateful union operations as an unordered CompactTupleSketch.
getResult(boolean, MemorySegment) - Method in class org.apache.datasketches.theta.ThetaIntersection
Gets the result of this operation as a CompactThetaSketch in the given dstSeg.
getResult(boolean, MemorySegment) - Method in class org.apache.datasketches.theta.ThetaUnion
Gets the result of this operation as a CompactThetaSketch of the chosen form.
getResult(boolean, MemorySegment, boolean) - Method in class org.apache.datasketches.theta.ThetaAnotB
Gets the result of the multistep, stateful operation ThetaAnotB that have been executed with calls to ThetaAnotB.setA(ThetaSketch) and (ThetaAnotB.notB(ThetaSketch) or ThetaAnotB.notB(org.apache.datasketches.theta.ThetaSketch)).
getResult(int[], int, int, char) - Method in class org.apache.datasketches.fdt.FdtSketch
Returns an ordered List of Groups of the most frequent distinct population of subset tuples represented by the count of entries of each group.
getResult(MemorySegment) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesAnotB
Gets the result of this operation in the form of a ArrayOfDoublesCompactSketch
getResult(MemorySegment) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesAnotBImpl
 
getResult(MemorySegment) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesIntersection
Gets the result of stateful intersections so far.
getResult(MemorySegment) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUnion
Returns the resulting union in the form of a compact sketch
getResult(MemorySegment, MemorySegmentRequest) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Places the result of this Union into the provided MemorySegment as an UpdatableQuantilesDoublesSketch, which enables further update operations on the resulting sketch.
getResult(TgtHllType) - Method in class org.apache.datasketches.hll.HllUnion
Return the result of this HllUnion operator with the specified TgtHllType
getResultAndReset() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Gets the result of this Union as an UpdatableQuantilesDoublesSketch, which enables further update operations on the resulting sketch.
getResultAndReset() - Method in class org.apache.datasketches.quantiles.QuantilesItemsUnion
Gets the sketch result of this Union operation and resets this Union to the virgin state.
getRetainedEntries() - Method in class org.apache.datasketches.theta.ThetaSketch
Returns the number of valid entries that have been retained by the sketch.
getRetainedEntries() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Returns number of retained entries
getRetainedEntries() - Method in class org.apache.datasketches.tuple.CompactTupleSketch
 
getRetainedEntries() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
 
getRetainedEntries() - Method in class org.apache.datasketches.tuple.adouble.DoubleTupleSketch
 
getRetainedEntries() - Method in class org.apache.datasketches.fdt.FdtSketch
 
getRetainedEntries() - Method in class org.apache.datasketches.tuple.aninteger.IntegerTupleSketch
 
getRetainedEntries() - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
 
getRetainedEntries() - Method in class org.apache.datasketches.tuple.TupleSketch
Returns number of retained entries
getRetainedEntries(boolean) - Method in class org.apache.datasketches.theta.ThetaSketch
Returns the number of entries that have been retained by the sketch.
getRetainedEntries(MemorySegment) - Static method in class org.apache.datasketches.theta.ThetaSketch
Returns the number of valid entries that have been retained by the sketch from the given MemorySegment
getRF(int) - Static method in enum class org.apache.datasketches.common.ResizeFactor
Returns the Resize Factor given the Log-base 2 of the Resize Factor
getRowHeader() - Static method in class org.apache.datasketches.frequencies.FrequentItemsSketch.Row
Returns the descriptive row header
getRowHeader() - Static method in class org.apache.datasketches.frequencies.FrequentLongsSketch.Row
Returns the descriptive row header
getRse() - Method in class org.apache.datasketches.fdt.Group
Returns the RSE
getRSE(int, double, boolean, long) - Static method in class org.apache.datasketches.req.ReqSketch
Returns an a priori estimate of relative standard error (RSE, expressed as a number in [0,1]).
getSamples() - Method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Returns a copy of the items in the reservoir, or null if empty.
getSamples() - Method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Returns a copy of the items in the reservoir.
getSamples(Class) - Method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Returns a copy of the items in the reservoir as members of Class clazz, or null if empty.
getSamplingProbability() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Gets the configured sampling probability
getSamplingProbability() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
Get configured sampling probability
getSamplingProbability() - Method in class org.apache.datasketches.tuple.adouble.DoubleTupleSketch
Get configured sampling probability
getSamplingProbability() - Method in class org.apache.datasketches.fdt.FdtSketch
Get configured sampling probability
getSamplingProbability() - Method in class org.apache.datasketches.tuple.aninteger.IntegerTupleSketch
Get configured sampling probability
getSamplingProbability() - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
Get configured sampling probability
getSearchCriteria() - Method in class org.apache.datasketches.quantilescommon.GenericPartitionBoundaries
Gets the search criteria specified for the source sketch
getSeed() - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Returns the hash seed for this BloomFilter.
getSeed() - Method in class org.apache.datasketches.theta.ThetaSetOperationBuilder
Returns the seed
getSeed() - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
Gets the configured seed
getSeed() - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Returns the local long seed value that is required by the hashing function.
getSeed_() - Method in class org.apache.datasketches.count.CountMinSketch
Returns the hash seed used by this sketch.
getSerializationVersion() - Static method in class org.apache.datasketches.hll.HllSketch
Returns the current serialization version.
getSerializationVersion() - Static method in class org.apache.datasketches.hll.HllUnion
Returns the current serialization version.
getSerializationVersion(MemorySegment) - Static method in class org.apache.datasketches.hll.HllSketch
Returns the current serialization version of the given MemorySegment.
getSerializationVersion(MemorySegment) - Static method in class org.apache.datasketches.hll.HllUnion
Returns the current serialization version of the given MemorySegment.
getSerializationVersion(MemorySegment) - Static method in class org.apache.datasketches.theta.ThetaSketch
Returns the serialization version from the given MemorySegment
getSerializedFilterSize(long) - Static method in class org.apache.datasketches.filters.bloomfilter.BloomFilterBuilder
Returns the minimum MemorySegment size, in bytes, needed for a serialized BloomFilter with the given number of bits.
getSerializedFilterSizeByAccuracy(long, double) - Static method in class org.apache.datasketches.filters.bloomfilter.BloomFilterBuilder
Returns the minimum MemorySegment size, in bytes, needed for a serialized BloomFilter with an optimal number of bits and hash functions for the given inputs.
getSerializedSize(long) - Static method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Returns the serialized length of a non-empty BloomFilter of the given size, in bytes
getSerializedSizeBytes() - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Returns the length of this BloomFilter when serialized, in bytes
getSerializedSizeBytes() - Method in class org.apache.datasketches.kll.KllSketch
Returns the current number of bytes this Sketch would require if serialized in compact form.
getSerializedSizeBytes() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
getSerializedSizeBytes() - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
Returns the current number of bytes this Sketch would require if serialized.
getSerializedSizeBytes() - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
Returns the current number of bytes this Sketch would require if serialized.
getSerializedSizeBytes() - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
Returns the current number of bytes this Sketch would require if serialized.
getSerializedSizeBytes() - Method in class org.apache.datasketches.req.ReqSketch
 
getSerializedSizeBytes(ArrayOfItemsSerDe) - Method in class org.apache.datasketches.sampling.EbppsItemsSketch
Returns the size of a byte array representation of this sketch.
getSerializedSizeBytes(ArrayOfItemsSerDe, Class) - Method in class org.apache.datasketches.sampling.EbppsItemsSketch
Returns the length of a byte array representation of this sketch.
getSerVer() - Method in enum class org.apache.datasketches.kll.KllSketch.SketchStructure
gets the Serialization Version for this Structure.
getShort() - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the short value at the current position.
getShort(long) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the short value at the given offset.
getShortArray(short[], int, int) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets the short array at the current position.
getShortBE(byte[], int) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Get a short from the given byte array starting at the given offset in big endian order.
getShortLE(byte[], int) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Get a short from the given byte array starting at the given offset in little endian order.
getSize() - Method in class org.apache.datasketches.tuple.DeserializeResult
Returns size in bytes occupied by the object in the serialized form
getSketchSamples() - Method in class org.apache.datasketches.sampling.VarOptItemsSketch
Gets a result iterator object.
getSketchStructure(int, int) - Static method in enum class org.apache.datasketches.kll.KllSketch.SketchStructure
gets the SketchStructure given preInts and serVer.
getSketchType(MemorySegment) - Static method in class org.apache.datasketches.tuple.SerializerDeserializer
Gets the sketch type byte from the given MemorySegment image
getSortedView() - Method in class org.apache.datasketches.kll.KllDoublesSketch
 
getSortedView() - Method in class org.apache.datasketches.kll.KllFloatsSketch
 
getSortedView() - Method in class org.apache.datasketches.kll.KllItemsSketch
 
getSortedView() - Method in class org.apache.datasketches.kll.KllLongsSketch
 
getSortedView() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
getSortedView() - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
getSortedView() - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
Gets the sorted view of this sketch
getSortedView() - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
Gets the sorted view of this sketch
getSortedView() - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
Gets the sorted view of this sketch
getSortedView() - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
Gets the sorted view of this sketch
getSortedView() - Method in class org.apache.datasketches.req.ReqSketch
 
getStart() - Method in interface org.apache.datasketches.common.positional.Positional
Gets start position
getStartingCapacity(int, int) - Static method in class org.apache.datasketches.tuple.Util
Gets the starting capacity of a new sketch given the Nominal Entries and the log Resize Factor.
getStorageBytes() - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns the number of bytes required to store this sketch as an array of bytes.
getStreamLength() - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Returns the sum of the frequencies in the stream seen so far by the sketch
getStreamLength() - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns the sum of the frequencies (weights or counts) in the stream seen so far by the sketch
getSummary() - Method in class org.apache.datasketches.tuple.TupleSketchIterator
Gets a Summary object from the current entry in the sketch.
getSummaryFactory() - Method in class org.apache.datasketches.tuple.TupleSketch
Gets the Summary Factory class of type S
getTgtHllType() - Method in class org.apache.datasketches.hll.HllSketch
 
getTgtHllType() - Method in class org.apache.datasketches.hll.HllUnion
 
getTheta() - Method in class org.apache.datasketches.theta.ThetaSketch
Gets the value of theta as a double with a value between zero and one
getTheta() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Gets the value of theta as a double between zero and one
getTheta() - Method in class org.apache.datasketches.tuple.TupleSketch
Gets the value of theta as a double between zero and one
getThetaLong() - Method in class org.apache.datasketches.theta.ThetaSketch
Gets the value of theta as a long
getThetaLong() - Method in class org.apache.datasketches.tuple.TupleSketch
Returns Theta as a long
getTotalSketchWeight() - Method in class org.apache.datasketches.sampling.SampleSubsetSummary
Returns the total sketch weight
getTotalUsageBytes() - Method in class org.apache.datasketches.hllmap.UniqueCountMap
Returns total bytes used by all internal maps
getTotalWeight() - Method in class org.apache.datasketches.tdigest.TDigestDouble
Returns total weight
getTotalWeight_() - Method in class org.apache.datasketches.count.CountMinSketch
Returns the total weight of all items inserted into the sketch.
getUnionAction() - Method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Gets the union action
getUpdatableSerializationBytes() - Method in class org.apache.datasketches.hll.HllSketch
 
getUpdatableSerializationBytes() - Method in class org.apache.datasketches.hll.HllUnion
 
getUpdatableStorageBytes(int, long) - Static method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Returns the number of bytes a sketch would require to store in updatable form.
getUpdateSketchMaxBytes(int) - Static method in class org.apache.datasketches.theta.ThetaSketch
Returns the maximum number of storage bytes required for an UpdatableThetaSketch with the given log_base2 of the nominal entries.
getUpperBound() - Method in class org.apache.datasketches.fdt.Group
Returns the upper bound
getUpperBound() - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch.Row
Returns the upper bound
getUpperBound() - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch.Row
Returns the upper bound
getUpperBound() - Method in class org.apache.datasketches.sampling.SampleSubsetSummary
Returns the upper bound
getUpperBound(byte[]) - Method in class org.apache.datasketches.count.CountMinSketch
Returns the upper bound of the estimated frequency for the given item.
getUpperBound(byte[]) - Method in class org.apache.datasketches.hllmap.UniqueCountMap
Returns the upper bound cardinality with respect to UniqueCountMap.getEstimate(byte[]) associated with the given key.
getUpperBound(int) - Method in class org.apache.datasketches.cpc.CpcSketch
Returns the best estimate of the upper bound of the confidence interval given kappa, the number of standard deviations from the mean.
getUpperBound(int) - Method in class org.apache.datasketches.cpc.CpcWrapper
Returns the best estimate of the upper bound of the confidence interval given kappa, the number of standard deviations from the mean.
getUpperBound(int) - Method in class org.apache.datasketches.hll.HllSketch
 
getUpperBound(int) - Method in class org.apache.datasketches.hll.HllUnion
 
getUpperBound(int) - Method in class org.apache.datasketches.theta.ThetaSketch
Gets the approximate upper error bound given the specified number of Standard Deviations.
getUpperBound(int) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Gets the approximate upper error bound given the specified number of Standard Deviations.
getUpperBound(int) - Method in class org.apache.datasketches.tuple.TupleSketch
Gets the approximate upper error bound given the specified number of Standard Deviations.
getUpperBound(int, int) - Method in class org.apache.datasketches.tuple.TupleSketch
Gets the estimate of the upper bound of the true distinct population represented by the count of entries in a subset of the total retained entries of the sketch.
getUpperBound(int, MemorySegment) - Static method in class org.apache.datasketches.theta.ThetaSketch
Gets the approximate upper error bound from a valid MemorySegment image of a ThetaSketch given the specified number of Standard Deviations.
getUpperBound(long) - Method in class org.apache.datasketches.count.CountMinSketch
Returns the upper bound of the estimated frequency for the given item.
getUpperBound(long) - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Gets the guaranteed upper bound frequency of the given item.
getUpperBound(long, double, int, boolean) - Static method in class org.apache.datasketches.thetacommon.BinomialBoundsN
Returns the approximate upper bound value
getUpperBound(String) - Method in class org.apache.datasketches.count.CountMinSketch
Returns the upper bound of the estimated frequency for the given item.
getUpperBound(T) - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Gets the guaranteed upper bound frequency of the given item.
getUpperBoundForBoverA(long, long, double) - Static method in class org.apache.datasketches.common.BoundsOnRatiosInSampledSets
Return the approximate upper bound based on a 95% confidence interval
getUpperBoundForBoverA(ThetaSketch, ThetaSketch) - Static method in class org.apache.datasketches.thetacommon.BoundsOnRatiosInThetaSketchedSets
Gets the approximate upper bound for B over A based on a 95% confidence interval
getUpperBoundForBoverA(TupleSketch, ThetaSketch) - Static method in class org.apache.datasketches.thetacommon.BoundsOnRatiosInTupleSketchedSets
Gets the approximate upper bound for B over A based on a 95% confidence interval
getUpperBoundForBoverA(TupleSketch, TupleSketch) - Static method in class org.apache.datasketches.thetacommon.BoundsOnRatiosInTupleSketchedSets
Gets the approximate upper bound for B over A based on a 95% confidence interval
getValue() - Method in enum class org.apache.datasketches.common.ResizeFactor
Returns the Resize Factor
getValue() - Method in class org.apache.datasketches.tuple.adouble.DoubleSummary
Returns current value of the DoubleSummary
getValue() - Method in class org.apache.datasketches.tuple.aninteger.IntegerSummary
Returns the current value of the IntegerSummary
getValue() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSummary
Returns the nodes array for this summary.
getValues() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Returns array of arrays of double values in the sketch
getValues() - Method in interface org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketchIterator
Gets an array of values from the current entry in the sketch.
getWeight() - Method in class org.apache.datasketches.kll.KllSketchIterator
 
getWeight() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketchIterator
 
getWeight() - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketchIterator
 
getWeight() - Method in interface org.apache.datasketches.quantilescommon.QuantilesSketchIteratorAPI
Gets the natural weight at the current index.
getWeight() - Method in class org.apache.datasketches.quantilescommon.SortedViewIterator
Gets the weight contribution of the item at the current index.
getWeight() - Method in class org.apache.datasketches.req.ReqSketchIterator
 
getWeight() - Method in class org.apache.datasketches.sampling.VarOptItemsSamples.WeightedSample
Accesses the iterator's current weight value
gpb - Variable in class org.apache.datasketches.partitions.Partitioner.StackElement
A reference to the relevant GenericPartitionBoundaries class
Group - Class in org.apache.datasketches.fdt
Defines a Group from a Frequent Distinct Tuple query.
Group() - Constructor for class org.apache.datasketches.fdt.Group
Construct an empty Group
GT - Enum constant in enum class org.apache.datasketches.quantilescommon.GenericInequalitySearch.Inequality
Given a sorted array of increasing values arr[] and a key value V, this criterion instructs the binary search algorithm to find the lowest adjacent pair of values {A,B} such that A ≤ V < B.
Let low = index of the lowest value in the range.
Let high = index of the highest value in the range.
GT - Enum constant in enum class org.apache.datasketches.quantilescommon.InequalitySearch
Given a sorted array of increasing values arr[] and a key value V, this criterion instructs the binary search algorithm to find the lowest adjacent pair of values {A,B} such that A ≤ V < B.
Let low = index of the lowest value in the range.
Let high = index of the highest value in the range.

H

hash(byte[], int, int, long) - Static method in class org.apache.datasketches.hash.MurmurHash3
Hash a portion of the given byte[] array.
hash(byte[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3
Hash the given byte[] array.
hash(byte[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3FFM
Returns a 128-bit hash of the input.
hash(char[], int, int, long) - Static method in class org.apache.datasketches.hash.MurmurHash3
Hash a portion of the given char[] array.
hash(char[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3
Hash the given char[] array.
hash(char[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3FFM
Returns a 128-bit hash of the input.
hash(double, long, long[]) - Static method in class org.apache.datasketches.hash.MurmurHash3FFM
Returns a 128-bit hash of the input.
hash(int[], int, int, long) - Static method in class org.apache.datasketches.hash.MurmurHash3
Hash a portion of the given int[] array.
hash(int[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3
Hash the given int[] array.
hash(int[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3FFM
Returns a 128-bit hash of the input.
hash(long[], int, int, long) - Static method in class org.apache.datasketches.hash.MurmurHash3
Hash a portion of the given long[] array.
hash(long[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3
Hash the given long[] array.
hash(long[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3FFM
Returns a 128-bit hash of the input.
hash(long, long) - Static method in class org.apache.datasketches.hash.MurmurHash3
Hash the given long.
hash(long, long) - Static method in class org.apache.datasketches.hash.XxHash64
Returns a 64-bit hash from a single long.
hash(long, long, long[]) - Static method in class org.apache.datasketches.hash.MurmurHash3FFM
Returns a 128-bit hash of the input.
hash(MemorySegment, long) - Static method in class org.apache.datasketches.hash.MurmurHash3
Hash the given MemorySegment.
hash(MemorySegment, long, long, long) - Static method in class org.apache.datasketches.hash.XxHash64
Returns the 64-bit hash of the sequence of bytes in the given MemorySegment
hash(MemorySegment, long, long, long, long[]) - Static method in class org.apache.datasketches.hash.MurmurHash3FFM
Returns a 128-bit hash of the input as a long array of size 2.
hash(String, long, long[]) - Static method in class org.apache.datasketches.hash.MurmurHash3FFM
Returns a 128-bit hash of the input.
hash(ByteBuffer, long) - Static method in class org.apache.datasketches.hash.MurmurHash3
Hash the remaining bytes of the given ByteBuffer starting at position() ending at limit (exclusive).
hashArrayInsert(long[], long[], int, long) - Static method in class org.apache.datasketches.thetacommon.HashOperations
Inserts the given long array into the given OADH hashTable of the target size, ignores duplicates and counts the values inserted.
hashByteArr(byte[], int, int, long) - Static method in class org.apache.datasketches.hash.XxHash
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashBytes(byte[], int, int, long) - Static method in class org.apache.datasketches.hash.XxHash64
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashCharArr(char[], int, int, long) - Static method in class org.apache.datasketches.hash.XxHash
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashChars(char[], int, int, long) - Static method in class org.apache.datasketches.hash.XxHash64
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashCode() - Method in class org.apache.datasketches.fdt.Group
 
hashCode() - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch.Row
This hashCode is computed only from the Row.getEstimate() value.
hashCode() - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch.Row
This hashCode is computed only from the Row.getEstimate() value.
hashCode() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSummary
 
hashDoubleArr(double[], int, int, long) - Static method in class org.apache.datasketches.hash.XxHash
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashDoubles(double[], int, int, long) - Static method in class org.apache.datasketches.hash.XxHash64
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashFloatArr(float[], int, int, long) - Static method in class org.apache.datasketches.hash.XxHash
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashFloats(float[], int, int, long) - Static method in class org.apache.datasketches.hash.XxHash64
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashInsertOnly(long[], int, long) - Static method in class org.apache.datasketches.thetacommon.HashOperations
This is a classical Knuth-style Open Addressing, Double Hash (OADH) insert scheme for on-heap.
hashInsertOnlyMemorySegment(MemorySegment, int, long, int) - Static method in class org.apache.datasketches.thetacommon.HashOperations
This is a classical Knuth-style Open Addressing, Double Hash (OADH) insert scheme for MemorySegment.
hashIntArr(int[], int, int, long) - Static method in class org.apache.datasketches.hash.XxHash
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashInts(int[], int, int, long) - Static method in class org.apache.datasketches.hash.XxHash64
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
HashIterator - Interface in org.apache.datasketches.theta
This is used to iterate over the retained hash values of the Theta sketch.
hashLong(long, long) - Static method in class org.apache.datasketches.hash.XxHash
Returns a 64-bit hash from a single long.
hashLongArr(long[], int, int, long) - Static method in class org.apache.datasketches.hash.XxHash
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashLongs(long[], int, int, long) - Static method in class org.apache.datasketches.hash.XxHash64
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
HashOperations - Class in org.apache.datasketches.thetacommon
Helper class for the common hash table methods.
hashSearch(long[], int, long) - Static method in class org.apache.datasketches.thetacommon.HashOperations
This is a classical Knuth-style Open Addressing, Double Hash (OADH) search scheme for on-heap.
hashSearchMemorySegment(MemorySegment, int, long, int) - Static method in class org.apache.datasketches.thetacommon.HashOperations
This is a classical Knuth-style Open Addressing, Double Hash (OADH) search scheme for MemorySegment.
hashSearchOrInsert(long[], int, long) - Static method in class org.apache.datasketches.thetacommon.HashOperations
This is a classical Knuth-style Open Addressing, Double Hash (OADH) insert scheme for on-heap.
hashSearchOrInsertMemorySegment(MemorySegment, int, long, int) - Static method in class org.apache.datasketches.thetacommon.HashOperations
This is a classical Knuth-style Open Addressing, Double Hash insert scheme, but inserts values directly into a writable MemorySegment.
hashShortArr(short[], int, int, long) - Static method in class org.apache.datasketches.hash.XxHash
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashShorts(short[], int, int, long) - Static method in class org.apache.datasketches.hash.XxHash64
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashString(String, int, int, long) - Static method in class org.apache.datasketches.hash.XxHash
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hashString(String, int, int, long) - Static method in class org.apache.datasketches.hash.XxHash64
Hash the given arr starting at the given offset and continuing for the given length using the given seed.
hasMemorySegment() - Method in interface org.apache.datasketches.common.MemorySegmentStatus
Returns true if this object's internal data is backed by a MemorySegment, which may be on-heap or off-heap.
hasMemorySegment() - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
 
hasMemorySegment() - Method in class org.apache.datasketches.filters.bloomfilter.DirectBitArrayR
 
hasMemorySegment() - Method in class org.apache.datasketches.hll.HllSketch
 
hasMemorySegment() - Method in class org.apache.datasketches.hll.HllUnion
 
hasMemorySegment() - Method in class org.apache.datasketches.kll.KllSketch
 
hasMemorySegment() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
hasMemorySegment() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
 
hasMemorySegment() - Method in class org.apache.datasketches.theta.CompactThetaSketch
 
hasMemorySegment() - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
 
hasMemorySegment() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Returns true if this sketch's data structure is backed by MemorySegment.
hasNext() - Method in class org.apache.datasketches.sampling.VarOptItemsSamples.VarOptItemsIterator
 
hasRemaining() - Method in interface org.apache.datasketches.common.positional.Positional
Returns true if there are elements remaining between the current position and the end position
hasResult() - Method in class org.apache.datasketches.theta.ThetaIntersection
Returns true if there is a valid intersection result available
hasResult() - Method in class org.apache.datasketches.tuple.TupleIntersection
Returns true if there is a valid intersection result available
heapify(byte[]) - Static method in class org.apache.datasketches.cpc.CpcSketch
Return the given byte array as a CpcSketch on the Java heap using the DEFAULT_UPDATE_SEED.
heapify(byte[]) - Static method in class org.apache.datasketches.hll.HllSketch
Heapify the given byte array, which must be a valid HllSketch image and may have data.
heapify(byte[]) - Static method in class org.apache.datasketches.hll.HllUnion
Construct a HllUnion operator populated with the given byte array image of an HllSketch.
heapify(byte[], long) - Static method in class org.apache.datasketches.cpc.CpcSketch
Return the given byte array as a CpcSketch on the Java heap.
heapify(Class, MemorySegment, Comparator, ArrayOfItemsSerDe) - Static method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
Heapifies the given srcSeg, which must be a MemorySegment image of a QuantilesItemsSketch.
heapify(MemorySegment) - Static method in class org.apache.datasketches.cpc.CpcSketch
Return the given MemorySegment as a CpcSketch on the Java heap using the DEFAULT_UPDATE_SEED.
heapify(MemorySegment) - Static method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Reads a serialized image of a BloomFilter from the provided MemorySegment
heapify(MemorySegment) - Static method in class org.apache.datasketches.hll.HllSketch
Heapify the given MemorySegment, which must be a valid HllSketch image and may have data.
heapify(MemorySegment) - Static method in class org.apache.datasketches.hll.HllUnion
Construct a HllUnion operator populated with the given MemorySegment image of an HllSketch.
heapify(MemorySegment) - Static method in class org.apache.datasketches.kll.KllDoublesSketch
Factory heapify takes a compact sketch image in MemorySegment and instantiates an on-heap sketch.
heapify(MemorySegment) - Static method in class org.apache.datasketches.kll.KllFloatsSketch
Factory heapify takes a compact sketch image in MemorySegment and instantiates an on-heap sketch.
heapify(MemorySegment) - Static method in class org.apache.datasketches.kll.KllLongsSketch
Factory heapify takes a compact sketch image in MemorySegment and instantiates an on-heap sketch.
heapify(MemorySegment) - Static method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Heapify takes the sketch image in MemorySegment and instantiates an on-heap Sketch.
heapify(MemorySegment) - Static method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Returns a Heap Union object that has been initialized with the data from the given MemorySegment that contains an image of a sketch.
heapify(MemorySegment) - Static method in class org.apache.datasketches.quantiles.UpdatableQuantilesDoublesSketch
Factory heapify takes a compact sketch image in MemorySegment and instantiates an on-heap sketch.
heapify(MemorySegment) - Static method in class org.apache.datasketches.req.ReqSketch
Returns an ReqSketch on the heap from a MemorySegment image of the sketch.
heapify(MemorySegment) - Static method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Returns a sketch instance of this class from the given srcSeg, which must be a MemorySegment representation of this sketch class.
heapify(MemorySegment) - Static method in class org.apache.datasketches.sampling.ReservoirLongsUnion
Instantiates a Union from MemorySegment
heapify(MemorySegment) - Static method in class org.apache.datasketches.tdigest.TDigestDouble
Deserialize TDigest from a given MemorySegment.
heapify(MemorySegment) - Static method in class org.apache.datasketches.theta.CompactThetaSketch
Heapify takes a CompactThetaSketch image in a MemorySegment and instantiates an on-heap CompactThetaSketch.
heapify(MemorySegment) - Static method in class org.apache.datasketches.theta.ThetaSetOperation
Heapify takes the ThetaSetOperation image in MemorySegment and instantiates an on-heap ThetaSetOperation using the Default Update Seed.
heapify(MemorySegment) - Static method in class org.apache.datasketches.theta.ThetaSketch
Heapify takes the sketch image in MemorySegment and instantiates an on-heap ThetaSketch.
heapify(MemorySegment) - Static method in class org.apache.datasketches.theta.UpdatableThetaSketch
Instantiates an on-heap UpdatableThetaSketch from a MemorySegment.
heapify(MemorySegment) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Heapify the given MemorySegment as an ArrayOfDoublesSketch
heapify(MemorySegment) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUnion
Heapify the given MemorySegment as an ArrayOfDoublesUnion.
heapify(MemorySegment) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Heapify the given MemorySegment as an ArrayOfDoublesUpdatableSketch
heapify(MemorySegment, boolean) - Static method in class org.apache.datasketches.tdigest.TDigestDouble
Deserialize TDigest from a given MemorySegment.
heapify(MemorySegment, long) - Static method in class org.apache.datasketches.cpc.CpcSketch
Return the given MemorySegment as a CpcSketch on the Java heap.
heapify(MemorySegment, long) - Static method in class org.apache.datasketches.theta.CompactThetaSketch
Heapify takes a CompactThetaSketch image in a MemorySegment and instantiates an on-heap CompactThetaSketch.
heapify(MemorySegment, long) - Static method in class org.apache.datasketches.theta.ThetaSetOperation
Heapify takes the ThetaSetOperation image in MemorySegment and instantiates an on-heap ThetaSetOperation using the given expectedSeed.
heapify(MemorySegment, long) - Static method in class org.apache.datasketches.theta.ThetaSketch
Heapify takes the sketch image in MemorySegment and instantiates an on-heap ThetaSketch.
heapify(MemorySegment, long) - Static method in class org.apache.datasketches.theta.UpdatableThetaSketch
Instantiates an on-heap UpdatableThetaSketch from a MemorySegment.
heapify(MemorySegment, long) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Heapify the given MemorySegment and seed as a ArrayOfDoublesSketch
heapify(MemorySegment, long) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUnion
Heapify the given MemorySegment and seed as an ArrayOfDoublesUnion.
heapify(MemorySegment, long) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Heapify the given MemorySegment and seed as a ArrayOfDoublesUpdatableSketch
heapify(MemorySegment, Comparator, ArrayOfItemsSerDe) - Static method in class org.apache.datasketches.kll.KllItemsSketch
Factory heapify takes a compact sketch image in MemorySegment and instantiates an on-heap sketch.
heapify(MemorySegment, ArrayOfItemsSerDe) - Static method in class org.apache.datasketches.sampling.EbppsItemsSketch
Returns a sketch instance of this class from the given srcSeg, which must be a MemorySegment representation of this sketch class.
heapify(MemorySegment, ArrayOfItemsSerDe) - Static method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Returns a sketch instance of this class from the given srcSeg, which must be a MemorySegment representation of this sketch class.
heapify(MemorySegment, ArrayOfItemsSerDe) - Static method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Instantiates a Union from MemorySegment
heapify(MemorySegment, ArrayOfItemsSerDe) - Static method in class org.apache.datasketches.sampling.VarOptItemsSketch
Returns a sketch instance of this class from the given srcSeg, which must be a MemorySegment representation of this sketch class.
heapify(MemorySegment, ArrayOfItemsSerDe) - Static method in class org.apache.datasketches.sampling.VarOptItemsUnion
Instantiates a Union from MemorySegment
heapify(QuantilesDoublesSketch) - Static method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Returns a Heap Union object that has been initialized with the data from the given sketch.
heapifySketch(MemorySegment) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Heapify the given MemorySegment as an ArrayOfDoublesSketch
heapifySketch(MemorySegment, long) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Heapify the given MemorySegment and seed as a ArrayOfDoublesSketch
heapifySketch(MemorySegment, SummaryDeserializer) - Static method in class org.apache.datasketches.tuple.TupleSketch
Instantiate a TupleSketch from a given MemorySegment.
heapifySummary(MemorySegment) - Method in class org.apache.datasketches.tuple.adouble.DoubleSummaryDeserializer
 
heapifySummary(MemorySegment) - Method in class org.apache.datasketches.tuple.aninteger.IntegerSummaryDeserializer
 
heapifySummary(MemorySegment) - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSummaryDeserializer
 
heapifySummary(MemorySegment) - Method in interface org.apache.datasketches.tuple.SummaryDeserializer
This is to create an instance of a Summary given a serialized representation.
heapifyUnion(MemorySegment) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Heapify the given MemorySegment as an ArrayOfDoublesUnion
heapifyUnion(MemorySegment, long) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Heapify the given MemorySegment and seed as an ArrayOfDoublesUnion
heapifyUpdatableSketch(MemorySegment) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Heapify the given MemorySegment as an ArrayOfDoublesUpdatableSketch
heapifyUpdatableSketch(MemorySegment, long) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Heapify the given MemorySegment and seed as a ArrayOfDoublesUpdatableSketch
heapifyUpdatableSketch(MemorySegment, SummaryDeserializer, SummaryFactory) - Static method in class org.apache.datasketches.tuple.TupleSketch
Instantiate an UpdatableTupleSketch from a given MemorySegment on the heap,
HIP / Martingale Estimator - Section in package org.apache.datasketches.hll
 
HLL - Enum constant in enum class org.apache.datasketches.common.Family
The HLL family of sketches.
HLL_4 - Enum constant in enum class org.apache.datasketches.hll.TgtHllType
An HLL sketch with a bin size of 4 bits
HLL_6 - Enum constant in enum class org.apache.datasketches.hll.TgtHllType
An HLL sketch with a bin size of 6 bits
HLL_8 - Enum constant in enum class org.apache.datasketches.hll.TgtHllType
An HLL Sketch with a bin size of 8 bits
HLL 4 - Section in package org.apache.datasketches.hll
 
HLL 6 - Section in package org.apache.datasketches.hll
 
HLL 8 - Section in package org.apache.datasketches.hll
 
HllSketch - Class in org.apache.datasketches.hll
The HllSketch is actually a collection of compact implementations of Phillipe Flajolet’s HyperLogLog (HLL) sketch but with significantly improved error behavior and excellent speed performance.
HllSketch() - Constructor for class org.apache.datasketches.hll.HllSketch
Constructs a new on-heap sketch with the default lgConfigK and tgtHllType.
HllSketch(int) - Constructor for class org.apache.datasketches.hll.HllSketch
Constructs a new on-heap sketch with the default tgtHllType.
HllSketch(int, TgtHllType) - Constructor for class org.apache.datasketches.hll.HllSketch
Constructs a new on-heap sketch with the type of HLL sketch to configure.
HllSketch(int, TgtHllType, MemorySegment) - Constructor for class org.apache.datasketches.hll.HllSketch
Constructs a new sketch with the type of HLL sketch to configure and the given MemorySegment as the destination for the sketch.
HllUnion - Class in org.apache.datasketches.hll
This performs union operations for all HllSketches.
HllUnion() - Constructor for class org.apache.datasketches.hll.HllUnion
Construct this HllUnion operator with the default maximum log-base-2 of K.
HllUnion(int) - Constructor for class org.apache.datasketches.hll.HllUnion
Construct this HllUnion operator with a given maximum log-base-2 of K.
HllUnion(int, MemorySegment) - Constructor for class org.apache.datasketches.hll.HllUnion
Construct this HllUnion operator with a given maximum log-base-2 of K and the given MemorySegment as the destination for this HllUnion.

I

idToFamily(int) - Static method in enum class org.apache.datasketches.common.Family
Returns the Family given the ID
INCLUDE_BOTH - Enum constant in enum class org.apache.datasketches.partitions.BoundsRule
Include both the upper and lower bounds
INCLUDE_LOWER - Enum constant in enum class org.apache.datasketches.partitions.BoundsRule
Include only the lower bound but not the upper bound
INCLUDE_NEITHER - Enum constant in enum class org.apache.datasketches.partitions.BoundsRule
Include none
INCLUDE_UPPER - Enum constant in enum class org.apache.datasketches.partitions.BoundsRule
Include only the upper bound but not the lower bound
includeDoublesMinMax(double[], long[], double, double) - Static method in class org.apache.datasketches.quantilescommon.IncludeMinMax
The logic to include the min and max of type double.
includeFloatsMinMax(float[], long[], float, float) - Static method in class org.apache.datasketches.quantilescommon.IncludeMinMax
The logic to include the min and max of type float.
includeItemsMinMax(T[], long[], T, T, Comparator) - Static method in class org.apache.datasketches.quantilescommon.IncludeMinMax
The logic to include the min and max of type T.
includeLongsMinMax(long[], long[], long, long) - Static method in class org.apache.datasketches.quantilescommon.IncludeMinMax
The logic to include the min and max of type double.
IncludeMinMax - Class in org.apache.datasketches.quantilescommon
This class reinserts the min and max values into the sorted view arrays as required.
IncludeMinMax() - Constructor for class org.apache.datasketches.quantilescommon.IncludeMinMax
No argument constructor.
IncludeMinMax.DoublesPair - Class in org.apache.datasketches.quantilescommon
A simple structure to hold a pair of arrays
IncludeMinMax.FloatsPair - Class in org.apache.datasketches.quantilescommon
A simple structure to hold a pair of arrays
IncludeMinMax.ItemsPair<T> - Class in org.apache.datasketches.quantilescommon
A simple structure to hold a pair of arrays
IncludeMinMax.LongsPair - Class in org.apache.datasketches.quantilescommon
A simple structure to hold a pair of arrays
INCLUSIVE - Enum constant in enum class org.apache.datasketches.quantilescommon.QuantileSearchCriteria
Definition of INCLUSIVE getQuantile(r) search:
Given rank r, return the quantile of the smallest rank that is strictly greater than or equal to r.
incrementPosition(long) - Method in interface org.apache.datasketches.common.positional.Positional
Increments the current position by the given increment.
InequalitySearch - Enum Class in org.apache.datasketches.quantilescommon
This provides efficient, unique and unambiguous binary searching for inequality comparison criteria for ordered arrays of values that may include duplicate values.
init(String, int, double, double, double, double, double) - Method in class org.apache.datasketches.fdt.Group
Specifies the parameters to be listed as columns
initialize(QuantilesItemsSketch) - Static method in class org.apache.datasketches.quantiles.QuantilesItemsUnion
Initialize a new QuantilesItemsUnion with an instance of QuantilesItemsSketch
initializeByAccuracy(long, double, long, MemorySegment) - Static method in class org.apache.datasketches.filters.bloomfilter.BloomFilterBuilder
Creates a new BloomFilter with an optimal number of bits and hash functions for the given inputs, using the provided base seed for the hash function and writing into the provided MemorySegment.
initializeByAccuracy(long, double, MemorySegment) - Static method in class org.apache.datasketches.filters.bloomfilter.BloomFilterBuilder
Creates a new BloomFilter with an optimal number of bits and hash functions for the given inputs, using a random base seed for the hash function and writing into the provided MemorySegment.
initializeBySize(long, int, long, MemorySegment) - Static method in class org.apache.datasketches.filters.bloomfilter.BloomFilterBuilder
Initializes a BloomFilter with given number of bits and number of hash functions, using the provided base seed for the hash function and writing into the provided MemorySegment.
initializeBySize(long, int, MemorySegment) - Static method in class org.apache.datasketches.filters.bloomfilter.BloomFilterBuilder
Initializes a BloomFilter with given number of bits and number of hash functions, using a random base seed for the hash function and writing into the provided MemorySegment.
initializeWithMemorySegment(Class, MemorySegment, Comparator, ArrayOfItemsSerDe) - Static method in class org.apache.datasketches.quantiles.QuantilesItemsUnion
Initialize a new QuantilesItemsUnion with a heapified instance of an QuantilesItemsSketch from a MemorySegment.
InsertedCountIncremented - Enum constant in enum class org.apache.datasketches.theta.UpdateReturnState
The hash was accepted into the sketch and the retained count was incremented.
InsertedCountIncrementedRebuilt - Enum constant in enum class org.apache.datasketches.theta.UpdateReturnState
The hash was accepted into the sketch, the retained count was incremented.
InsertedCountIncrementedResized - Enum constant in enum class org.apache.datasketches.theta.UpdateReturnState
The hash was accepted into the sketch, the retained count was incremented.
InsertedCountNotIncremented - Enum constant in enum class org.apache.datasketches.theta.UpdateReturnState
The hash was accepted into the sketch and the retained count was not incremented.
IntegerSummary - Class in org.apache.datasketches.tuple.aninteger
Summary for generic tuple sketches of type Integer.
IntegerSummary(IntegerSummary.Mode) - Constructor for class org.apache.datasketches.tuple.aninteger.IntegerSummary
Creates an instance of IntegerSummary with a given mode.
IntegerSummary.Mode - Enum Class in org.apache.datasketches.tuple.aninteger
The aggregation modes for this Summary
IntegerSummaryDeserializer - Class in org.apache.datasketches.tuple.aninteger
Implements SummaryDeserializer<IntegerSummary>
IntegerSummaryDeserializer() - Constructor for class org.apache.datasketches.tuple.aninteger.IntegerSummaryDeserializer
No argument constructor.
IntegerSummaryFactory - Class in org.apache.datasketches.tuple.aninteger
Factory for IntegerSummary.
IntegerSummaryFactory(IntegerSummary.Mode) - Constructor for class org.apache.datasketches.tuple.aninteger.IntegerSummaryFactory
Creates an instance of IntegerSummaryFactory with a given mode
IntegerSummarySetOperations - Class in org.apache.datasketches.tuple.aninteger
Methods for defining how unions and intersections of two objects of type IntegerSummary are performed.
IntegerSummarySetOperations(IntegerSummary.Mode, IntegerSummary.Mode) - Constructor for class org.apache.datasketches.tuple.aninteger.IntegerSummarySetOperations
Creates a new instance with two modes
IntegerTupleSketch - Class in org.apache.datasketches.tuple.aninteger
Extends UpdatableTupleSketch<Integer, IntegerSummary>
IntegerTupleSketch(int, int, float, IntegerSummary.Mode) - Constructor for class org.apache.datasketches.tuple.aninteger.IntegerTupleSketch
Creates this sketch with the following parameters:
IntegerTupleSketch(int, IntegerSummary.Mode) - Constructor for class org.apache.datasketches.tuple.aninteger.IntegerTupleSketch
Constructs this sketch with given lgK.
IntegerTupleSketch(MemorySegment, IntegerSummary.Mode) - Constructor for class org.apache.datasketches.tuple.aninteger.IntegerTupleSketch
Deprecated.
As of 3.0.0, heapifying an UpdatableTupleSketch is deprecated. This capability will be removed in a future release. Heapifying a CompactTupleSketch is not deprecated.
intersect(BloomFilter) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Intersects two BloomFilters by applying a logical AND.
intersect(ThetaSketch) - Method in class org.apache.datasketches.theta.ThetaIntersection
Intersect the given sketch with the internal state.
intersect(ThetaSketch, ThetaSketch) - Method in class org.apache.datasketches.theta.ThetaIntersection
Perform intersect set operation on the two given sketch arguments and return the result as an ordered CompactThetaSketch on the heap.
intersect(ThetaSketch, ThetaSketch, boolean, MemorySegment) - Method in class org.apache.datasketches.theta.ThetaIntersection
Perform intersect set operation on the two given sketches and return the result as a CompactThetaSketch.
intersect(ThetaSketch, S) - Method in class org.apache.datasketches.tuple.TupleIntersection
Performs a stateful intersection of the internal set with the given ThetaSketch by combining entries using the hashes from the ThetaSketch and summary values from the given summary and rules from the summarySetOps defined by the TupleIntersection constructor.
intersect(ArrayOfDoublesSketch, ArrayOfDoublesCombiner) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesIntersection
Performs a stateful intersection of the internal set with the given TupleSketch.
intersect(TupleSketch) - Method in class org.apache.datasketches.tuple.TupleIntersection
Performs a stateful intersection of the internal set with the given TupleSketch.
intersect(TupleSketch, ThetaSketch, S) - Method in class org.apache.datasketches.tuple.TupleIntersection
Perform a stateless intersect set operation on a TupleSketch and a ThetaSketch and returns the result as an unordered CompactTupleSketch on the heap.
intersect(TupleSketch, TupleSketch) - Method in class org.apache.datasketches.tuple.TupleIntersection
Perform a stateless intersect set operation on the two given TupleSketches and returns the result as an unordered CompactTupleSketch on the heap.
intersection(DoubleSummary, DoubleSummary) - Method in class org.apache.datasketches.tuple.adouble.DoubleSummarySetOperations
 
intersection(IntegerSummary, IntegerSummary) - Method in class org.apache.datasketches.tuple.aninteger.IntegerSummarySetOperations
 
intersection(ArrayOfStringsSummary, ArrayOfStringsSummary) - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSummarySetOperations
 
intersection(S, S) - Method in interface org.apache.datasketches.tuple.SummarySetOperations
This is called by the intersection operator when both sketches have the same hash value.
INTERSECTION - Enum constant in enum class org.apache.datasketches.common.Family
The Intersection family is an operation for the Theta Sketch Framework of sketches.
intToBytes(int, byte[]) - Static method in class org.apache.datasketches.common.Util
Returns a Little-Endian byte array extracted from the given int.
INVERSE_GOLDEN - Static variable in class org.apache.datasketches.common.Util
The inverse golden ratio as a fraction.
INVERSE_GOLDEN_U64 - Static variable in class org.apache.datasketches.common.Util
The inverse golden ratio as an unsigned long.
invert() - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Inverts all the bits of the BloomFilter.
invPow2(int) - Static method in class org.apache.datasketches.common.Util
Computes the inverse integer power of 2: 1/(2^e) = 2^(-e).
isCompact() - Method in class org.apache.datasketches.hll.HllSketch
 
isCompact() - Method in class org.apache.datasketches.hll.HllUnion
 
isCompact() - Method in class org.apache.datasketches.theta.CompactThetaSketch
 
isCompact() - Method in class org.apache.datasketches.theta.ThetaSketch
Returns true if this sketch is in compact form.
isCompact() - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
 
isCompactMemorySegmentFormat() - Method in class org.apache.datasketches.kll.KllSketch
Returns true if this sketch is in a Compact MemorySegment Format.
isCompatible(BloomFilter) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Helps identify if two BloomFilters may be unioned or intersected.
isEmpty() - Method in class org.apache.datasketches.count.CountMinSketch
Checks if the CountMinSketch has processed any items.
isEmpty() - Method in class org.apache.datasketches.cpc.CpcSketch
Return true if this sketch is empty
isEmpty() - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Checks if the BloomFilter has processed any items
isEmpty() - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Returns true if this sketch is empty
isEmpty() - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns true if this sketch is empty
isEmpty() - Method in class org.apache.datasketches.hll.HllSketch
 
isEmpty() - Method in class org.apache.datasketches.hll.HllUnion
 
isEmpty() - Method in class org.apache.datasketches.kll.KllSketch
 
isEmpty() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
isEmpty() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Returns true if this union is empty
isEmpty() - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
isEmpty() - Method in class org.apache.datasketches.quantiles.QuantilesItemsUnion
Returns true if this union is empty
isEmpty() - Method in class org.apache.datasketches.quantilescommon.DoublesSketchSortedView
 
isEmpty() - Method in class org.apache.datasketches.quantilescommon.FloatsSketchSortedView
 
isEmpty() - Method in class org.apache.datasketches.quantilescommon.ItemsSketchSortedView
 
isEmpty() - Method in class org.apache.datasketches.quantilescommon.LongsSketchSortedView
 
isEmpty() - Method in interface org.apache.datasketches.quantilescommon.QuantilesAPI
Returns true if this sketch is empty.
isEmpty() - Method in interface org.apache.datasketches.quantilescommon.SortedView
Returns true if this sorted view is empty.
isEmpty() - Method in class org.apache.datasketches.req.ReqSketch
 
isEmpty() - Method in class org.apache.datasketches.sampling.EbppsItemsSketch
Returns true if the sketch is empty.
isEmpty() - Method in class org.apache.datasketches.tdigest.TDigestDouble
Returns true if TDigest has not seen any data
isEmpty() - Method in class org.apache.datasketches.theta.ThetaSketch
isEmpty() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
isEmpty() - Method in class org.apache.datasketches.tuple.TupleSketch
isEstimationMode() - Method in class org.apache.datasketches.hll.HllSketch
This HLL family of sketches and operators is always estimating, even for very small values.
isEstimationMode() - Method in class org.apache.datasketches.hll.HllUnion
This HLL family of sketches and operators is always estimating, even for very small values.
isEstimationMode() - Method in class org.apache.datasketches.kll.KllSketch
 
isEstimationMode() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
isEstimationMode() - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
isEstimationMode() - Method in interface org.apache.datasketches.quantilescommon.QuantilesAPI
Returns true if this sketch is in estimation mode.
isEstimationMode() - Method in class org.apache.datasketches.req.ReqSketch
 
isEstimationMode() - Method in class org.apache.datasketches.theta.ThetaSketch
Returns true if the sketch is Estimation Mode (as opposed to Exact Mode).
isEstimationMode() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Returns true if the sketch is Estimation Mode (as opposed to Exact Mode).
isEstimationMode() - Method in class org.apache.datasketches.tuple.TupleSketch
Returns true if the sketch is Estimation Mode (as opposed to Exact Mode).
isEven(long) - Static method in class org.apache.datasketches.common.Util
Returns true if given n is even.
isLessThanUnsigned(long, long) - Static method in class org.apache.datasketches.common.Util
Unsigned compare with longs.
isMemorySegmentUpdatableFormat() - Method in class org.apache.datasketches.kll.KllSketch
Returns true if the backing MemorySegment is in updatable format.
isMultipleOf8AndGT0(long) - Static method in class org.apache.datasketches.common.Util
Returns true if v is a multiple of 8 and greater than zero
isOdd(long) - Static method in class org.apache.datasketches.common.Util
Returns true if given n is odd.
isOffHeap() - Method in interface org.apache.datasketches.common.MemorySegmentStatus
Returns true if this object's internal data is backed by an off-heap (direct or native)) MemorySegment.
isOffHeap() - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
 
isOffHeap() - Method in class org.apache.datasketches.filters.bloomfilter.DirectBitArrayR
 
isOffHeap() - Method in class org.apache.datasketches.hll.HllSketch
 
isOffHeap() - Method in class org.apache.datasketches.hll.HllUnion
 
isOffHeap() - Method in class org.apache.datasketches.kll.KllSketch
 
isOffHeap() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
isOffHeap() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
 
isOffHeap() - Method in class org.apache.datasketches.theta.CompactThetaSketch
 
isOffHeap() - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
 
isOrdered() - Method in class org.apache.datasketches.theta.ThetaSketch
Returns true if internal cache is ordered
isOrdered() - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
 
isPowerOf2(long) - Static method in class org.apache.datasketches.common.Util
Returns true if given long argument is exactly a positive power of 2.
isReadOnly() - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Returns whether the filter is in read-only mode.
isReadOnly() - Method in class org.apache.datasketches.filters.bloomfilter.DirectBitArrayR
 
isReadOnly() - Method in class org.apache.datasketches.kll.KllSketch
 
isReadOnly() - Method in class org.apache.datasketches.quantiles.CompactQuantilesDoublesSketch
 
isReadOnly() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
isReadOnly() - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
isReadOnly() - Method in interface org.apache.datasketches.quantilescommon.QuantilesAPI
Returns true if this sketch is read only.
isReadOnly() - Method in class org.apache.datasketches.req.ReqSketch
 
isSameResource(MemorySegment) - Method in interface org.apache.datasketches.common.MemorySegmentStatus
Returns true if an internally referenced MemorySegment has the same backing resource as that, or equivalently, if their two memory regions overlap.
isSameResource(MemorySegment) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
 
isSameResource(MemorySegment) - Method in class org.apache.datasketches.filters.bloomfilter.DirectBitArrayR
 
isSameResource(MemorySegment) - Method in class org.apache.datasketches.hll.HllSketch
 
isSameResource(MemorySegment) - Method in class org.apache.datasketches.hll.HllUnion
 
isSameResource(MemorySegment) - Method in class org.apache.datasketches.kll.KllSketch
 
isSameResource(MemorySegment) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
isSameResource(MemorySegment) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
 
isSameResource(MemorySegment) - Method in class org.apache.datasketches.theta.CompactThetaSketch
 
isSameResource(MemorySegment) - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
 
isSameResource(MemorySegment, MemorySegment) - Static method in interface org.apache.datasketches.common.MemorySegmentStatus
Returns true if the two given MemorySegments have to the same backing resource, or equivalently, if the two memory regions overlap.
items() - Method in class org.apache.datasketches.sampling.VarOptItemsSamples
Returns a shallow copy of the array of sample items contained in the sketch.
items(int) - Method in class org.apache.datasketches.sampling.VarOptItemsSamples
Returns a single item from the samples contained in the sketch.
ItemsPair(T[], long[]) - Constructor for class org.apache.datasketches.quantilescommon.IncludeMinMax.ItemsPair
Constructor.
ItemsSketchSortedView<T> - Class in org.apache.datasketches.quantilescommon
The SortedView for the KllItemsSketch and the classic QuantilesItemsSketch.
ItemsSketchSortedView(T[], long[], QuantilesGenericAPI) - Constructor for class org.apache.datasketches.quantilescommon.ItemsSketchSortedView
Constructor.
iterator() - Method in class org.apache.datasketches.kll.KllDoublesSketch
 
iterator() - Method in class org.apache.datasketches.kll.KllFloatsSketch
 
iterator() - Method in class org.apache.datasketches.kll.KllItemsSketch
 
iterator() - Method in class org.apache.datasketches.kll.KllLongsSketch
 
iterator() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
iterator() - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
iterator() - Method in class org.apache.datasketches.quantilescommon.DoublesSketchSortedView
 
iterator() - Method in interface org.apache.datasketches.quantilescommon.DoublesSortedView
 
iterator() - Method in class org.apache.datasketches.quantilescommon.FloatsSketchSortedView
 
iterator() - Method in interface org.apache.datasketches.quantilescommon.FloatsSortedView
 
iterator() - Method in interface org.apache.datasketches.quantilescommon.GenericSortedView
 
iterator() - Method in class org.apache.datasketches.quantilescommon.ItemsSketchSortedView
 
iterator() - Method in class org.apache.datasketches.quantilescommon.LongsSketchSortedView
 
iterator() - Method in interface org.apache.datasketches.quantilescommon.LongsSortedView
 
iterator() - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
Gets the iterator for this sketch, which is not sorted.
iterator() - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
Gets the iterator for this sketch, which is not sorted.
iterator() - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
Gets the iterator for this sketch, which is not sorted.
iterator() - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
Gets the iterator for this sketch, which is not sorted.
iterator() - Method in interface org.apache.datasketches.quantilescommon.SortedView
Returns an iterator for this Sorted View.
iterator() - Method in class org.apache.datasketches.req.ReqSketch
 
iterator() - Method in class org.apache.datasketches.sampling.VarOptItemsSamples
 
iterator() - Method in class org.apache.datasketches.theta.ThetaSketch
Returns a HashIterator that can be used to iterate over the retained hash values of the Theta sketch.
iterator() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Returns an iterator over the sketch
iterator() - Method in class org.apache.datasketches.tuple.CompactTupleSketch
 
iterator() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
 
iterator() - Method in class org.apache.datasketches.tuple.adouble.DoubleTupleSketch
 
iterator() - Method in class org.apache.datasketches.fdt.FdtSketch
 
iterator() - Method in class org.apache.datasketches.tuple.aninteger.IntegerTupleSketch
 
iterator() - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
 
iterator() - Method in class org.apache.datasketches.tuple.TupleSketch
Returns a SketchIterator

J

jaccard(ThetaSketch, ThetaSketch) - Static method in class org.apache.datasketches.theta.JaccardSimilarity
Computes the Jaccard similarity index with upper and lower bounds.
jaccard(TupleSketch, ThetaSketch, S, SummarySetOperations) - Static method in class org.apache.datasketches.tuple.JaccardSimilarity
Computes the Jaccard similarity index with upper and lower bounds.
jaccard(TupleSketch, TupleSketch, SummarySetOperations) - Static method in class org.apache.datasketches.tuple.JaccardSimilarity
Computes the Jaccard similarity index with upper and lower bounds.
JaccardSimilarity - Class in org.apache.datasketches.theta
Jaccard similarity of two ThetaSketches.
JaccardSimilarity - Class in org.apache.datasketches.tuple
Jaccard similarity of two TupleSketches, or alternatively, of a TupleSketch and a ThetaSketch.
JaccardSimilarity() - Constructor for class org.apache.datasketches.tuple.JaccardSimilarity
No argument constructor.
JAVA_CHAR_UNALIGNED_BIG_ENDIAN - Static variable in class org.apache.datasketches.common.SpecialValueLayouts
The static final for ByteOrder.BIG_ENDIAN char.
JAVA_CHAR_UNALIGNED_NON_NATIVE - Static variable in class org.apache.datasketches.common.SpecialValueLayouts
The static final for NON ByteOrder.nativeOrder() char.
JAVA_DOUBLE_UNALIGNED_BIG_ENDIAN - Static variable in class org.apache.datasketches.common.SpecialValueLayouts
The static final for ByteOrder.BIG_ENDIAN double.
JAVA_DOUBLE_UNALIGNED_NON_NATIVE - Static variable in class org.apache.datasketches.common.SpecialValueLayouts
The static final for NON ByteOrder.nativeOrder() double.
JAVA_FLOAT_UNALIGNED_BIG_ENDIAN - Static variable in class org.apache.datasketches.common.SpecialValueLayouts
The static final for ByteOrder.BIG_ENDIAN float.
JAVA_FLOAT_UNALIGNED_NON_NATIVE - Static variable in class org.apache.datasketches.common.SpecialValueLayouts
The static final for NON ByteOrder.nativeOrder() float.
JAVA_INT_UNALIGNED_BIG_ENDIAN - Static variable in class org.apache.datasketches.common.SpecialValueLayouts
The static final for ByteOrder.BIG_ENDIAN int.
JAVA_INT_UNALIGNED_NON_NATIVE - Static variable in class org.apache.datasketches.common.SpecialValueLayouts
The static final for NON ByteOrder.nativeOrder() int.
JAVA_LONG_UNALIGNED_BIG_ENDIAN - Static variable in class org.apache.datasketches.common.SpecialValueLayouts
The static final for ByteOrder.BIG_ENDIAN long.
JAVA_LONG_UNALIGNED_NON_NATIVE - Static variable in class org.apache.datasketches.common.SpecialValueLayouts
The static final for NON ByteOrder.nativeOrder() long.
JAVA_SHORT_UNALIGNED_BIG_ENDIAN - Static variable in class org.apache.datasketches.common.SpecialValueLayouts
The static final for ByteOrder.BIG_ENDIAN short.
JAVA_SHORT_UNALIGNED_NON_NATIVE - Static variable in class org.apache.datasketches.common.SpecialValueLayouts
The static final for NON ByteOrder.nativeOrder() short.
justification() - Element in annotation interface org.apache.datasketches.common.SuppressFBWarnings
Optional explanation for the suppression.

K

Key Features of the DataSketchesâ„¢ HllSketch and its companion HllUnion - Section in package org.apache.datasketches.hll
 
KLL - Enum constant in enum class org.apache.datasketches.common.Family
KLL quantiles sketch
KLL_DOUBLES_SKETCH - Enum constant in enum class org.apache.datasketches.kll.KllSketch.SketchType
KllDoublesSketch
KLL_FLOATS_SKETCH - Enum constant in enum class org.apache.datasketches.kll.KllSketch.SketchType
KllFloatsSketch
KLL_ITEMS_SKETCH - Enum constant in enum class org.apache.datasketches.kll.KllSketch.SketchType
KllItemsSketch
KLL_LONGS_SKETCH - Enum constant in enum class org.apache.datasketches.kll.KllSketch.SketchType
KllDoublesSketch
KllDoublesSketch - Class in org.apache.datasketches.kll
This variation of the KllSketch implements primitive doubles.
KllDoublesSketchIterator - Class in org.apache.datasketches.kll
Iterator over KllDoublesSketch.
KllFloatsSketch - Class in org.apache.datasketches.kll
This variation of the KllSketch implements primitive floats.
KllFloatsSketchIterator - Class in org.apache.datasketches.kll
Iterator over KllFloatsSketch.
KllItemsSketch<T> - Class in org.apache.datasketches.kll
This variation of the KllSketch implements generic data types.
KllItemsSketchIterator<T> - Class in org.apache.datasketches.kll
Iterator over KllItemsSketch.
KllLongsSketch - Class in org.apache.datasketches.kll
This variation of the KllSketch implements primitive longs.
KllLongsSketchIterator - Class in org.apache.datasketches.kll
Iterator over KllLongsSketch.
KllSketch - Class in org.apache.datasketches.kll
This class is the root of the KLL sketch class hierarchy.
KllSketch.SketchStructure - Enum Class in org.apache.datasketches.kll
Used primarily to define the structure of the serialized sketch.
KllSketch.SketchType - Enum Class in org.apache.datasketches.kll
Used to define the variable type of the current instance of this class.
KllSketchIterator - Class in org.apache.datasketches.kll
The base implementation for the KLL sketch iterator hierarchy used for viewing the non-ordered quantiles retained by a sketch.
KolmogorovSmirnov - Class in org.apache.datasketches.quantilescommon
Kolmogorov-Smirnov Test See Kolmogorov–Smirnov Test
KolmogorovSmirnov() - Constructor for class org.apache.datasketches.quantilescommon.KolmogorovSmirnov
No argument constructor.
kolmogorovSmirnovTest(QuantilesAPI, QuantilesAPI, double) - Static method in class org.apache.datasketches.quantilescommon.KolmogorovSmirnov
Performs the Kolmogorov-Smirnov Test between two QuantilesAPI sketches.

L

le(Object, Object, Comparator) - Static method in class org.apache.datasketches.common.Util
Is item1 Less-Than-Or-Equal-To item2?
LE - Enum constant in enum class org.apache.datasketches.quantilescommon.GenericInequalitySearch.Inequality
Given a sorted array of increasing values arr[] and a key value V, this criterion instructs the binary search algorithm to find the highest adjacent pair of values {A,B} such that A ≤ V < B.
Let low = index of the lowest value in the range.
Let high = index of the highest value in the range.
LE - Enum constant in enum class org.apache.datasketches.quantilescommon.InequalitySearch
Given a sorted array of increasing values arr[] and a key value V, this criterion instructs the binary search algorithm to find the highest adjacent pair of values {A,B} such that A ≤ V < B.
Let low = index of the lowest value in the range.
Let high = index of the highest value in the range.
levelPartId - Variable in class org.apache.datasketches.partitions.Partitioner.PartitionBoundsRow
A brief string description of the partition and its hierarchy
levelPartId - Variable in class org.apache.datasketches.partitions.Partitioner.StackElement
A brief string description of the partition and its hierarchy
lg() - Method in enum class org.apache.datasketches.common.ResizeFactor
Returns the Log-base 2 of the Resize Factor
log2(double) - Static method in class org.apache.datasketches.common.Util
The log2(value)
LOG2 - Static variable in class org.apache.datasketches.common.Util
The natural logarithm of 2.0.
logBaseOfX(double, double) - Static method in class org.apache.datasketches.common.Util
Returns the logbase(x).
LONG_MAX_VALUE_AS_DOUBLE - Static variable in class org.apache.datasketches.common.Util
Long.MAX_VALUE as a double.
LongsPair(long[], long[]) - Constructor for class org.apache.datasketches.quantilescommon.IncludeMinMax.LongsPair
Constructor.
LongsSketchSortedView - Class in org.apache.datasketches.quantilescommon
The SortedView of the KllLongsSketch.
LongsSketchSortedView(long[], long[], QuantilesLongsAPI) - Constructor for class org.apache.datasketches.quantilescommon.LongsSketchSortedView
Construct from elements, also used in testing.
LongsSortedView - Interface in org.apache.datasketches.quantilescommon
The Sorted View for quantile sketches of primitive type long.
LongsSortedViewIterator - Class in org.apache.datasketches.quantilescommon
Iterator over quantile sketches of primitive type long.
LongsSortedViewIterator(long[], long[]) - Constructor for class org.apache.datasketches.quantilescommon.LongsSortedViewIterator
Constructor.
longToBytes(long, byte[]) - Static method in class org.apache.datasketches.common.Util
Returns a Little-Endian byte array extracted from the given long.
longToFixedLengthString(long, int) - Static method in class org.apache.datasketches.common.Util
Converts the given number to a string prepended with spaces, if necessary, to match the given length.
longToHexBytes(long) - Static method in class org.apache.datasketches.common.Util
Returns a string of spaced hex bytes in Big-Endian order.
lowerBound - Variable in class org.apache.datasketches.partitions.Partitioner.PartitionBoundsRow
The lower bound value
LS - Static variable in class org.apache.datasketches.common.Util
The java line separator character as a String.
lt(Object, Object, Comparator) - Static method in class org.apache.datasketches.common.Util
Is item1 Less-Than item2?
LT - Enum constant in enum class org.apache.datasketches.quantilescommon.GenericInequalitySearch.Inequality
Given a sorted array of increasing values arr[] and a key value v, this criterion instructs the binary search algorithm to find the highest adjacent pair of values {A,B} such that A < v ≤ B.
Let low = index of the lowest value in the range.
Let high = index of the highest value in the range.
LT - Enum constant in enum class org.apache.datasketches.quantilescommon.InequalitySearch
Given a sorted array of increasing values arr[] and a key value v, this criterion instructs the binary search algorithm to find the highest adjacent pair of values {A,B} such that A < v ≤ B.
Let low = index of the lowest value in the range.
Let high = index of the highest value in the range.

M

Max - Enum constant in enum class org.apache.datasketches.tuple.adouble.DoubleSummary.Mode
The aggregation mode is the maximum function.
Max - Enum constant in enum class org.apache.datasketches.tuple.aninteger.IntegerSummary.Mode
The aggregation mode is the maximum function.
MAX_K - Static variable in class org.apache.datasketches.kll.KllSketch
The maximum K
MAX_LG_NOM_LONGS - Static variable in class org.apache.datasketches.thetacommon.ThetaUtil
The largest Log2 nom entries allowed: 26.
MAX_SIZE_BITS - Static variable in class org.apache.datasketches.filters.bloomfilter.BloomFilter
The maximum size of a bloom filter in bits.
maxT(Object, Object, Comparator) - Static method in class org.apache.datasketches.common.Util
Finds the maximum of two generic items
MEM_REQ_SVR_NULL_MSG - Static variable in interface org.apache.datasketches.quantilescommon.QuantilesAPI
MemoryRequestServer must not be null.
MemorySegmentRequest - Interface in org.apache.datasketches.common
This is a callback interface to provide a means to request a new MemorySegment of a specified size.
MemorySegmentRequest.Default - Class in org.apache.datasketches.common
A convenience class that implements a default implementation.
MemorySegmentRequestExample - Class in org.apache.datasketches.common
This is an example of a possible implementation of the MemorySegmentRequest interface where all requested segments are allocated off-heap.
MemorySegmentRequestExample() - Constructor for class org.apache.datasketches.common.MemorySegmentRequestExample
No argument constructor.
MemorySegmentStatus - Interface in org.apache.datasketches.common
Methods for inquiring the status of a backing MemorySegment.
merge(CountMinSketch) - Method in class org.apache.datasketches.count.CountMinSketch
Merges another CountMinSketch into this one.
merge(FrequentItemsSketch) - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch
This function merges the other sketch into this one.
merge(FrequentLongsSketch) - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
This function merges the other sketch into this one.
merge(KllSketch) - Method in class org.apache.datasketches.kll.KllDoublesSketch
 
merge(KllSketch) - Method in class org.apache.datasketches.kll.KllFloatsSketch
 
merge(KllSketch) - Method in class org.apache.datasketches.kll.KllItemsSketch
 
merge(KllSketch) - Method in class org.apache.datasketches.kll.KllLongsSketch
 
merge(KllSketch) - Method in class org.apache.datasketches.kll.KllSketch
Merges another sketch into this one.
merge(ReqSketch) - Method in class org.apache.datasketches.req.ReqSketch
 
merge(EbppsItemsSketch) - Method in class org.apache.datasketches.sampling.EbppsItemsSketch
Merges the provided sketch into the current one.
merge(TDigestDouble) - Method in class org.apache.datasketches.tdigest.TDigestDouble
Merge the given TDigest into this one
Merging sketches with different configured lgConfigK - Section in package org.apache.datasketches.hll
 
MergingValidation - Class in org.apache.datasketches.cpc
This code is used both by unit tests, for short running tests, and by the characterization repository for longer running, more exhaustive testing.
MergingValidation(int, int, int, int, int, PrintStream, PrintWriter) - Constructor for class org.apache.datasketches.cpc.MergingValidation
Constructor
milliSecToString(long) - Static method in class org.apache.datasketches.common.Util
Returns the given time in milliseconds formatted as Hours:Min:Sec.mSec
Min - Enum constant in enum class org.apache.datasketches.tuple.adouble.DoubleSummary.Mode
The aggregation mode is the minimum function.
Min - Enum constant in enum class org.apache.datasketches.tuple.aninteger.IntegerSummary.Mode
The aggregation mode is the minimum function.
MIN_LG_ARR_LONGS - Static variable in class org.apache.datasketches.thetacommon.ThetaUtil
The smallest Log2 cache size allowed: 5.
MIN_LG_NOM_LONGS - Static variable in class org.apache.datasketches.thetacommon.ThetaUtil
The smallest Log2 nom entries allowed: 4.
minLgHashTableSize(int, double) - Static method in class org.apache.datasketches.thetacommon.HashOperations
Returns the smallest log hash table size given the count of items and the rebuild threshold.
minT(Object, Object, Comparator) - Static method in class org.apache.datasketches.common.Util
Finds the minimum of two generic items
Multi-language, multi-platform. - Section in package org.apache.datasketches.hll
 
MurmurHash3 - Class in org.apache.datasketches.hash
The MurmurHash3 is a fast, non-cryptographic, 128-bit hash function that has excellent avalanche and 2-way bit independence properties.
MurmurHash3FFM - Class in org.apache.datasketches.hash
The MurmurHash3 is a fast, non-cryptographic, 128-bit hash function that has excellent avalanche and 2-way bit independence properties.

N

nanoSecToString(long) - Static method in class org.apache.datasketches.common.Util
Returns the given time in nanoseconds formatted as Sec.mSec_uSec_nSec
newDirectInstance(int, MemorySegment, MemorySegmentRequest) - Static method in class org.apache.datasketches.kll.KllDoublesSketch
Create a new direct updatable instance of this sketch with a given k.
newDirectInstance(int, MemorySegment, MemorySegmentRequest) - Static method in class org.apache.datasketches.kll.KllFloatsSketch
Create a new direct updatable instance of this sketch with a given k.
newDirectInstance(int, MemorySegment, MemorySegmentRequest) - Static method in class org.apache.datasketches.kll.KllLongsSketch
Create a new direct updatable instance of this sketch with a given k.
newDirectInstance(MemorySegment) - Static method in class org.apache.datasketches.kll.KllDoublesSketch
Create a new direct updatable instance of this sketch with the default k.
newDirectInstance(MemorySegment) - Static method in class org.apache.datasketches.kll.KllFloatsSketch
Create a new direct updatable instance of this sketch with the default k.
newDirectInstance(MemorySegment) - Static method in class org.apache.datasketches.kll.KllLongsSketch
Create a new direct updatable instance of this sketch with the default k.
newHeapInstance() - Static method in class org.apache.datasketches.kll.KllDoublesSketch
Create a new heap instance of this sketch with the default k = 200.
newHeapInstance() - Static method in class org.apache.datasketches.kll.KllFloatsSketch
Create a new heap instance of this sketch with the default k = 200.
newHeapInstance() - Static method in class org.apache.datasketches.kll.KllLongsSketch
Create a new heap instance of this sketch with the default k = 200.
newHeapInstance(int) - Static method in class org.apache.datasketches.kll.KllDoublesSketch
Create a new heap instance of this sketch with a given parameter k.
newHeapInstance(int) - Static method in class org.apache.datasketches.kll.KllFloatsSketch
Create a new heap instance of this sketch with a given parameter k.
newHeapInstance(int) - Static method in class org.apache.datasketches.kll.KllLongsSketch
Create a new heap instance of this sketch with a given parameter k.
newHeapInstance(int, Comparator, ArrayOfItemsSerDe) - Static method in class org.apache.datasketches.kll.KllItemsSketch
Create a new heap instance of this sketch with a given parameter k.
newHeapInstance(Comparator, ArrayOfItemsSerDe) - Static method in class org.apache.datasketches.kll.KllItemsSketch
Create a new heap instance of this sketch with the default k = 200.
newInstance(int) - Static method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Construct a mergeable sampling sketch with up to k samples using the default resize factor (8).
newInstance(int) - Static method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Creates an empty Union with a maximum reservoir capacity of size k.
newInstance(int) - Static method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Construct a mergeable reservoir sampling sketch with up to k samples using the default resize factor (8).
newInstance(int) - Static method in class org.apache.datasketches.sampling.ReservoirLongsUnion
Creates an empty Union with a maximum reservoir capacity of size k.
newInstance(int) - Static method in class org.apache.datasketches.sampling.VarOptItemsSketch
Construct a varopt sampling sketch with up to k samples using the default resize factor (8).
newInstance(int) - Static method in class org.apache.datasketches.sampling.VarOptItemsUnion
Creates an empty Union with a maximum capacity of size k.
newInstance(int, ResizeFactor) - Static method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Construct a mergeable sampling sketch with up to k samples using a specified resize factor.
newInstance(int, ResizeFactor) - Static method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Construct a mergeable reservoir sampling sketch with up to k samples using the default resize factor (8).
newInstance(int, ResizeFactor) - Static method in class org.apache.datasketches.sampling.VarOptItemsSketch
Construct a varopt sampling sketch with up to k samples using the specified resize factor.
newSummary() - Method in class org.apache.datasketches.tuple.adouble.DoubleSummaryFactory
 
newSummary() - Method in class org.apache.datasketches.tuple.aninteger.IntegerSummaryFactory
 
newSummary() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSummaryFactory
 
newSummary() - Method in interface org.apache.datasketches.tuple.SummaryFactory
Returns new instance of Summary
newSummaryArray(S[], int) - Static method in class org.apache.datasketches.tuple.Util
Creates a new Summary Array with the specified length
next() - Method in class org.apache.datasketches.kll.KllSketchIterator
 
next() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketchIterator
 
next() - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketchIterator
 
next() - Method in interface org.apache.datasketches.quantilescommon.QuantilesSketchIteratorAPI
Advances the index and checks if it is valid.
next() - Method in class org.apache.datasketches.quantilescommon.SortedViewIterator
Advances the index and checks if it is valid.
next() - Method in class org.apache.datasketches.req.ReqSketchIterator
 
next() - Method in class org.apache.datasketches.sampling.VarOptItemsSamples.VarOptItemsIterator
 
next() - Method in interface org.apache.datasketches.theta.HashIterator
Returns true at the next hash value in sequence.
next() - Method in interface org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketchIterator
Advancing the iterator and checking existence of the next entry is combined here for efficiency.
next() - Method in class org.apache.datasketches.tuple.TupleSketchIterator
Advancing the iterator and checking existence of the next entry is combined here for efficiency.
NO_FALSE_NEGATIVES - Enum constant in enum class org.apache.datasketches.frequencies.ErrorType
No Type II error samples will be excluded from the sample set, which means all Truly Positive samples will be included in the sample set.
NO_FALSE_POSITIVES - Enum constant in enum class org.apache.datasketches.frequencies.ErrorType
No Type I error samples will be included in the sample set, which means all Truly Negative samples will be excluded from the sample set.
NON_NATIVE_BYTE_ORDER - Static variable in class org.apache.datasketches.common.SpecialValueLayouts
The static final for NON ByteOrder.nativeOrder().
normalCDF(double) - Static method in class org.apache.datasketches.common.BoundsOnBinomialProportions
Computes an approximation to normalCDF(x).
NOT_SINGLE_ITEM_MSG - Static variable in interface org.apache.datasketches.quantilescommon.QuantilesAPI
Sketch does not have just one item.
notB(ThetaSketch) - Method in class org.apache.datasketches.theta.ThetaAnotB
This is part of a multistep, stateful ThetaAnotB operation and sets the given ThetaSketch as the second (or n+1th) argument B of A-AND-NOT-B.
notB(ThetaSketch) - Method in class org.apache.datasketches.tuple.TupleAnotB
This is part of a multistep, stateful TupleAnotB operation and sets the given ThetaSketch as the second (or n+1th) argument B of A-AND-NOT-B.
notB(TupleSketch) - Method in class org.apache.datasketches.tuple.TupleAnotB
This is part of a multistep, stateful TupleAnotB operation and sets the given TupleSketch as the second (or n+1th) argument B of A-AND-NOT-B.
numberOfLeadingOnes(long) - Static method in class org.apache.datasketches.common.Util
Returns the number of one bits preceding the highest-order ("leftmost") zero-bit in the two's complement binary representation of the specified long value, or 64 if the value is equal to minus one.
numberOfTrailingOnes(long) - Static method in class org.apache.datasketches.common.Util
Returns the number of one bits following the lowest-order ("rightmost") zero-bit in the two's complement binary representation of the specified long value, or 64 if the value is equal to minus one.
numDigits(long) - Static method in class org.apache.datasketches.common.Util
Computes the number of decimal digits of the number n

O

Off-Heap Operation - Section in package org.apache.datasketches.hll
 
org.apache.datasketches - package org.apache.datasketches
This package is the parent package for all sketch families and common code areas.
org.apache.datasketches.common - package org.apache.datasketches.common
This package is for common classes that may be used across all the sketch families.
org.apache.datasketches.common.positional - package org.apache.datasketches.common.positional
This package provides the classes that define and implement a relative positional API.
org.apache.datasketches.count - package org.apache.datasketches.count
This package in intended for implementations of the the Count Sketch and the Count-min Sketch both of which can be used to estimate frequency-moments of a stream of distinct elements.
org.apache.datasketches.cpc - package org.apache.datasketches.cpc
Compressed Probabilistic Counting sketch family
org.apache.datasketches.fdt - package org.apache.datasketches.fdt
Frequent Distinct Tuples Sketch
org.apache.datasketches.filters - package org.apache.datasketches.filters
The filters package contains data structures used to determine approximate set-membership.
org.apache.datasketches.filters.bloomfilter - package org.apache.datasketches.filters.bloomfilter
BloomFilter package
org.apache.datasketches.frequencies - package org.apache.datasketches.frequencies
This package contains the implementations of the paper https://arxiv.org/abs/1705.07001.
org.apache.datasketches.hash - package org.apache.datasketches.hash
The hash package contains a high-performing and extended Java implementations of Austin Appleby's 128-bit MurmurHash3 hash function originally coded in C.
org.apache.datasketches.hll - package org.apache.datasketches.hll
The DataSketches™ HllSketch family package
org.apache.datasketches.hllmap - package org.apache.datasketches.hllmap
The hllmap package contains a space efficient HLL mapping sketch of keys to approximate unique count of identifiers.
org.apache.datasketches.kll - package org.apache.datasketches.kll
This package is for the implementations of the sketch algorithm developed by Zohar Karnin, Kevin Lang, and Edo Liberty that is commonly referred to as the "KLL" sketch after the authors' last names.
org.apache.datasketches.partitions - package org.apache.datasketches.partitions
This package is for classes that simplify the task of partitioning large data into many approximately equal-sized partitions.
org.apache.datasketches.quantiles - package org.apache.datasketches.quantiles
The quantiles package contains stochastic streaming algorithms that enable single-pass analysis of the distribution of a stream of quantiles.
org.apache.datasketches.quantilescommon - package org.apache.datasketches.quantilescommon
This package contains common tools and methods for the quantiles, kll and req packages.
org.apache.datasketches.req - package org.apache.datasketches.req
This package is for the implementation of the Relative Error Quantiles sketch algorithm.
org.apache.datasketches.sampling - package org.apache.datasketches.sampling
This package is dedicated to streaming algorithms that enable fixed size, uniform sampling of weighted and unweighted items from a stream.
org.apache.datasketches.tdigest - package org.apache.datasketches.tdigest
t-Digest for estimating quantiles and ranks.
org.apache.datasketches.theta - package org.apache.datasketches.theta
The theta package contains the basic sketch classes that are members of the Theta-Sketch Framework.
org.apache.datasketches.thetacommon - package org.apache.datasketches.thetacommon
This package contains common tools and methods for the theta, tuple, tuple/* and fdt packages.
org.apache.datasketches.tuple - package org.apache.datasketches.tuple
The tuple package contains a number of sketches based on the same fundamental algorithms of the Theta Sketch Framework and extend these concepts for whole new families of sketches.
org.apache.datasketches.tuple.adouble - package org.apache.datasketches.tuple.adouble
This package is for a generic implementation of the Tuple sketch for single Double value.
org.apache.datasketches.tuple.aninteger - package org.apache.datasketches.tuple.aninteger
This package is for a generic implementation of the Tuple sketch for single Integer value.
org.apache.datasketches.tuple.arrayofdoubles - package org.apache.datasketches.tuple.arrayofdoubles
This package is for a concrete implementation of the Tuple sketch for an array of double values.
org.apache.datasketches.tuple.strings - package org.apache.datasketches.tuple.strings
This package is for a generic implementation of the Tuple sketch for single String value.
Overview - Section in Overview
 

P

part - Variable in class org.apache.datasketches.partitions.Partitioner.PartitionBoundsRow
The partition index
part - Variable in class org.apache.datasketches.partitions.Partitioner.StackElement
The partition index
partition(S) - Method in class org.apache.datasketches.partitions.Partitioner
This initiates the partitioning process
PartitionBoundsRow(Partitioner.StackElement) - Constructor for class org.apache.datasketches.partitions.Partitioner.PartitionBoundsRow
The constructor for the StackElement class.
Partitioner<T,S> - Class in org.apache.datasketches.partitions
A partitioning process that can partition very large data sets into thousands of partitions of approximately the same size.
Partitioner(long, int, SketchFillRequest) - Constructor for class org.apache.datasketches.partitions.Partitioner
This constructor assumes a QuantileSearchCriteria of INCLUSIVE.
Partitioner(long, int, SketchFillRequest, QuantileSearchCriteria) - Constructor for class org.apache.datasketches.partitions.Partitioner
This constructor includes the QuantileSearchCriteria criteria as a parameter.
Partitioner.PartitionBoundsRow<T> - Class in org.apache.datasketches.partitions
Defines a row for List of PartitionBounds.
Partitioner.StackElement<T> - Class in org.apache.datasketches.partitions
Holds data for a Stack element
PartitioningFeature<T> - Interface in org.apache.datasketches.quantilescommon
This enables the special functions for performing efficient partitioning of massive data.
Positional - Interface in org.apache.datasketches.common.positional
Defines the relative positional API.
PositionalSegment - Interface in org.apache.datasketches.common.positional
Defines the API for relative positional access to a MemorySegment.
PositionInvariantsException - Exception Class in org.apache.datasketches.common.positional
Position operation violation.
PositionInvariantsException(String) - Constructor for exception class org.apache.datasketches.common.positional.PositionInvariantsException
The associated position operation violated one of the positional invariants.
PostProcessor - Class in org.apache.datasketches.fdt
This processes the contents of a FDT sketch to extract the primary keys with the most frequent unique combinations of the non-primary dimensions.
PostProcessor(FdtSketch, Group, char) - Constructor for class org.apache.datasketches.fdt.PostProcessor
Construct with a populated FdtSketch
powerSeriesNextDouble(int, double, boolean, double) - Static method in class org.apache.datasketches.common.Util
Computes the next larger double in the power series point = logBase( i / ppb ) given the current point in the series.
putDoubleBE(byte[], int, double) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Put the source double into the destination byte array starting at the given offset in big endian order.
putDoubleLE(byte[], int, double) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Put the source double into the destination byte array starting at the given offset in little endian order.
putFloatBE(byte[], int, float) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Put the source float into the destination byte array starting at the given offset in big endian order.
putFloatLE(byte[], int, float) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Put the source float into the destination byte array starting at the given offset in little endian order.
putIntBE(byte[], int, int) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Put the source int into the destination byte array starting at the given offset in big endian order.
putIntLE(byte[], int, int) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Put the source int into the destination byte array starting at the given offset in little endian order.
putIntoMemorySegment(MemorySegment) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Puts the current sketch into the given MemorySegment in compact form if there is sufficient space, otherwise, it throws an error.
putIntoMemorySegment(MemorySegment, boolean) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Puts the current sketch into the given MemorySegment if there is sufficient space, otherwise, throws an error.
putIntoMemorySegment(MemorySegment, ArrayOfItemsSerDe) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
Puts the current sketch into the given MemorySegment if there is sufficient space.
putLongBE(byte[], int, long) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Put the source long into the destination byte array starting at the given offset in big endian order.
putLongLE(byte[], int, long) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Put the source long into the destination byte array starting at the given offset in little endian order.
putShortBE(byte[], int, short) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Put the source short into the destination byte array starting at the given offset in big endian order.
putShortLE(byte[], int, short) - Static method in class org.apache.datasketches.common.ByteArrayUtil
Put the source short into the destination byte array starting at the given offset in little endian order.
pwr2SeriesNext(int, long) - Static method in class org.apache.datasketches.common.Util
Computes the next larger integer point in the power series point = 2( i / ppo ) given the current point in the series.
pwr2SeriesPrev(int, int) - Static method in class org.apache.datasketches.common.Util
Computes the previous, smaller integer point in the power series point = 2( i / ppo ) given the current point in the series.

Q

quantiles - Variable in class org.apache.datasketches.quantilescommon.IncludeMinMax.DoublesPair
the array of quantiles
quantiles - Variable in class org.apache.datasketches.quantilescommon.IncludeMinMax.FloatsPair
The array of quantiles
quantiles - Variable in class org.apache.datasketches.quantilescommon.IncludeMinMax.ItemsPair
The array of quantiles
quantiles - Variable in class org.apache.datasketches.quantilescommon.IncludeMinMax.LongsPair
the array of quantiles
QUANTILES - Enum constant in enum class org.apache.datasketches.common.Family
The Quantiles family of sketches.
QuantilesAPI - Interface in org.apache.datasketches.quantilescommon
This is a stochastic streaming sketch that enables near-real time analysis of the approximate distribution of items from a very large stream in a single pass, requiring only that the items are comparable.
QuantilesDoublesAPI - Interface in org.apache.datasketches.quantilescommon
The Quantiles API for item type double.
QuantilesDoublesSketch - Class in org.apache.datasketches.quantiles
This is an implementation of the Low Discrepancy Mergeable Quantiles Sketch, using doubles, described in section 3.2 of the journal version of the paper "Mergeable Summaries" by Agarwal, Cormode, Huang, Phillips, Wei, and Yi:
QuantilesDoublesSketchBuilder - Class in org.apache.datasketches.quantiles
For building a new quantiles QuantilesDoublesSketch.
QuantilesDoublesSketchBuilder() - Constructor for class org.apache.datasketches.quantiles.QuantilesDoublesSketchBuilder
Constructor for a new QuantilesDoublesSketchBuilder.
QuantilesDoublesSketchIterator - Class in org.apache.datasketches.quantiles
Iterator over QuantilesDoublesSketch.
QuantilesDoublesSketchIteratorAPI - Interface in org.apache.datasketches.quantilescommon
The quantiles sketch iterator for primitive type double.
QuantilesDoublesUnion - Class in org.apache.datasketches.quantiles
The API for Union operations for QuantilesDoublesSketches
QuantilesDoublesUnion() - Constructor for class org.apache.datasketches.quantiles.QuantilesDoublesUnion
No argument constructor.
QuantilesDoublesUnionBuilder - Class in org.apache.datasketches.quantiles
For building a new QuantilesDoublesSketch Union operation.
QuantilesDoublesUnionBuilder() - Constructor for class org.apache.datasketches.quantiles.QuantilesDoublesUnionBuilder
Constructor for a new QuantilesDoublesUnionBuilder.
QuantileSearchCriteria - Enum Class in org.apache.datasketches.quantilescommon
These search criteria are used by the KLL, REQ and Classic Quantiles sketches in the DataSketches library.
QuantilesFloatsAPI - Interface in org.apache.datasketches.quantilescommon
The Quantiles API for item type float.
QuantilesFloatsSketchIterator - Interface in org.apache.datasketches.quantilescommon
The quantiles sketch iterator for primitive type float.
QuantilesGenericAPI<T> - Interface in org.apache.datasketches.quantilescommon
The Quantiles API for item type generic.
QuantilesGenericSketchIteratorAPI<T> - Interface in org.apache.datasketches.quantilescommon
The quantiles sketch iterator for generic types.
QuantilesItemsSketch<T> - Class in org.apache.datasketches.quantiles
This is an implementation of the Low Discrepancy Mergeable Quantiles Sketch, using generic items, described in section 3.2 of the journal version of the paper "Mergeable Summaries" by Agarwal, Cormode, Huang, Phillips, Wei, and Yi:
QuantilesItemsSketchIterator<T> - Class in org.apache.datasketches.quantiles
Iterator over QuantilesItemsSketch.
QuantilesItemsUnion<T> - Class in org.apache.datasketches.quantiles
The API for Union operations for generic QuantilesItemsSketches
QuantilesLongsAPI - Interface in org.apache.datasketches.quantilescommon
The Quantiles API for item type long.
QuantilesLongsSketchIterator - Interface in org.apache.datasketches.quantilescommon
The quantiles sketch iterator for primitive type long.
QuantilesSketchIteratorAPI - Interface in org.apache.datasketches.quantilescommon
This is the base API for the iterator hierarchy used for viewing the non-ordered quantiles retained by the classic Quantiles* sketches and KLL sketches, for example.
QuantilesUtil - Class in org.apache.datasketches.quantilescommon
Utilities for the quantiles sketches.
query(byte[]) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Queries the filter with the provided byte[] and returns whether the array might have been seen previously.
query(char[]) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Queries the filter with the provided char[] and returns whether the array might have been seen previously.
query(double) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Queries the filter with the provided double and returns whether the value might have been seen previously.
query(int[]) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Queries the filter with the provided int[] and returns whether the array might have been seen previously.
query(long) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Queries the filter with the provided long and returns whether the value might have been seen previously.
query(long[]) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Queries the filter with the provided long[] and returns whether the array might have been seen previously.
query(short[]) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Queries the filter with the provided short[] and returns whether the array might have been seen previously.
query(MemorySegment) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Queries the filter with the provided MemorySegment and returns whether the data might have been seen previously.
query(String) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Queries the filter with the provided double and returns whether the value might have been seen previously.
queryAndUpdate(byte[]) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the provided byte[] and returns the result from querying that array prior to the update.
queryAndUpdate(char[]) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the provided char[] and returns the result from querying that array prior to the update.
queryAndUpdate(double) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the provided double and returns the result from querying that value prior to the update.
queryAndUpdate(int[]) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the provided int[] and returns the result from querying that array prior to the update.
queryAndUpdate(long) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the provided long and returns the result from querying that value prior to the update.
queryAndUpdate(long[]) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the provided long[] and returns the result from querying that array prior to the update.
queryAndUpdate(short[]) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the provided short[] and returns the result from querying that array prior to the update.
queryAndUpdate(MemorySegment) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the provided MemorySegment and returns the result from querying that MemorySegment prior to the update.
queryAndUpdate(String) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the provided String and returns the result from querying that value prior to the update.
QuickMergingValidation - Class in org.apache.datasketches.cpc
This code is used both by unit tests, for short running tests, and by the characterization repository for longer running, more exhaustive testing.
QuickMergingValidation(int, int, int, PrintStream, PrintWriter) - Constructor for class org.apache.datasketches.cpc.QuickMergingValidation
Constructor
QuickSelect - Class in org.apache.datasketches.common
QuickSelect algorithm improved from Sedgewick.
QUICKSELECT - Enum constant in enum class org.apache.datasketches.common.Family
The QuickSelect Sketch family is a member of the Theta Sketch Framework of sketches and is the workhorse of the Theta Sketch Families and can be constructed for either on-heap or off-heap operation.
QuickSelectSketch - Enum constant in enum class org.apache.datasketches.tuple.SerializerDeserializer.SketchType
QuickSelectSketch

R

rand - Static variable in class org.apache.datasketches.quantiles.QuantilesItemsSketch
Setting the seed makes the results of the sketch deterministic if the input items are received in exactly the same order.
rebuild() - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
Rebuilds the hash table to remove dirty values or to reduce the size to nominal entries.
REBUILD_THRESHOLD - Static variable in class org.apache.datasketches.thetacommon.ThetaUtil
The hash table rebuild threshold = 15.0/16.0.
RejectedDuplicate - Enum constant in enum class org.apache.datasketches.theta.UpdateReturnState
The hash was rejected as a duplicate.
RejectedNullOrEmpty - Enum constant in enum class org.apache.datasketches.theta.UpdateReturnState
The hash was rejected because it was null or empty.
RejectedOverTheta - Enum constant in enum class org.apache.datasketches.theta.UpdateReturnState
The hash was rejected because the value was negative, zero or greater than theta.
REQ - Enum constant in enum class org.apache.datasketches.common.Family
Relative Error Quantiles Sketch
ReqDebug - Interface in org.apache.datasketches.req
The signaling interface that allows comprehensive analysis of the ReqSketch and ReqCompactor while eliminating code clutter in the main classes.
ReqSketch - Class in org.apache.datasketches.req
This Relative Error Quantiles Sketch is the Java implementation based on the paper "Relative Error Streaming Quantiles" by Graham Cormode, Zohar Karnin, Edo Liberty, Justin Thaler, Pavel Veselý, and loosely derived from a Python prototype written by Pavel Veselý.
ReqSketchBuilder - Class in org.apache.datasketches.req
For building a new ReqSketch
ReqSketchBuilder() - Constructor for class org.apache.datasketches.req.ReqSketchBuilder
Constructor for the ReqSketchBuilder.
ReqSketchIterator - Class in org.apache.datasketches.req
Iterator over all retained items of the ReqSketch.
request(long) - Method in interface org.apache.datasketches.common.MemorySegmentRequest
Request a new heap MemorySegment with the given newByteSize.
request(long) - Method in class org.apache.datasketches.common.MemorySegmentRequestExample
Request a new off-heap MemorySegment with the given newByteSeze.
requestClose(MemorySegment) - Method in interface org.apache.datasketches.common.MemorySegmentRequest
Request to close the given MemorySegment.
requestClose(MemorySegment) - Method in class org.apache.datasketches.common.MemorySegmentRequestExample
 
RESERVOIR - Enum constant in enum class org.apache.datasketches.common.Family
The Reservoir family of sketches.
RESERVOIR_UNION - Enum constant in enum class org.apache.datasketches.common.Family
The reservoir sampling family of Union operations.
ReservoirItemsSketch<T> - Class in org.apache.datasketches.sampling
This sketch provides a reservoir sample over an input stream of items.
ReservoirItemsUnion<T> - Class in org.apache.datasketches.sampling
Class to union reservoir samples of generic items.
ReservoirLongsSketch - Class in org.apache.datasketches.sampling
This sketch provides a reservoir sample over an input stream of longs.
ReservoirLongsUnion - Class in org.apache.datasketches.sampling
Class to union reservoir samples of longs.
reset() - Method in class org.apache.datasketches.cpc.CpcSketch
Resets this sketch to empty but retains the original LgK and Seed.
reset() - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Resets the BloomFilter to an empty state
reset() - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Resets this sketch to a virgin state.
reset() - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Resets this sketch to a virgin state.
reset() - Method in class org.apache.datasketches.hll.HllSketch
 
reset() - Method in class org.apache.datasketches.hll.HllUnion
Resets to empty and retains the current lgK, but does not change the configured value of lgMaxK.
reset() - Method in class org.apache.datasketches.kll.KllDoublesSketch
Resets this sketch to the empty state.
reset() - Method in class org.apache.datasketches.kll.KllFloatsSketch
Resets this sketch to the empty state.
reset() - Method in class org.apache.datasketches.kll.KllItemsSketch
 
reset() - Method in class org.apache.datasketches.kll.KllLongsSketch
Resets this sketch to the empty state.
reset() - Method in class org.apache.datasketches.quantiles.CompactQuantilesDoublesSketch
 
reset() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
reset() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Resets this Union to a virgin state.
reset() - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
reset() - Method in class org.apache.datasketches.quantiles.QuantilesItemsUnion
Resets this Union to a virgin state.
reset() - Method in interface org.apache.datasketches.quantilescommon.QuantilesAPI
Resets this sketch to the empty state.
reset() - Method in class org.apache.datasketches.req.ReqSketch
 
reset() - Method in class org.apache.datasketches.sampling.EbppsItemsSketch
Resets the sketch to its default, empty state.
reset() - Method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Resets this sketch to the empty state, but retains the original value of k.
reset() - Method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Resets this sketch to the empty state, but retains the original value of k.
reset() - Method in class org.apache.datasketches.sampling.VarOptItemsSketch
Resets this sketch to the empty state, but retains the original value of k.
reset() - Method in class org.apache.datasketches.sampling.VarOptItemsUnion
Resets this sketch to the empty state, but retains the original value of max k.
reset() - Method in class org.apache.datasketches.theta.ThetaIntersection
Resets this ThetaIntersection for stateful operations only.
reset() - Method in class org.apache.datasketches.theta.ThetaUnion
Resets this ThetaUnion.
reset() - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
Resets this sketch back to a virgin empty state.
reset() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesIntersection
Resets the internal set to the initial state, which represents the Universal Set
reset() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUnion
Resets the union to an empty state
reset() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Resets this sketch an empty state.
reset() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
Resets this sketch an empty state.
reset() - Method in class org.apache.datasketches.tuple.adouble.DoubleTupleSketch
Resets this sketch an empty state.
reset() - Method in class org.apache.datasketches.fdt.FdtSketch
Resets this sketch an empty state.
reset() - Method in class org.apache.datasketches.tuple.aninteger.IntegerTupleSketch
Resets this sketch an empty state.
reset() - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
Resets this sketch an empty state.
reset() - Method in class org.apache.datasketches.tuple.TupleAnotB
Resets this operation back to the empty state.
reset() - Method in class org.apache.datasketches.tuple.TupleIntersection
Resets the internal set to the initial state, which represents the Universal Set
reset() - Method in class org.apache.datasketches.tuple.TupleUnion
Resets the internal set to the initial state, which represents an empty set.
reset() - Method in class org.apache.datasketches.tuple.UpdatableTupleSketchBuilder
Resets the Nominal Entries, Resize Factor and Sampling Probability to their default values.
resetPosition() - Method in interface org.apache.datasketches.common.positional.Positional
Resets the current position to the start position, This does not modify any data.
RESIZE_THRESHOLD - Static variable in class org.apache.datasketches.thetacommon.ThetaUtil
The resize threshold = 0.5; tuned for speed.
ResizeFactor - Enum Class in org.apache.datasketches.common
For the Families that accept this configuration parameter, it controls the size multiple that affects how fast the internal cache grows, when more space is required.
reverse(double[], int) - Static method in class org.apache.datasketches.tdigest.Sort
Reverse the first n elements of the given array.
reverse(long[], int) - Static method in class org.apache.datasketches.tdigest.Sort
Reverse the first n elements of the given array.
rule - Variable in class org.apache.datasketches.partitions.Partitioner.PartitionBoundsRow
The BoundsRule for this partition description row.

S

SampleSubsetSummary - Class in org.apache.datasketches.sampling
A simple object o capture the results of a subset sum query on a sampling sketch.
select(double[], int, int, int) - Static method in class org.apache.datasketches.common.QuickSelect
Gets the 0-based kth order statistic from the array.
select(long[], int, int, int) - Static method in class org.apache.datasketches.common.QuickSelect
Gets the 0-based kth order statistic from the array.
selectExcludingZeros(double[], int, int) - Static method in class org.apache.datasketches.common.QuickSelect
Gets the 1-based kth order statistic from the array excluding any zero values in the array.
selectExcludingZeros(long[], int, int) - Static method in class org.apache.datasketches.common.QuickSelect
Gets the 1-based kth order statistic from the array excluding any zero values in the array.
selectIncludingZeros(double[], int) - Static method in class org.apache.datasketches.common.QuickSelect
Gets the 1-based kth order statistic from the array including any zero values in the array.
selectIncludingZeros(long[], int) - Static method in class org.apache.datasketches.common.QuickSelect
Gets the 1-based kth order statistic from the array including any zero values in the array.
SELF_MERGE_MSG - Static variable in interface org.apache.datasketches.quantilescommon.QuantilesAPI
A sketch cannot merge with itself.
SerializerDeserializer - Class in org.apache.datasketches.tuple
Multipurpose serializer-deserializer for a collection of sketches defined by the enum.
SerializerDeserializer() - Constructor for class org.apache.datasketches.tuple.SerializerDeserializer
No argument constructor.
SerializerDeserializer.SketchType - Enum Class in org.apache.datasketches.tuple
Defines the sketch classes that this SerializerDeserializer can handle.
serializeToByteArray(Boolean) - Method in class org.apache.datasketches.common.ArrayOfBooleansSerDe
 
serializeToByteArray(Boolean[]) - Method in class org.apache.datasketches.common.ArrayOfBooleansSerDe
 
serializeToByteArray(Double) - Method in class org.apache.datasketches.common.ArrayOfDoublesSerDe
 
serializeToByteArray(Double[]) - Method in class org.apache.datasketches.common.ArrayOfDoublesSerDe
 
serializeToByteArray(Long) - Method in class org.apache.datasketches.common.ArrayOfLongsSerDe
 
serializeToByteArray(Long[]) - Method in class org.apache.datasketches.common.ArrayOfLongsSerDe
 
serializeToByteArray(Number) - Method in class org.apache.datasketches.common.ArrayOfNumbersSerDe
 
serializeToByteArray(Number[]) - Method in class org.apache.datasketches.common.ArrayOfNumbersSerDe
 
serializeToByteArray(String) - Method in class org.apache.datasketches.common.ArrayOfStringsSerDe
 
serializeToByteArray(String) - Method in class org.apache.datasketches.common.ArrayOfUtf16StringsSerDe
 
serializeToByteArray(String[]) - Method in class org.apache.datasketches.common.ArrayOfStringsSerDe
 
serializeToByteArray(String[]) - Method in class org.apache.datasketches.common.ArrayOfUtf16StringsSerDe
 
serializeToByteArray(T) - Method in class org.apache.datasketches.common.ArrayOfItemsSerDe
Serialize a single unserialized item to a byte array.
serializeToByteArray(T[]) - Method in class org.apache.datasketches.common.ArrayOfItemsSerDe
Serialize an array of unserialized items to a byte array of contiguous serialized items.
serializeToString() - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns a String representation of this sketch
setA(ThetaSketch) - Method in class org.apache.datasketches.theta.ThetaAnotB
This is part of a multistep, stateful ThetaAnotB operation and sets the given ThetaSketch as the first argument A of A-AND-NOT-B.
setA(TupleSketch) - Method in class org.apache.datasketches.tuple.TupleAnotB
This is part of a multistep, stateful TupleAnotB operation and sets the given TupleSketch as the first argument A of A-AND-NOT-B.
setBits(MemorySegment, long, byte) - Static method in class org.apache.datasketches.common.Util
Sets the bits defined by the bitMask
setBoolean(boolean) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the boolean value at the current position.
setBoolean(long, boolean) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the boolean value at the given offset.
setByte(byte) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the byte value at the current position.
setByte(long, byte) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the byte value at the given offset.
setByteArray(byte[], int, int) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the byte array at the current position.
setChar(char) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the char value at the current position.
setChar(long, char) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the char value at the given offset.
setCharArray(char[], int, int) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the char array at the current position.
setClass(Class) - Method in class org.apache.datasketches.sampling.VarOptItemsSamples
Specifies the class to use when copying the item array from the sketch.
setConCurLogNominalEntries(int) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Alternative method of setting the local (default) Nominal Entries for a local concurrent sketch from the log_base2 value.
setConCurNominalEntries(int) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Sets the local (default) Concurrent Nominal Entries for the concurrent local sketch.
setDouble(double) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the double value at the current position.
setDouble(long, double) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the double value at the given offset.
setDoubleArray(double[], int, int) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the double array at the current position.
setFamily(Family) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Set the local Family.
setFloat(float) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the float value at the current position.
setFloat(long, float) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the float value at the given offset.
setFloatArray(float[], int, int) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the float array at the current position.
setHighRankAccuracy(boolean) - Method in class org.apache.datasketches.req.ReqSketchBuilder
This sets the parameter highRankAccuracy.
setInt(int) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the int value at the current position.
setInt(long, int) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the int value at the given offset.
setIntArray(int[], int, int) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the int array at the current position.
setK(int) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketchBuilder
Sets the parameter k that determines the accuracy and size of the sketch.
setK(int) - Method in class org.apache.datasketches.req.ReqSketchBuilder
This sets the parameter k.
setLgK(int) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Alternative method of setting the Nominal Entries for this builder from the log_base2 value, commonly called LgK.
setLogNominalEntries(int) - Method in class org.apache.datasketches.theta.ThetaSetOperationBuilder
Alternative method of setting the Nominal Entries for this set operation from the log_base2 value.
setLogNominalEntries(int) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Alternative method of setting the local Nominal Entries for this builder from the log_base2 value.
setLong(long) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the long value at the current position.
setLong(long, long) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the long value at the given offset.
setLongArray(long[], int, int) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the long array at the current position.
setMaxConcurrencyError(double) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Sets the local Maximum Concurrency Error.
setMaxK(int) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnionBuilder
Sets the parameter masK that determines the maximum size of the sketch that results from a union and its accuracy.
setMaxNumLocalThreads(int) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Sets the local Maximum Number of Local Threads.
setMemorySegmentRequest(MemorySegmentRequest) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Sets the local MemorySegmentRequest
setNominalEntries(int) - Method in class org.apache.datasketches.theta.ThetaSetOperationBuilder
Sets the Maximum Nominal Entries (max K) for this set operation.
setNominalEntries(int) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Sets the local Nominal Entries for this builder.
setNominalEntries(int) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSetOperationBuilder
This is to set the nominal number of entries.
setNominalEntries(int) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketchBuilder
This is to set the nominal number of entries.
setNominalEntries(int) - Method in class org.apache.datasketches.tuple.UpdatableTupleSketchBuilder
This is to set the nominal number of entries.
setNumberOfValues(int) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSetOperationBuilder
This is to set the number of double values associated with each key
setNumberOfValues(int) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketchBuilder
This is to set the number of double values associated with each key
setNumPoolThreads(int) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Sets the local number of pool threads used for background propagation in the concurrent sketches.
SetOperationCornerCases - Class in org.apache.datasketches.thetacommon
Simplifies and speeds up set operations by resolving specific corner cases.
SetOperationCornerCases() - Constructor for class org.apache.datasketches.thetacommon.SetOperationCornerCases
No argument constructor.
SetOperationCornerCases.AnotbAction - Enum Class in org.apache.datasketches.thetacommon
A not B actions
SetOperationCornerCases.CornerCase - Enum Class in org.apache.datasketches.thetacommon
List of corner cases
SetOperationCornerCases.IntersectAction - Enum Class in org.apache.datasketches.thetacommon
Intersection actions
SetOperationCornerCases.UnionAction - Enum Class in org.apache.datasketches.thetacommon
List of union actions
setP(float) - Method in class org.apache.datasketches.theta.ThetaSetOperationBuilder
Sets the upfront uniform sampling probability, p.
setP(float) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Sets the local upfront uniform pre-sampling probability, p
setPosition(long) - Method in interface org.apache.datasketches.common.positional.Positional
Sets the current position.
setPropagateOrderedCompact(boolean) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Sets the local Propagate Ordered Compact flag to the given value.
setReqDebug(ReqDebug) - Method in class org.apache.datasketches.req.ReqSketchBuilder
This sets the parameter reqDebug.
setResizeFactor(ResizeFactor) - Method in class org.apache.datasketches.theta.ThetaSetOperationBuilder
Sets the cache Resize Factor
setResizeFactor(ResizeFactor) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Sets the local cache Resize Factor.
setResizeFactor(ResizeFactor) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketchBuilder
This is to set the resize factor.
setResizeFactor(ResizeFactor) - Method in class org.apache.datasketches.tuple.UpdatableTupleSketchBuilder
This is to set the resize factor.
setSamplingProbability(float) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketchBuilder
This is to set sampling probability.
setSamplingProbability(float) - Method in class org.apache.datasketches.tuple.UpdatableTupleSketchBuilder
This is to set sampling probability.
setSeed(long) - Method in class org.apache.datasketches.theta.ThetaSetOperationBuilder
Sets the long seed value that is require by the hashing function.
setSeed(long) - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Sets the local long seed value that is required by the hashing function.
setSeed(long) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSetOperationBuilder
Sets the long seed value that is required by the hashing function.
setSeed(long) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketchBuilder
Sets the long seed value that is required by the hashing function.
setShort(long, short) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the short value at the given offset.
setShort(short) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the short value at the current position.
setShortArray(short[], int, int) - Method in interface org.apache.datasketches.common.positional.PositionalSegment
Sets the short array at the current position.
setStartPositionEnd(long, long, long) - Method in interface org.apache.datasketches.common.positional.Positional
Sets start position, current position, and end position.
similarityTest(ThetaSketch, ThetaSketch, double) - Static method in class org.apache.datasketches.theta.JaccardSimilarity
Tests similarity of a measured ThetaSketch against an expected ThetaSketch.
similarityTest(TupleSketch, ThetaSketch, S, SummarySetOperations, double) - Static method in class org.apache.datasketches.tuple.JaccardSimilarity
Tests similarity of a measured TupleSketch against an expected ThetaSketch.
similarityTest(TupleSketch, TupleSketch, SummarySetOperations, double) - Static method in class org.apache.datasketches.tuple.JaccardSimilarity
Tests similarity of a measured TupleSketch against an expected TupleSketch.
sizeOf(Boolean) - Method in class org.apache.datasketches.common.ArrayOfBooleansSerDe
 
sizeOf(Boolean[]) - Method in class org.apache.datasketches.common.ArrayOfBooleansSerDe
 
sizeOf(Double) - Method in class org.apache.datasketches.common.ArrayOfDoublesSerDe
 
sizeOf(Double[]) - Method in class org.apache.datasketches.common.ArrayOfDoublesSerDe
 
sizeOf(MemorySegment, long, int) - Method in class org.apache.datasketches.common.ArrayOfBooleansSerDe
 
sizeOf(MemorySegment, long, int) - Method in class org.apache.datasketches.common.ArrayOfDoublesSerDe
 
sizeOf(MemorySegment, long, int) - Method in class org.apache.datasketches.common.ArrayOfItemsSerDe
Returns the serialized size in bytes of the number of contiguous serialized items in MemorySegment.
sizeOf(MemorySegment, long, int) - Method in class org.apache.datasketches.common.ArrayOfLongsSerDe
 
sizeOf(MemorySegment, long, int) - Method in class org.apache.datasketches.common.ArrayOfNumbersSerDe
 
sizeOf(MemorySegment, long, int) - Method in class org.apache.datasketches.common.ArrayOfStringsSerDe
 
sizeOf(MemorySegment, long, int) - Method in class org.apache.datasketches.common.ArrayOfUtf16StringsSerDe
 
sizeOf(Long) - Method in class org.apache.datasketches.common.ArrayOfLongsSerDe
 
sizeOf(Long[]) - Method in class org.apache.datasketches.common.ArrayOfLongsSerDe
 
sizeOf(Number) - Method in class org.apache.datasketches.common.ArrayOfNumbersSerDe
 
sizeOf(Number[]) - Method in class org.apache.datasketches.common.ArrayOfNumbersSerDe
 
sizeOf(String) - Method in class org.apache.datasketches.common.ArrayOfStringsSerDe
 
sizeOf(String) - Method in class org.apache.datasketches.common.ArrayOfUtf16StringsSerDe
 
sizeOf(T) - Method in class org.apache.datasketches.common.ArrayOfItemsSerDe
Returns the serialized size in bytes of a single unserialized item.
sizeOf(T[]) - Method in class org.apache.datasketches.common.ArrayOfItemsSerDe
Returns the serialized size in bytes of the array of items.
SKETCH_A - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.AnotbAction
Sketch A Exact
SKETCH_A - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.UnionAction
Sketch A Exactly
SKETCH_B - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.UnionAction
Sketch B Exactly
SketchesArgumentException - Exception Class in org.apache.datasketches.common
Illegal Arguments Exception class for the library
SketchesArgumentException(String) - Constructor for exception class org.apache.datasketches.common.SketchesArgumentException
Constructs a new runtime exception with the specified detail message.
SketchesException - Exception Class in org.apache.datasketches.common
Exception class for the library
SketchesException(String) - Constructor for exception class org.apache.datasketches.common.SketchesException
Constructs a new runtime exception with the specified detail message.
SketchesException(String, Throwable) - Constructor for exception class org.apache.datasketches.common.SketchesException
Constructs a new runtime exception with the specified detail message and cause.
SketchesNotSupportedException - Exception Class in org.apache.datasketches.common
This operation or mode is not supported.
SketchesNotSupportedException(String) - Constructor for exception class org.apache.datasketches.common.SketchesNotSupportedException
Constructs a new runtime exception with the specified detail message.
SketchesReadOnlyException - Exception Class in org.apache.datasketches.common
Write operation attempted on a read-only class.
SketchesReadOnlyException() - Constructor for exception class org.apache.datasketches.common.SketchesReadOnlyException
Constructs a new runtime exception with the message: "Write operation attempted on a read-only class."
SketchesReadOnlyException(String) - Constructor for exception class org.apache.datasketches.common.SketchesReadOnlyException
Constructs a new runtime exception with the specified detail message.
SketchesStateException - Exception Class in org.apache.datasketches.common
Illegal State Exception class for the library
SketchesStateException(String) - Constructor for exception class org.apache.datasketches.common.SketchesStateException
Constructs a new runtime exception with the specified detail message.
SketchFillRequest<T,S> - Interface in org.apache.datasketches.partitions
This is a callback request to the data source to fill a quantiles sketch, which is returned to the caller.
Sketching Core Library - Section in Overview
 
SketchPartitionLimits - Interface in org.apache.datasketches.quantilescommon
This defines the methods required to compute the partition limits.
sketchStateId(boolean, int, long) - Static method in class org.apache.datasketches.thetacommon.SetOperationCornerCases
Returns the sketch state ID
Sort - Class in org.apache.datasketches.tdigest
Specialized sorting algorithm that can sort one array and permute another array the same way.
Sort() - Constructor for class org.apache.datasketches.tdigest.Sort
No argument constructor.
SortedView - Interface in org.apache.datasketches.quantilescommon
This is the base interface for the Sorted View interface hierarchy and defines the methods that are type independent.
SortedViewIterator - Class in org.apache.datasketches.quantilescommon
This is the base interface for the SortedViewIterator hierarchy used with a SortedView obtained from a quantile-type sketch.
SpecialValueLayouts - Class in org.apache.datasketches.common
Value Layouts for Non-native Endianness
stableSort(double[], long[], int) - Static method in class org.apache.datasketches.tdigest.Sort
Stable sort two arrays.
StackElement(GenericPartitionBoundaries, int, String) - Constructor for class org.apache.datasketches.partitions.Partitioner.StackElement
Constructs this StackElement
start() - Method in class org.apache.datasketches.cpc.CompressionCharacterization
Only used in test
start() - Method in class org.apache.datasketches.cpc.MergingValidation
Start the merging validation process
start() - Method in class org.apache.datasketches.cpc.QuickMergingValidation
Start the Quick Merging Validation process
start() - Method in class org.apache.datasketches.cpc.StreamingValidation
Start the streaming validation process
startingSubMultiple(int, int, int) - Static method in class org.apache.datasketches.thetacommon.ThetaUtil
Gets the smallest allowed exponent of 2 that it is a sub-multiple of the target by zero, one or more resize factors.
StreamingValidation - Class in org.apache.datasketches.cpc
This code is used both by unit tests, for short running tests, and by the characterization repository for longer running, more exhaustive testing.
StreamingValidation(int, int, int, int, PrintStream, PrintWriter) - Constructor for class org.apache.datasketches.cpc.StreamingValidation
Constructor
STRIDE_MASK - Static variable in class org.apache.datasketches.thetacommon.HashOperations
The stride mask for the Open Address, Double Hashing (OADH) hash table algorithm.
stringArrHash(String[]) - Static method in class org.apache.datasketches.tuple.Util
Returns the hash of the concatenated strings
stringConcat(String[]) - Static method in class org.apache.datasketches.tuple.Util
Concatenate array of Strings to a single String.
stringHash(String) - Static method in class org.apache.datasketches.tuple.Util
Returns the hash of the given string
stringToByteArray(String) - Static method in class org.apache.datasketches.tuple.Util
Converts a String to a UTF_8 byte array.
stringToFamily(String) - Static method in enum class org.apache.datasketches.common.Family
Returns the Family given the family name
suggestNumBuckets(double) - Static method in class org.apache.datasketches.count.CountMinSketch
Suggests an appropriate number of buckets per hash function for a given relative error.
suggestNumFilterBits(long, double) - Static method in class org.apache.datasketches.filters.bloomfilter.BloomFilterBuilder
Returns the optimal number of bits to use in a Bloom Filter given a target number of distinct items and a target false positive probability.
suggestNumHashes(double) - Static method in class org.apache.datasketches.count.CountMinSketch
Suggests an appropriate number of hash functions to use for a given confidence level.
suggestNumHashes(double) - Static method in class org.apache.datasketches.filters.bloomfilter.BloomFilterBuilder
Returns the optimal number of hash functions to achieve a target false positive probability.
suggestNumHashes(long, long) - Static method in class org.apache.datasketches.filters.bloomfilter.BloomFilterBuilder
Returns the optimal number of hash functions to given target numbers of distinct items and the BloomFilter size in bits.
Sum - Enum constant in enum class org.apache.datasketches.tuple.adouble.DoubleSummary.Mode
The aggregation mode is the summation function.
Sum - Enum constant in enum class org.apache.datasketches.tuple.aninteger.IntegerSummary.Mode
The aggregation mode is the summation function.
Summary - Interface in org.apache.datasketches.tuple
Interface for user-defined Summary, which is associated with every hash in a tuple sketch
SummaryDeserializer<S> - Interface in org.apache.datasketches.tuple
Interface for deserializing user-defined Summary
SummaryFactory<S> - Interface in org.apache.datasketches.tuple
Interface for user-defined SummaryFactory
SummarySetOperations<S> - Interface in org.apache.datasketches.tuple
This is to provide methods of producing unions and intersections of two Summary objects.
SuppressFBWarnings - Annotation Interface in org.apache.datasketches.common
Used to suppress SpotBug warnings.

T

TAB - Static variable in class org.apache.datasketches.common.Util
The tab character
tailRoundingFactor - Static variable in class org.apache.datasketches.quantilescommon.QuantilesUtil
used in search to improve rounding over a wide dynamic range
TDIGEST - Enum constant in enum class org.apache.datasketches.common.Family
t-Digest for estimating quantiles and ranks
TDigestDouble - Class in org.apache.datasketches.tdigest
t-Digest for estimating quantiles and ranks.
TDigestDouble() - Constructor for class org.apache.datasketches.tdigest.TDigestDouble
Constructor with the default K
TDigestDouble(short) - Constructor for class org.apache.datasketches.tdigest.TDigestDouble
Constructor
TestUtil - Class in org.apache.datasketches.cpc
Utility methods for Test
TestUtil() - Constructor for class org.apache.datasketches.cpc.TestUtil
No argument constructor.
TGT_IS_READ_ONLY_MSG - Static variable in interface org.apache.datasketches.quantilescommon.QuantilesAPI
Target sketch is Read Only, cannot write.
TgtHllType - Enum Class in org.apache.datasketches.hll
Specifies the target type of HLL sketch to be created.
The DataSketchesâ„¢ HllSketch family package - Section in package org.apache.datasketches.hll
 
ThetaAnotB - Class in org.apache.datasketches.theta
Computes a set difference, A-AND-NOT-B, of two ThetaSketches.
ThetaIntersection - Class in org.apache.datasketches.theta
The API for intersection operations
ThetaIntersection() - Constructor for class org.apache.datasketches.theta.ThetaIntersection
No argument constructor.
ThetaSetOperation - Class in org.apache.datasketches.theta
The parent API for all Set Operations
ThetaSetOperationBuilder - Class in org.apache.datasketches.theta
For building a new ThetaSetOperation.
ThetaSetOperationBuilder() - Constructor for class org.apache.datasketches.theta.ThetaSetOperationBuilder
Constructor for building a new ThetaSetOperation.
ThetaSketch - Class in org.apache.datasketches.theta
The top-level class for all theta sketches.
ThetaUnion - Class in org.apache.datasketches.theta
Compute the union of two or more theta sketches.
ThetaUnion() - Constructor for class org.apache.datasketches.theta.ThetaUnion
No argument constructor.
ThetaUtil - Class in org.apache.datasketches.thetacommon
Utility methods for the Theta Family of sketches
Three HllSketch Types - Section in package org.apache.datasketches.hll
 
toByteArray() - Method in class org.apache.datasketches.count.CountMinSketch
Returns the sketch as a byte array.
toByteArray() - Method in class org.apache.datasketches.cpc.CpcSketch
Return this sketch as a compressed byte array.
toByteArray() - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Serializes the current BloomFilter to an array of bytes.
toByteArray() - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns a byte array representation of this sketch
toByteArray() - Method in class org.apache.datasketches.kll.KllDoublesSketch
 
toByteArray() - Method in class org.apache.datasketches.kll.KllFloatsSketch
 
toByteArray() - Method in class org.apache.datasketches.kll.KllItemsSketch
Export the current sketch as a compact byte array.
toByteArray() - Method in class org.apache.datasketches.kll.KllLongsSketch
 
toByteArray() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
 
toByteArray() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Serialize this union to a byte array.
toByteArray() - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
Returns a byte array representation of this sketch.
toByteArray() - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
Returns a byte array representation of this sketch.
toByteArray() - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
Returns a byte array representation of this sketch.
toByteArray() - Method in class org.apache.datasketches.req.ReqSketch
 
toByteArray() - Method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Returns a byte array representation of this sketch
toByteArray() - Method in class org.apache.datasketches.sampling.ReservoirLongsUnion
Returns a byte array representation of this union
toByteArray() - Method in class org.apache.datasketches.tdigest.TDigestDouble
Serialize this TDigest to a byte array form.
toByteArray() - Method in class org.apache.datasketches.theta.ThetaIntersection
Serialize this intersection to a byte array form.
toByteArray() - Method in class org.apache.datasketches.theta.ThetaSketch
Serialize this sketch to a byte array form.
toByteArray() - Method in class org.apache.datasketches.theta.ThetaUnion
Returns a byte array image of this ThetaUnion object
toByteArray() - Method in class org.apache.datasketches.tuple.adouble.DoubleSummary
 
toByteArray() - Method in class org.apache.datasketches.tuple.aninteger.IntegerSummary
 
toByteArray() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Returns serialized representation of the sketch
toByteArray() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUnion
Returns a byte array representation of this object
toByteArray() - Method in class org.apache.datasketches.tuple.CompactTupleSketch
 
toByteArray() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
Deprecated.
As of 3.0.0, serializing an UpdatableTupleSketch is deprecated. This capability will be removed in a future release. Serializing a CompactTupleSketch is not deprecated.
toByteArray() - Method in class org.apache.datasketches.tuple.adouble.DoubleTupleSketch
Deprecated.
As of 3.0.0, serializing an UpdatableTupleSketch is deprecated. This capability will be removed in a future release. Serializing a CompactTupleSketch is not deprecated.
toByteArray() - Method in class org.apache.datasketches.fdt.FdtSketch
Deprecated.
As of 3.0.0, serializing an UpdatableTupleSketch is deprecated. This capability will be removed in a future release. Serializing a CompactTupleSketch is not deprecated.
toByteArray() - Method in class org.apache.datasketches.tuple.aninteger.IntegerTupleSketch
Deprecated.
As of 3.0.0, serializing an UpdatableTupleSketch is deprecated. This capability will be removed in a future release. Serializing a CompactTupleSketch is not deprecated.
toByteArray() - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
Deprecated.
As of 3.0.0, serializing an UpdatableTupleSketch is deprecated. This capability will be removed in a future release. Serializing a CompactTupleSketch is not deprecated.
toByteArray() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSummary
 
toByteArray() - Method in interface org.apache.datasketches.tuple.Summary
This is to serialize a Summary instance to a byte array.
toByteArray() - Method in class org.apache.datasketches.tuple.TupleSketch
Serialize this sketch to a byte array.
toByteArray(boolean) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Serialize this sketch in a byte array form.
toByteArray(boolean, ArrayOfItemsSerDe) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
Serialize this sketch to a byte array form.
toByteArray(ArrayOfItemsSerDe) - Method in class org.apache.datasketches.sampling.EbppsItemsSketch
Returns a byte array representation of this sketch.
toByteArray(ArrayOfItemsSerDe) - Method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Returns a byte array representation of this sketch.
toByteArray(ArrayOfItemsSerDe) - Method in class org.apache.datasketches.sampling.VarOptItemsSketch
Returns a byte array representation of this sketch.
toByteArray(ArrayOfItemsSerDe, Class) - Method in class org.apache.datasketches.sampling.EbppsItemsSketch
Returns a byte array representation of this sketch.
toByteArray(ArrayOfItemsSerDe, Class) - Method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Returns a byte array representation of this sketch.
toByteArray(ArrayOfItemsSerDe, Class) - Method in class org.apache.datasketches.sampling.VarOptItemsSketch
Returns a byte array representation of this sketch.
toByteArray(ArrayOfItemsSerDe) - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Returns a byte array representation of this sketch
toByteArray(ArrayOfItemsSerDe) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
Serialize this sketch to a byte array form.
toByteArray(ArrayOfItemsSerDe) - Method in class org.apache.datasketches.quantiles.QuantilesItemsUnion
Serialize this union to a byte array.
toByteArray(ArrayOfItemsSerDe) - Method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Returns a byte array representation of this union
toByteArray(ArrayOfItemsSerDe) - Method in class org.apache.datasketches.sampling.VarOptItemsUnion
Returns a byte array representation of this union
toByteArray(ArrayOfItemsSerDe, Class) - Method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Returns a byte array representation of this union.
toByteArray(ArrayOfItemsSerDe, Class) - Method in class org.apache.datasketches.sampling.VarOptItemsUnion
Returns a byte array representation of this union.
toByteArrayCompressed() - Method in class org.apache.datasketches.theta.CompactThetaSketch
gets the sketch as a compressed byte array
toCompactByteArray() - Method in class org.apache.datasketches.hll.HllSketch
 
toCompactByteArray() - Method in class org.apache.datasketches.hll.HllUnion
Gets the serialization of this HllUnion operator as a byte array in compact form, which is designed to be heapified only.
toLongArray() - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Serializes the current BloomFilter to an array of longs.
toString() - Method in enum class org.apache.datasketches.common.Family
 
toString() - Method in class org.apache.datasketches.cpc.CpcSketch
Return a human-readable string summary of this sketch
toString() - Method in class org.apache.datasketches.fdt.Group
 
toString() - Method in class org.apache.datasketches.filters.bloomfilter.DirectBitArrayR
 
toString() - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
 
toString() - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch.Row
 
toString() - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Returns a human readable summary of this sketch.
toString() - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch.Row
 
toString() - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns a human readable summary of this sketch.
toString() - Method in class org.apache.datasketches.hll.HllSketch
Human readable summary as a string.
toString() - Method in class org.apache.datasketches.hll.HllUnion
Human readable summary as a string.
toString() - Method in class org.apache.datasketches.hllmap.UniqueCountMap
Returns a string with a human-readable summary of the UniqueCountMap and all the internal maps
toString() - Method in class org.apache.datasketches.kll.KllSketch
 
toString() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Returns human readable summary information about this sketch.
toString() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketchBuilder
Creates a human readable string that describes the current configuration of this builder.
toString() - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Returns summary information about the backing sketch.
toString() - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
Returns human readable summary information about this sketch.
toString() - Method in class org.apache.datasketches.quantiles.QuantilesItemsUnion
Returns summary information about the backing sketch.
toString() - Method in interface org.apache.datasketches.quantilescommon.QuantilesAPI
Returns a summary of the key parameters of the sketch.
toString() - Method in class org.apache.datasketches.req.ReqSketch
 
toString() - Method in class org.apache.datasketches.req.ReqSketchBuilder
 
toString() - Method in class org.apache.datasketches.sampling.EbppsItemsSketch
Provides a human-readable summary of the sketch
toString() - Method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Returns a human-readable summary of the sketch, without items.
toString() - Method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Returns a human-readable summary of the sketch, without items.
toString() - Method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Returns a human-readable summary of the sketch, without items.
toString() - Method in class org.apache.datasketches.sampling.ReservoirLongsUnion
Returns a human-readable summary of the sketch, without items.
toString() - Method in class org.apache.datasketches.sampling.VarOptItemsSketch
Returns a human-readable summary of the sketch.
toString() - Method in class org.apache.datasketches.sampling.VarOptItemsUnion
Returns a human-readable summary of the sketch, without items.
toString() - Method in class org.apache.datasketches.tdigest.TDigestDouble
Human-readable summary of this TDigest as a string
toString() - Method in class org.apache.datasketches.theta.ThetaSetOperationBuilder
 
toString() - Method in class org.apache.datasketches.theta.ThetaSketch
Returns a human readable summary of the sketch.
toString() - Method in class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
 
toString() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
 
toString() - Method in class org.apache.datasketches.tuple.TupleSketch
 
toString(boolean) - Method in class org.apache.datasketches.cpc.CpcSketch
Return a human-readable string summary of this sketch
toString(boolean) - Method in class org.apache.datasketches.tdigest.TDigestDouble
Human-readable summary of this TDigest as a string
toString(boolean, boolean) - Method in class org.apache.datasketches.kll.KllDoublesSketch
 
toString(boolean, boolean) - Method in class org.apache.datasketches.kll.KllFloatsSketch
 
toString(boolean, boolean) - Method in class org.apache.datasketches.kll.KllItemsSketch
 
toString(boolean, boolean) - Method in class org.apache.datasketches.kll.KllLongsSketch
 
toString(boolean, boolean) - Method in class org.apache.datasketches.kll.KllSketch
Returns human readable summary information about this sketch.
toString(boolean, boolean) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Returns human readable summary information about this sketch.
toString(boolean, boolean) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Returns summary information about the backing sketch.
toString(boolean, boolean) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
Returns human readable summary information about this sketch.
toString(boolean, boolean) - Method in class org.apache.datasketches.quantiles.QuantilesItemsUnion
Returns summary information about the backing sketch.
toString(boolean, boolean, boolean) - Method in class org.apache.datasketches.hll.HllSketch
Human readable summary with optional detail.
toString(boolean, boolean, boolean) - Method in class org.apache.datasketches.hll.HllUnion
Human readable summary with optional detail.
toString(boolean, boolean, boolean, boolean) - Method in class org.apache.datasketches.hll.HllSketch
 
toString(boolean, boolean, boolean, boolean) - Method in class org.apache.datasketches.hll.HllUnion
 
toString(boolean, boolean, int, boolean) - Method in class org.apache.datasketches.theta.ThetaSketch
Gets a human readable listing of contents and summary of the given sketch.
toString(byte[]) - Static method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Returns a human readable string of the preamble of a byte array image of a FrequentItemsSketch.
toString(byte[]) - Static method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns a human readable string of the preamble of a byte array image of a FrequentLongsSketch.
toString(byte[]) - Static method in class org.apache.datasketches.hll.HllSketch
Returns a human readable string of the preamble of a byte array image of an HllSketch.
toString(byte[]) - Static method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Returns a human readable string of the preamble of a byte array image of a QuantilesDoublesSketch.
toString(byte[]) - Static method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
Returns a human readable string of the preamble of a byte array image of an QuantilesItemsSketch.
toString(byte[]) - Static method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Returns a human readable string of the preamble of a byte array image of a ReservoirItemsSketch.
toString(byte[]) - Static method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Returns a human readable string of the preamble of a byte array image of a ReservoirLongsSketch.
toString(byte[]) - Static method in class org.apache.datasketches.sampling.VarOptItemsSketch
Returns a human readable string of the preamble of a byte array image of a VarOptItemsSketch.
toString(byte[]) - Static method in class org.apache.datasketches.theta.ThetaSketch
Returns a human readable string of the preamble of a byte array image of a ThetaSketch.
toString(byte[], boolean) - Static method in class org.apache.datasketches.cpc.CpcSketch
Returns a human readable string of the preamble of a byte array image of a CpcSketch.
toString(Boolean) - Method in class org.apache.datasketches.common.ArrayOfBooleansSerDe
 
toString(Double) - Method in class org.apache.datasketches.common.ArrayOfDoublesSerDe
 
toString(MemorySegment) - Static method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Returns a human readable string of the preamble of a MemorySegment image of a FrequentItemsSketch.
toString(MemorySegment) - Static method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Returns a human readable string of the preamble of a MemorySegment image of a FrequentLongsSketch.
toString(MemorySegment) - Static method in class org.apache.datasketches.hll.HllSketch
Returns a human readable string of the preamble of a MemorySegment image of an HllSketch.
toString(MemorySegment) - Static method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Returns a human readable string of the preamble of a MemorySegment image of a QuantilesDoublesSketch.
toString(MemorySegment) - Static method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
Returns a human readable string of the preamble of a MemorySegment image of an QuantilesItemsSketch.
toString(MemorySegment) - Static method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Returns a human readable string of the preamble of a MemorySegment image of a ReservoirItemsSketch.
toString(MemorySegment) - Static method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Returns a human readable string of the preamble of a MemorySegment image of a ReservoirLongsSketch.
toString(MemorySegment) - Static method in class org.apache.datasketches.sampling.VarOptItemsSketch
Returns a human readable string of the preamble of a MemorySegment image of a VarOptItemsSketch.
toString(MemorySegment) - Static method in class org.apache.datasketches.theta.ThetaSketch
Returns a human readable string of the preamble of a MemorySegment image of a ThetaSketch.
toString(MemorySegment, boolean) - Static method in class org.apache.datasketches.cpc.CpcSketch
Returns a human readable string of the preamble of a MemorySegment image of a CpcSketch.
toString(Long) - Method in class org.apache.datasketches.common.ArrayOfLongsSerDe
 
toString(Number) - Method in class org.apache.datasketches.common.ArrayOfNumbersSerDe
 
toString(String) - Method in class org.apache.datasketches.common.ArrayOfStringsSerDe
 
toString(String) - Method in class org.apache.datasketches.common.ArrayOfUtf16StringsSerDe
 
toString(T) - Method in class org.apache.datasketches.common.ArrayOfItemsSerDe
Returns a human readable string of an item.
toUpdatableByteArray() - Method in class org.apache.datasketches.hll.HllSketch
 
toUpdatableByteArray() - Method in class org.apache.datasketches.hll.HllUnion
 
trim() - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Rebuilds reducing the actual number of entries to the nominal number of entries if needed
trim() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
Rebuilds reducing the actual number of entries to the nominal number of entries if needed
trim() - Method in class org.apache.datasketches.tuple.adouble.DoubleTupleSketch
Rebuilds reducing the actual number of entries to the nominal number of entries if needed
trim() - Method in class org.apache.datasketches.fdt.FdtSketch
Rebuilds reducing the actual number of entries to the nominal number of entries if needed
trim() - Method in class org.apache.datasketches.tuple.aninteger.IntegerTupleSketch
Rebuilds reducing the actual number of entries to the nominal number of entries if needed
trim() - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
Rebuilds reducing the actual number of entries to the nominal number of entries if needed
TRIM_A - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.AnotbAction
Trim Sketch A by MinTheta
TRIM_A - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.UnionAction
Trim Sketch A by MinTheta
TRIM_B - Enum constant in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.UnionAction
Trim Sketch B by MinTheta
TUPLE - Enum constant in enum class org.apache.datasketches.common.Family
The Tuple family of sketches is a large family of sketches that are extensions of the Theta Sketch Framework.
TupleAnotB<S> - Class in org.apache.datasketches.tuple
Computes a set difference, A-AND-NOT-B, of two generic TupleSketches.
TupleAnotB() - Constructor for class org.apache.datasketches.tuple.TupleAnotB
No argument constructor.
TupleIntersection<S> - Class in org.apache.datasketches.tuple
Computes an intersection of two or more generic TupleSketches or generic TupleSketches combined with ThetaSketches.
TupleIntersection(SummarySetOperations) - Constructor for class org.apache.datasketches.tuple.TupleIntersection
Creates new TupleIntersection instance with instructions on how to process two summaries that intersect.
TupleSketch<S> - Class in org.apache.datasketches.tuple
The top-level class for all Tuple sketches.
TupleSketchIterator<S> - Class in org.apache.datasketches.tuple
Iterator over a generic tuple sketch
TupleUnion<S> - Class in org.apache.datasketches.tuple
Compute the union of two or more generic tuple sketches or generic TupleSketches combined with ThetaSketches.
TupleUnion(int, SummarySetOperations) - Constructor for class org.apache.datasketches.tuple.TupleUnion
Creates new TupleUnion instance.
TupleUnion(SummarySetOperations) - Constructor for class org.apache.datasketches.tuple.TupleUnion
Creates new TupleUnion instance with instructions on how to process two summaries that overlap.

U

union(MemorySegment) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Iterative union operation, which means this method can be repeatedly called.
union(MemorySegment) - Method in class org.apache.datasketches.theta.ThetaUnion
Perform a union operation with this ThetaUnion and the given MemorySegment image of any sketch of the Theta Family.
union(MemorySegment, ArrayOfItemsSerDe) - Method in class org.apache.datasketches.quantiles.QuantilesItemsUnion
Iterative union operation, which means this method can be repeatedly called.
union(BloomFilter) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Unions two BloomFilters by applying a logical OR.
union(QuantilesDoublesSketch) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Iterative union operation, which means this method can be repeatedly called.
union(QuantilesItemsSketch) - Method in class org.apache.datasketches.quantiles.QuantilesItemsUnion
Iterative union operation, which means this method can be repeatedly called.
union(ThetaSketch) - Method in class org.apache.datasketches.theta.ThetaUnion
Perform a union operation with this ThetaUnion and the given on-heap sketch of the Theta Family.
union(ThetaSketch, ThetaSketch) - Method in class org.apache.datasketches.theta.ThetaUnion
This implements a stateless, pair-wise union operation.
union(ThetaSketch, ThetaSketch, boolean, MemorySegment) - Method in class org.apache.datasketches.theta.ThetaUnion
This implements a stateless, pair-wise union operation.
union(ThetaSketch, S) - Method in class org.apache.datasketches.tuple.TupleUnion
Performs a stateful union of the internal set with the given ThetaSketch by combining entries using the hashes from the ThetaSketch and summary values from the given summary.
union(DoubleSummary, DoubleSummary) - Method in class org.apache.datasketches.tuple.adouble.DoubleSummarySetOperations
 
union(IntegerSummary, IntegerSummary) - Method in class org.apache.datasketches.tuple.aninteger.IntegerSummarySetOperations
 
union(ArrayOfDoublesSketch) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUnion
Updates the union by adding a set of entries from a given sketch, which can be on-heap or off-heap.
union(ArrayOfStringsSummary, ArrayOfStringsSummary) - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSummarySetOperations
 
union(TupleSketch) - Method in class org.apache.datasketches.tuple.TupleUnion
Performs a stateful union of the internal set with the given TupleSketch.
union(TupleSketch, ThetaSketch, S) - Method in class org.apache.datasketches.tuple.TupleUnion
Perform a stateless, pair-wise union operation between a tupleSketch and a ThetaSketch.
union(TupleSketch, TupleSketch) - Method in class org.apache.datasketches.tuple.TupleUnion
Perform a stateless, pair-wise union operation between two tuple sketches.
union(S, S) - Method in interface org.apache.datasketches.tuple.SummarySetOperations
This is called by the union operator when both sketches have the same hash value.
UNION - Enum constant in enum class org.apache.datasketches.common.Family
The Union family is an operation for the Theta Sketch Framework of sketches.
UniqueCountMap - Class in org.apache.datasketches.hllmap
This is a real-time, key-value HLL mapping sketch that tracks approximate unique counts of identifiers (the values) associated with each key.
UniqueCountMap(int) - Constructor for class org.apache.datasketches.hllmap.UniqueCountMap
Constructs a UniqueCountMap with an initial capacity of one million entries.
UniqueCountMap(int, int) - Constructor for class org.apache.datasketches.hllmap.UniqueCountMap
Constructs a UniqueCountMap with a given initial number of entries.
UNSUPPORTED_MSG - Static variable in interface org.apache.datasketches.quantilescommon.QuantilesAPI
Unsupported operation for this Sketch Type.
UPDATABLE - Enum constant in enum class org.apache.datasketches.kll.KllSketch.SketchStructure
Updatable Preamble Structure
UpdatableQuantilesDoublesSketch - Class in org.apache.datasketches.quantiles
Extends QuantilesDoubleSketch
UpdatableSummary<U> - Interface in org.apache.datasketches.tuple
Interface for updating user-defined Summary
UpdatableThetaSketch - Class in org.apache.datasketches.theta
The parent class for the UpdatableThetaSketch families, such as QuickSelectThetaSketch and AlphaSketch.
UpdatableThetaSketchBuilder - Class in org.apache.datasketches.theta
For building a new UpdatableThetaSketch.
UpdatableThetaSketchBuilder() - Constructor for class org.apache.datasketches.theta.UpdatableThetaSketchBuilder
Constructor for building a new UpdatableThetaSketch.
UpdatableTupleSketch<U,S> - Class in org.apache.datasketches.tuple
An extension of QuickSelectSketch<S>, which can be updated with many types of keys.
UpdatableTupleSketch(int, int, float, SummaryFactory) - Constructor for class org.apache.datasketches.tuple.UpdatableTupleSketch
This is to create a new instance of an UpdatableQuickSelectSketch.
UpdatableTupleSketch(MemorySegment, SummaryDeserializer, SummaryFactory) - Constructor for class org.apache.datasketches.tuple.UpdatableTupleSketch
Deprecated.
As of 3.0.0, heapifying an UpdatableTupleSketch is deprecated. This capability will be removed in a future release. Heapifying a CompactTupleSketch is not deprecated.
UpdatableTupleSketch(UpdatableTupleSketch) - Constructor for class org.apache.datasketches.tuple.UpdatableTupleSketch
Copy Constructor
UpdatableTupleSketchBuilder<U,S> - Class in org.apache.datasketches.tuple
For building a new generic tuple UpdatableTupleSketch
UpdatableTupleSketchBuilder(SummaryFactory) - Constructor for class org.apache.datasketches.tuple.UpdatableTupleSketchBuilder
Creates an instance of UpdatableTupleSketchBuilder with default parameters
update(byte[]) - Method in class org.apache.datasketches.cpc.CpcSketch
Present the given byte array as a potential unique item.
update(byte[]) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the provided byte[].
update(byte[]) - Method in class org.apache.datasketches.hll.HllSketch
Present the given byte array as a potential unique item.
update(byte[]) - Method in class org.apache.datasketches.hll.HllUnion
Present the given byte array as a potential unique item.
update(byte[]) - Method in class org.apache.datasketches.theta.ThetaUnion
Update this union with the given byte array item.
update(byte[]) - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
Present this sketch with the given byte array.
update(byte[], byte[]) - Method in class org.apache.datasketches.hllmap.UniqueCountMap
Updates the map with a given key and identifier and returns the estimate of the number of unique identifiers encountered so far for the given key.
update(byte[], double[]) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Updates this sketch with a byte[] key and double values.
update(byte[], long) - Method in class org.apache.datasketches.count.CountMinSketch
Updates the sketch with the provided item and weight.
update(byte[], U) - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
Updates this sketch with a byte[] key and U value.
update(char[]) - Method in class org.apache.datasketches.cpc.CpcSketch
Present the given char array as a potential unique item.
update(char[]) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the provided char[].
update(char[]) - Method in class org.apache.datasketches.hll.HllSketch
Present the given char array as a potential unique item.
update(char[]) - Method in class org.apache.datasketches.hll.HllUnion
Present the given char array as a potential unique item.
update(char[]) - Method in class org.apache.datasketches.theta.ThetaUnion
Update this union with the given char array item.
update(char[]) - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
Present this sketch with the given char array.
update(double) - Method in class org.apache.datasketches.cpc.CpcSketch
Present the given double (or float) datum as a potential unique item.
update(double) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the provided double value.
update(double) - Method in class org.apache.datasketches.hll.HllSketch
Present the given double (or float) datum as a potential unique item.
update(double) - Method in class org.apache.datasketches.hll.HllUnion
Present the given double (or float) datum as a potential unique item.
update(double) - Method in class org.apache.datasketches.kll.KllDoublesSketch
 
update(double) - Method in class org.apache.datasketches.quantiles.CompactQuantilesDoublesSketch
 
update(double) - Method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Update this union with the given double (or float) data Item.
update(double) - Method in class org.apache.datasketches.quantiles.UpdatableQuantilesDoublesSketch
 
update(double) - Method in interface org.apache.datasketches.quantilescommon.QuantilesDoublesAPI
Updates this sketch with the given item.
update(double) - Method in class org.apache.datasketches.tdigest.TDigestDouble
Update this TDigest with the given value
update(double) - Method in class org.apache.datasketches.theta.ThetaUnion
Update this union with the given double (or float) data item.
update(double) - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
Present this sketch with the given double (or float) datum.
update(double[], int, int) - Method in class org.apache.datasketches.kll.KllDoublesSketch
Vector update.
update(double, double[]) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Updates this sketch with a double key and double values.
update(double, long) - Method in class org.apache.datasketches.kll.KllDoublesSketch
Weighted update.
update(double, U) - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
Updates this sketch with a double key and U value.
update(float) - Method in class org.apache.datasketches.kll.KllFloatsSketch
 
update(float) - Method in interface org.apache.datasketches.quantilescommon.QuantilesFloatsAPI
Updates this sketch with the given item.
update(float) - Method in class org.apache.datasketches.req.ReqSketch
 
update(float[], int, int) - Method in class org.apache.datasketches.kll.KllFloatsSketch
Vector update.
update(float, long) - Method in class org.apache.datasketches.kll.KllFloatsSketch
Weighted update.
update(int[]) - Method in class org.apache.datasketches.cpc.CpcSketch
Present the given integer array as a potential unique item.
update(int[]) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the provided int[].
update(int[]) - Method in class org.apache.datasketches.hll.HllSketch
Present the given integer array as a potential unique item.
update(int[]) - Method in class org.apache.datasketches.hll.HllUnion
Present the given integer array as a potential unique item.
update(int[]) - Method in class org.apache.datasketches.theta.ThetaUnion
Update this union with the given integer array item.
update(int[]) - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
Present this sketch with the given integer array.
update(int[], double[]) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Updates this sketch with a int[] key and double values.
update(int[], U) - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
Updates this sketch with a int[] key and U value.
update(long) - Method in class org.apache.datasketches.cpc.CpcSketch
Present the given long as a potential unique item.
update(long) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the provided long value.
update(long) - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Update this sketch with an item and a frequency count of one.
update(long) - Method in class org.apache.datasketches.hll.HllSketch
Present the given long as a potential unique item.
update(long) - Method in class org.apache.datasketches.hll.HllUnion
Present the given long as a potential unique item.
update(long) - Method in class org.apache.datasketches.kll.KllLongsSketch
 
update(long) - Method in interface org.apache.datasketches.quantilescommon.QuantilesLongsAPI
Updates this sketch with the given item.
update(long) - Method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Randomly decide whether or not to include an item in the sample set.
update(long) - Method in class org.apache.datasketches.sampling.ReservoirLongsUnion
Present this union with a long.
update(long) - Method in class org.apache.datasketches.theta.ThetaUnion
Update this union with the given long data item.
update(long) - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
Present this sketch with a long.
update(long[]) - Method in class org.apache.datasketches.cpc.CpcSketch
Present the given long array as a potential unique item.
update(long[]) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the provided long[].
update(long[]) - Method in class org.apache.datasketches.hll.HllSketch
Present the given long array as a potential unique item.
update(long[]) - Method in class org.apache.datasketches.hll.HllUnion
Present the given long array as a potential unique item.
update(long[]) - Method in class org.apache.datasketches.theta.ThetaUnion
Update this union with the given long array item.
update(long[]) - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
Present this sketch with the given long array.
update(long[], double[]) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Updates this sketch with a long[] key and double values.
update(long[], int, int) - Method in class org.apache.datasketches.kll.KllLongsSketch
Vector update.
update(long[], U) - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
Updates this sketch with a long[] key and U value.
update(long, double[]) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Updates this sketch with a long key and double values.
update(long, int, ArrayList) - Method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Present this union with raw elements of a sketch.
update(long, long) - Method in class org.apache.datasketches.count.CountMinSketch
Updates the sketch with the provided item and weight.
update(long, long) - Method in class org.apache.datasketches.frequencies.FrequentLongsSketch
Update this sketch with a item and a positive frequency count (or weight).
update(long, long) - Method in class org.apache.datasketches.kll.KllLongsSketch
Weighted update.
update(long, Double) - Method in class org.apache.datasketches.tuple.adouble.DoubleTupleSketch
 
update(long, Integer) - Method in class org.apache.datasketches.tuple.aninteger.IntegerTupleSketch
 
update(long, U) - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
Updates this sketch with a long key and U value.
update(short[]) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the provided short[].
update(Double) - Method in class org.apache.datasketches.tuple.adouble.DoubleSummary
 
update(MemorySegment) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the data in the provided MemorySegment.
update(MemorySegment) - Method in class org.apache.datasketches.sampling.ReservoirLongsUnion
Union the given MemorySegment image of the sketch.
update(MemorySegment, ArrayOfItemsSerDe) - Method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Union the given MemorySegment image of the sketch.
update(MemorySegment, ArrayOfItemsSerDe) - Method in class org.apache.datasketches.sampling.VarOptItemsUnion
Union the given MemorySegment image of the sketch.
update(Integer) - Method in class org.apache.datasketches.tuple.aninteger.IntegerSummary
 
update(String) - Method in class org.apache.datasketches.cpc.CpcSketch
Present the given String as a potential unique item.
update(String) - Method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Updates the filter with the provided String.
update(String) - Method in class org.apache.datasketches.hll.HllSketch
Present the given String as a potential unique item.
update(String) - Method in class org.apache.datasketches.hll.HllUnion
Present the given String as a potential unique item.
update(String) - Method in class org.apache.datasketches.theta.ThetaUnion
Update this union with the with the given String data item.
update(String) - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
Present this sketch with the given String.
update(String[]) - Method in class org.apache.datasketches.fdt.FdtSketch
Update the sketch with the given string array tuple.
update(String[]) - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSummary
 
update(String[], String[]) - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsTupleSketch
Updates the sketch with String arrays for both key and value.
update(String, double[]) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Updates this sketch with a String key and double values.
update(String, long) - Method in class org.apache.datasketches.count.CountMinSketch
Updates the sketch with the provided item and weight.
update(String, Double) - Method in class org.apache.datasketches.tuple.adouble.DoubleTupleSketch
 
update(String, Integer) - Method in class org.apache.datasketches.tuple.aninteger.IntegerTupleSketch
 
update(String, U) - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
Updates this sketch with a String key and U value.
update(ByteBuffer) - Method in class org.apache.datasketches.cpc.CpcSketch
Present the given ByteBuffer as a potential unique item If the ByteBuffer is null or empty no update attempt is made and the method returns
update(ByteBuffer) - Method in class org.apache.datasketches.hll.HllSketch
Present the given byte buffer as a potential unique item.
update(ByteBuffer) - Method in class org.apache.datasketches.hll.HllUnion
Present the given byte buffer as a potential unique item.
update(ByteBuffer) - Method in class org.apache.datasketches.theta.ThetaUnion
Update this union with the given ByteBuffer item.
update(ByteBuffer) - Method in class org.apache.datasketches.theta.UpdatableThetaSketch
Present this sketch with the given ByteBuffer If the ByteBuffer is null or empty, no update attempt is made and the method returns.
update(ByteBuffer, double[]) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Updates this sketch with a ByteBuffer key and double values.
update(ByteBuffer, U) - Method in class org.apache.datasketches.tuple.UpdatableTupleSketch
Updates this sketch with a ByteBuffer and U value The value is passed to the update() method of the Summary object associated with the key
update(CpcSketch) - Method in class org.apache.datasketches.cpc.CpcUnion
Update this union with a CpcSketch.
update(HllSketch) - Method in class org.apache.datasketches.hll.HllUnion
Update this HllUnion operator with the given sketch.
update(ReservoirItemsSketch) - Method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Union the given sketch.
update(ReservoirItemsSketch) - Method in class org.apache.datasketches.sampling.VarOptItemsUnion
Union a reservoir sketch.
update(ReservoirLongsSketch) - Method in class org.apache.datasketches.sampling.ReservoirLongsUnion
Union the given sketch.
update(VarOptItemsSketch) - Method in class org.apache.datasketches.sampling.VarOptItemsUnion
Union the given sketch.
update(ArrayOfDoublesSketch, ArrayOfDoublesSketch) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesAnotB
Perform A-and-not-B set operation on the two given sketches.
update(ArrayOfDoublesSketch, ArrayOfDoublesSketch) - Method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesAnotBImpl
 
update(T) - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Update this sketch with an item and a frequency count of one.
update(T) - Method in class org.apache.datasketches.kll.KllItemsSketch
 
update(T) - Method in class org.apache.datasketches.quantiles.QuantilesItemsSketch
 
update(T) - Method in class org.apache.datasketches.quantiles.QuantilesItemsUnion
Update this union with the given dataItem.
update(T) - Method in interface org.apache.datasketches.quantilescommon.QuantilesGenericAPI
Updates this sketch with the given item.
update(T) - Method in class org.apache.datasketches.sampling.EbppsItemsSketch
Updates this sketch with the given data item with weight 1.0.
update(T) - Method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Randomly decide whether or not to include an item in the sample set.
update(T) - Method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Present this union with a single item to be added to the union.
update(T, double) - Method in class org.apache.datasketches.sampling.EbppsItemsSketch
Updates this sketch with the given data item with the given weight.
update(T, double) - Method in class org.apache.datasketches.sampling.VarOptItemsSketch
Randomly decide whether or not to include an item in the sample set.
update(T, long) - Method in class org.apache.datasketches.frequencies.FrequentItemsSketch
Update this sketch with an item and a positive frequency count.
update(T, long) - Method in class org.apache.datasketches.kll.KllItemsSketch
Weighted update.
update(U) - Method in interface org.apache.datasketches.tuple.UpdatableSummary
This is to provide a method of updating summaries.
UpdateReturnState - Enum Class in org.apache.datasketches.theta
upperBound - Variable in class org.apache.datasketches.partitions.Partitioner.PartitionBoundsRow
The upper bound value
Util - Class in org.apache.datasketches.common
Common utility functions.
Util - Class in org.apache.datasketches.tuple
Common utility functions for Tuples
Util() - Constructor for class org.apache.datasketches.tuple.Util
No argument constructor.

V

validate() - Method in class org.apache.datasketches.cpc.CpcSketch
Convience function that this Sketch is valid.
validateFamily(byte, byte) - Static method in class org.apache.datasketches.tuple.SerializerDeserializer
Validates the preamble-Longs value given the family ID
validateItems(T[], Comparator) - Static method in interface org.apache.datasketches.quantilescommon.GenericSortedView
Checks the sequential validity of the given array of generic items.
validateType(byte, SerializerDeserializer.SketchType) - Static method in class org.apache.datasketches.tuple.SerializerDeserializer
Validates the sketch type byte versus the expected value
value() - Element in annotation interface org.apache.datasketches.common.SuppressFBWarnings
A list of comma-separated, quoted SpotBugs warnings that are to be suppressed in the associated annotated element.
valueOf(String) - Static method in enum class org.apache.datasketches.common.Family
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.datasketches.common.ResizeFactor
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.datasketches.frequencies.ErrorType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.datasketches.hll.TgtHllType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.datasketches.kll.KllSketch.SketchStructure
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.datasketches.kll.KllSketch.SketchType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.datasketches.partitions.BoundsRule
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.datasketches.quantilescommon.GenericInequalitySearch.Inequality
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.datasketches.quantilescommon.InequalitySearch
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.datasketches.quantilescommon.QuantileSearchCriteria
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.datasketches.theta.UpdateReturnState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.AnotbAction
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.IntersectAction
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.UnionAction
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.datasketches.tuple.adouble.DoubleSummary.Mode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.datasketches.tuple.aninteger.IntegerSummary.Mode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.apache.datasketches.tuple.SerializerDeserializer.SketchType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.apache.datasketches.common.Family
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.datasketches.common.ResizeFactor
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.datasketches.frequencies.ErrorType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.datasketches.hll.TgtHllType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.datasketches.kll.KllSketch.SketchStructure
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.datasketches.kll.KllSketch.SketchType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.datasketches.partitions.BoundsRule
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.datasketches.quantilescommon.GenericInequalitySearch.Inequality
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.datasketches.quantilescommon.InequalitySearch
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.datasketches.quantilescommon.QuantileSearchCriteria
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.datasketches.theta.UpdateReturnState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.AnotbAction
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.CornerCase
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.IntersectAction
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.datasketches.thetacommon.SetOperationCornerCases.UnionAction
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.datasketches.tuple.adouble.DoubleSummary.Mode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.datasketches.tuple.aninteger.IntegerSummary.Mode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.apache.datasketches.tuple.SerializerDeserializer.SketchType
Returns an array containing the constants of this enum class, in the order they are declared.
VAROPT - Enum constant in enum class org.apache.datasketches.common.Family
The VarOpt family of sketches.
VAROPT_UNION - Enum constant in enum class org.apache.datasketches.common.Family
The VarOpt family of sketches.
VarOptItemsSamples<T> - Class in org.apache.datasketches.sampling
This class provides access to the samples contained in a VarOptItemsSketch.
VarOptItemsSamples.VarOptItemsIterator - Class in org.apache.datasketches.sampling
The standard iterator
VarOptItemsSamples.WeightedSample - Class in org.apache.datasketches.sampling
A convenience class to allow easy iterator access to a VarOpt sample.
VarOptItemsSketch<T> - Class in org.apache.datasketches.sampling
This sketch provides a variance optimal sample over an input stream of weighted items.
VarOptItemsUnion<T> - Class in org.apache.datasketches.sampling
Provides a unioning operation over varopt sketches.
viewCompactorDetail(String, boolean) - Method in class org.apache.datasketches.req.ReqSketch
 

W

weights() - Method in class org.apache.datasketches.sampling.VarOptItemsSamples
Returns a copy of the array of weights contained in the sketch.
weights(int) - Method in class org.apache.datasketches.sampling.VarOptItemsSamples
Returns a single weight from the samples contained in the sketch.
wrap(byte[]) - Static method in class org.apache.datasketches.theta.CompactThetaSketch
Wrap takes the sketch image in the given byte array and refers to it directly.
wrap(byte[], long) - Static method in class org.apache.datasketches.theta.CompactThetaSketch
Wrap takes the sketch image in the given byte array and refers to it directly.
wrap(MemorySegment) - Static method in interface org.apache.datasketches.common.positional.PositionalSegment
Gets an instance of this PositionalSegment.
wrap(MemorySegment) - Static method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Wraps the given MemorySegment into this filter class.
wrap(MemorySegment) - Static method in class org.apache.datasketches.hll.HllSketch
Wraps the given read-only MemorySegment that must be a image of a valid sketch, which may be in compact or updatable form, and should have data.
wrap(MemorySegment) - Static method in class org.apache.datasketches.kll.KllDoublesSketch
Wrap a sketch around the given source MemorySegment containing sketch data that originated from this sketch.
wrap(MemorySegment) - Static method in class org.apache.datasketches.kll.KllFloatsSketch
Wrap a sketch around the given source MemorySegment containing sketch data that originated from this sketch.
wrap(MemorySegment) - Static method in class org.apache.datasketches.kll.KllLongsSketch
Wrap a sketch around the given source MemorySegment containing sketch data that originated from this sketch.
wrap(MemorySegment) - Static method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Wrap this sketch around the given MemorySegment image of a compact, read-only QuantilesDoublesSketch.
wrap(MemorySegment) - Static method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Returns an updatable Union object that wraps the given MemorySegment that contains an image of a QuantilesDoublesSketch.
wrap(MemorySegment) - Static method in class org.apache.datasketches.quantiles.UpdatableQuantilesDoublesSketch
Wrap a sketch around the given source MemorySegment containing sketch data that originated from this sketch.
wrap(MemorySegment) - Static method in class org.apache.datasketches.theta.CompactThetaSketch
Wrap takes the CompactThetaSketch image in given MemorySegment and refers to it directly.
wrap(MemorySegment) - Static method in class org.apache.datasketches.theta.ThetaIntersection
Factory: Wrap a ThetaIntersection target around the given source MemorySegment containing intersection data.
wrap(MemorySegment) - Static method in class org.apache.datasketches.theta.ThetaSetOperation
Wrap takes the ThetaSetOperation image in MemorySegment and refers to it directly.
wrap(MemorySegment) - Static method in class org.apache.datasketches.theta.ThetaSketch
Wrap takes the sketch image in the given MemorySegment and refers to it directly.
wrap(MemorySegment) - Static method in class org.apache.datasketches.theta.ThetaUnion
Wrap a ThetaUnion object around a ThetaUnion MemorySegment object containing data.
wrap(MemorySegment) - Static method in class org.apache.datasketches.theta.UpdatableThetaSketch
Wrap takes the writable sketch image in MemorySegment and refers to it directly.
wrap(MemorySegment) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Wrap the given MemorySegment as an ArrayOfDoublesSketch.
wrap(MemorySegment) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUnion
Wrap the given MemorySegment as an ArrayOfDoublesUnion.
wrap(MemorySegment) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Wrap the given MemorySegment as an ArrayOfDoublesUpdatableSketch.
wrap(MemorySegment, long) - Static method in class org.apache.datasketches.theta.CompactThetaSketch
Wrap takes the sketch image in the given MemorySegment and refers to it directly.
wrap(MemorySegment, long) - Static method in class org.apache.datasketches.theta.ThetaIntersection
Factory: Wrap a ThetaIntersection target around the given source MemorySegment containing intersection data.
wrap(MemorySegment, long) - Static method in class org.apache.datasketches.theta.ThetaSetOperation
Wrap takes the ThetaSetOperation image in MemorySegment and refers to it directly.
wrap(MemorySegment, long) - Static method in class org.apache.datasketches.theta.ThetaSketch
Wrap takes the sketch image in the given MemorySegment and refers to it directly.
wrap(MemorySegment, long) - Static method in class org.apache.datasketches.theta.ThetaUnion
Wrap a ThetaUnion object around a ThetaUnion MemorySegment object containing data.
wrap(MemorySegment, long) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Wrap the given MemorySegment and seed as a ArrayOfDoublesSketch.
wrap(MemorySegment, long) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUnion
Wrap the given MemorySegment and seed as an ArrayOfDoublesUnion.
wrap(MemorySegment, long) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesUpdatableSketch
Wrap the given MemorySegment and seed as a ArrayOfDoublesUpdatableSketch.
wrap(MemorySegment, Comparator, ArrayOfItemsSerDe) - Static method in class org.apache.datasketches.kll.KllItemsSketch
Constructs a thin wrapper on the heap around a MemorySegment (or MemorySegment) already initialized with a validated sketch image of a type T consistent with the given comparator and serDe.
wrap(MemorySegment, MemorySegmentRequest) - Static method in class org.apache.datasketches.kll.KllDoublesSketch
Wrap a sketch around the given source MemorySegment containing sketch data that originated from this sketch and including an optional, user defined MemorySegmentRequest.
wrap(MemorySegment, MemorySegmentRequest) - Static method in class org.apache.datasketches.kll.KllFloatsSketch
Wrap a sketch around the given source MemorySegment containing sketch data that originated from this sketch and including an optional, user defined MemorySegmentRequest.
wrap(MemorySegment, MemorySegmentRequest) - Static method in class org.apache.datasketches.kll.KllLongsSketch
Wrap a sketch around the given source MemorySegment containing sketch data that originated from this sketch and including an optional, user defined MemorySegmentRequest.
wrap(MemorySegment, MemorySegmentRequest) - Static method in class org.apache.datasketches.quantiles.QuantilesDoublesUnion
Returns an updatable Union object that wraps the given MemorySegment that contains an image of a QuantilesDoublesSketch.
wrap(MemorySegment, MemorySegmentRequest) - Static method in class org.apache.datasketches.quantiles.UpdatableQuantilesDoublesSketch
Wrap a sketch around the given source MemorySegment containing sketch data that originated from this sketch and including an optional, user defined MemorySegmentRequest.
wrap(MemorySegment, MemorySegmentRequest, long) - Static method in class org.apache.datasketches.theta.UpdatableThetaSketch
Wrap takes the sketch image in MemorySegment and refers to it directly.
wrapSketch(MemorySegment) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Wrap the given MemorySegment as an ArrayOfDoublesSketch.
wrapSketch(MemorySegment, long) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Wrap the given MemorySegment and seed as a ArrayOfDoublesSketch.
wrapUnion(MemorySegment) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Wrap the given MemorySegment as an ArrayOfDoublesUnion If the given source MemorySegment is read-only, the returned TupleUnion object will also be read-only.
wrapUnion(MemorySegment, long) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Wrap the given MemorySegment and seed as an ArrayOfDoublesUnion If the given source MemorySegment is read-only, the returned TupleUnion object will also be read-only.
wrapUpdatableSketch(MemorySegment) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Wrap the given MemorySegment as an ArrayOfDoublesUpdatableSketch.
wrapUpdatableSketch(MemorySegment, long) - Static method in class org.apache.datasketches.tuple.arrayofdoubles.ArrayOfDoublesSketch
Wrap the given MemorySegment and seed as a ArrayOfDoublesUpdatableSketch.
writableWrap(MemorySegment) - Static method in class org.apache.datasketches.filters.bloomfilter.BloomFilter
Wraps the given MemorySegment into this filter class.
writableWrap(MemorySegment) - Static method in class org.apache.datasketches.hll.HllSketch
Wraps the given MemorySegment, which must be a image of a valid updatable sketch, and may have data.
writableWrap(MemorySegment) - Static method in class org.apache.datasketches.hll.HllUnion
Wraps the given MemorySegment, which must be a image of a valid updatable HLL_8 sketch, and may have data.
writableWrap(MemorySegment) - Static method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Wrap this sketch around the given MemorySegment image of an updatable QuantilesDoublesSketch.
writableWrap(MemorySegment, MemorySegmentRequest) - Static method in class org.apache.datasketches.quantiles.QuantilesDoublesSketch
Wrap this sketch around the given MemorySegment image of an updatable QuantilesDoublesSketch.

X

X1 - Enum constant in enum class org.apache.datasketches.common.ResizeFactor
Do not resize.
X2 - Enum constant in enum class org.apache.datasketches.common.ResizeFactor
Resize factor is 2.
X4 - Enum constant in enum class org.apache.datasketches.common.ResizeFactor
Resize factor is 4.
X8 - Enum constant in enum class org.apache.datasketches.common.ResizeFactor
Resize factor is 8.
XxHash - Class in org.apache.datasketches.hash
The XxHash is a fast, non-cryptographic, 64-bit hash function that has excellent avalanche and 2-way bit independence properties.
XxHash64 - Class in org.apache.datasketches.hash
The XxHash is a fast, non-cryptographic, 64-bit hash function that has excellent avalanche and 2-way bit independence properties.

Z

Zero error at low cardinalities - Section in package org.apache.datasketches.hll
 
zeroPad(String, int) - Static method in class org.apache.datasketches.common.Util
Prepend the given string with zeros.
A B C D E F G H I J K L M N O P Q R S T U V W X Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form