Skip navigation links
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 

A

AnotB - Class in org.apache.datasketches.theta
The API for the set difference operation A and not B operations.
AnotB() - Constructor for class org.apache.datasketches.theta.AnotB
 
aNotB(Sketch, Sketch) - Method in class org.apache.datasketches.theta.AnotB
Perform A-and-not-B set operation on the two given sketches and return the result as an ordered CompactSketch on the heap.
aNotB(Sketch, Sketch, boolean, WritableMemory) - Method in class org.apache.datasketches.theta.AnotB
Perform A-and-not-B set operation on the two given sketches and return the result as a CompactSketch.
aNotB(Sketch, Sketch) - Static method in class org.apache.datasketches.theta.PairwiseSetOperations
This implements a stateless, pair-wise A AND NOT B operation on Sketches that are either Heap-based or Direct.
AnotB<S extends Summary> - Class in org.apache.datasketches.tuple
Computes a set difference of two generic tuple sketches
AnotB() - Constructor for class org.apache.datasketches.tuple.AnotB
 
approximateLowerBoundOnP(long, long, double) - Static method in class org.apache.datasketches.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.BoundsOnBinomialProportions
Computes upper bound of approximate Clopper-Pearson confidence interval for a binomial proportion.
ArrayOfBooleansSerDe - Class in org.apache.datasketches
Methods of serializing and deserializing arrays of Boolean as a bit array.
ArrayOfBooleansSerDe() - Constructor for class org.apache.datasketches.ArrayOfBooleansSerDe
 
ArrayOfDoublesAnotB - Class in org.apache.datasketches.tuple
Computes a set difference of two tuple sketches of type ArrayOfDoubles
ArrayOfDoublesCombiner - Interface in org.apache.datasketches.tuple
Combines two arrays of double values for use with ArrayOfDoubles tuple sketches
ArrayOfDoublesCompactSketch - Class in org.apache.datasketches.tuple
Top level compact tuple sketch of type ArrayOfDoubles.
ArrayOfDoublesIntersection - Class in org.apache.datasketches.tuple
Computes the intersection of two or more tuple sketches of type ArrayOfDoubles.
ArrayOfDoublesSerDe - Class in org.apache.datasketches
Methods of serializing and deserializing arrays of Double.
ArrayOfDoublesSerDe() - Constructor for class org.apache.datasketches.ArrayOfDoublesSerDe
 
ArrayOfDoublesSetOperationBuilder - Class in org.apache.datasketches.tuple
Builds set operations object for tuple sketches of type ArrayOfDoubles.
ArrayOfDoublesSetOperationBuilder() - Constructor for class org.apache.datasketches.tuple.ArrayOfDoublesSetOperationBuilder
Creates an instance of the builder with default parameters
ArrayOfDoublesSketch - Class in org.apache.datasketches.tuple
The base class for the tuple sketch of type ArrayOfDoubles, where an array of double values is associated with each key.
ArrayOfDoublesSketches - Class in org.apache.datasketches.tuple
Convenient static methods to instantiate tuple sketches of type ArrayOfDoubles.
ArrayOfDoublesSketches() - Constructor for class org.apache.datasketches.tuple.ArrayOfDoublesSketches
 
ArrayOfDoublesSketchIterator - Interface in org.apache.datasketches.tuple
Interface for iterating over tuple sketches of type ArrayOfDoubles
ArrayOfDoublesUnion - Class in org.apache.datasketches.tuple
The base class for unions of tuple sketches of type ArrayOfDoubles.
ArrayOfDoublesUpdatableSketch - Class in org.apache.datasketches.tuple
The top level for updatable tuple sketches of type ArrayOfDoubles.
ArrayOfDoublesUpdatableSketchBuilder - Class in org.apache.datasketches.tuple
For building a new ArrayOfDoublesUpdatableSketch
ArrayOfDoublesUpdatableSketchBuilder() - Constructor for class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketchBuilder
Creates an instance of builder with default parameters
ArrayOfItemsSerDe<T> - Class in org.apache.datasketches
Base class for serializing and deserializing custom types.
ArrayOfItemsSerDe() - Constructor for class org.apache.datasketches.ArrayOfItemsSerDe
 
ArrayOfLongsSerDe - Class in org.apache.datasketches
Methods of serializing and deserializing arrays of Long.
ArrayOfLongsSerDe() - Constructor for class org.apache.datasketches.ArrayOfLongsSerDe
 
ArrayOfNumbersSerDe - Class in org.apache.datasketches
Methods of serializing and deserializing arrays of the object version of primitive types of Number.
ArrayOfNumbersSerDe() - Constructor for class org.apache.datasketches.ArrayOfNumbersSerDe
 
ArrayOfStringsSerDe - Class in org.apache.datasketches
Methods of serializing and deserializing arrays of String.
ArrayOfStringsSerDe() - Constructor for class org.apache.datasketches.ArrayOfStringsSerDe
 
ArrayOfStringsSketch - Class in org.apache.datasketches.tuple.strings
 
ArrayOfStringsSketch() - Constructor for class org.apache.datasketches.tuple.strings.ArrayOfStringsSketch
Constructs new sketch with default K = 4096 (lgK = 12), default ResizeFactor=X8, and default p = 1.0.
ArrayOfStringsSketch(int) - Constructor for class org.apache.datasketches.tuple.strings.ArrayOfStringsSketch
Constructs new sketch with default ResizeFactor=X8, default p = 1.0 and given lgK.
ArrayOfStringsSketch(int, ResizeFactor, float) - Constructor for class org.apache.datasketches.tuple.strings.ArrayOfStringsSketch
Constructs new sketch with given ResizeFactor, p and lgK.
ArrayOfStringsSketch(Memory) - Constructor for class org.apache.datasketches.tuple.strings.ArrayOfStringsSketch
Constructs this sketch from a Memory image, which must be from an ArrayOfStringsSketch, and usually with data.
ArrayOfStringsSummary - Class in org.apache.datasketches.tuple.strings
 
ArrayOfStringsSummaryDeserializer - Class in org.apache.datasketches.tuple.strings
 
ArrayOfStringsSummaryDeserializer() - Constructor for class org.apache.datasketches.tuple.strings.ArrayOfStringsSummaryDeserializer
 
ArrayOfStringsSummaryFactory - Class in org.apache.datasketches.tuple.strings
 
ArrayOfStringsSummaryFactory() - Constructor for class org.apache.datasketches.tuple.strings.ArrayOfStringsSummaryFactory
 
ArrayOfStringsSummarySetOperations - Class in org.apache.datasketches.tuple.strings
 
ArrayOfStringsSummarySetOperations() - Constructor for class org.apache.datasketches.tuple.strings.ArrayOfStringsSummarySetOperations
 
ArrayOfUtf16StringsSerDe - Class in org.apache.datasketches
Methods of serializing and deserializing arrays of String.
ArrayOfUtf16StringsSerDe() - Constructor for class org.apache.datasketches.ArrayOfUtf16StringsSerDe
 
asDouble(long[]) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Returns a uniform random double with a minimum inclusive value of zero and a maximum exclusive value of 1.0.
asInt(long[], int) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Returns a deterministic uniform random integer between zero (inclusive) and n (exclusive) given the input data.
asInt(int[], int) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Returns a deterministic uniform random integer between zero (inclusive) and n (exclusive) given the input data.
asInt(byte[], int) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Returns a deterministic uniform random integer between zero (inclusive) and n (exclusive) given the input data.
asInt(long, int) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Returns a deterministic uniform random integer between zero (inclusive) and n (exclusive) given the input datum.
asInt(double, int) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Returns a deterministic uniform random integer between zero (inclusive) and n (exclusive) given the input double.
asInt(String, int) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Returns a deterministic uniform random integer between zero (inclusive) and n (exclusive) given the input datum.

B

BinomialBoundsN - Class in org.apache.datasketches
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.
BoundsOnBinomialProportions - Class in org.apache.datasketches
Confidence intervals for binomial proportions.
BoundsOnRatiosInSampledSets - Class in org.apache.datasketches
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
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.
build() - Method in class org.apache.datasketches.quantiles.DoublesSketchBuilder
Returns an UpdateDoublesSketch with the current configuration of this Builder.
build(WritableMemory) - Method in class org.apache.datasketches.quantiles.DoublesSketchBuilder
Returns a quantiles UpdateDoublesSketch with the current configuration of this builder and the specified backing destination Memory store.
build() - Method in class org.apache.datasketches.quantiles.DoublesUnionBuilder
Returns a new empty Union object with the current configuration of this Builder.
build(WritableMemory) - Method in class org.apache.datasketches.quantiles.DoublesUnionBuilder
Returns a new empty Union object with the current configuration of this Builder and the specified backing destination Memory store.
build(Family) - Method in class org.apache.datasketches.theta.SetOperationBuilder
Returns a SetOperation with the current configuration of this Builder and the given Family.
build(Family, WritableMemory) - Method in class org.apache.datasketches.theta.SetOperationBuilder
Returns a SetOperation with the current configuration of this Builder, the given Family and the given destination memory.
build() - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Returns an UpdateSketch with the current configuration of this Builder.
build(WritableMemory) - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Returns an UpdateSketch with the current configuration of this Builder with the specified backing destination Memory store.
build() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketchBuilder
Returns an ArrayOfDoublesUpdatableSketch with the current configuration of this Builder.
build(WritableMemory) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketchBuilder
Returns an ArrayOfDoublesUpdatableSketch with the current configuration of this Builder.
build() - Method in class org.apache.datasketches.tuple.UpdatableSketchBuilder
Returns an UpdatableSketch with the current configuration of this Builder.
buildANotB() - Method in class org.apache.datasketches.theta.SetOperationBuilder
Convenience method, returns a configured SetOperation ANotB with Default Update Seed
buildAnotB() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesSetOperationBuilder
Creates an instance of ArrayOfDoublesAnotB based on the current configuration of the builder.
builder() - Static method in class org.apache.datasketches.quantiles.DoublesSketch
Returns a new builder
builder() - Static method in class org.apache.datasketches.quantiles.DoublesUnion
Returns a new UnionBuilder
builder() - Static method in class org.apache.datasketches.theta.SetOperation
Makes a new builder
builder() - Static method in class org.apache.datasketches.theta.UpdateSketch
Returns a new builder
buildIntersection() - Method in class org.apache.datasketches.theta.SetOperationBuilder
Convenience method, returns a configured SetOperation Intersection with Default Nominal Entries
buildIntersection(WritableMemory) - Method in class org.apache.datasketches.theta.SetOperationBuilder
Convenience method, returns a configured SetOperation Intersection with Default Nominal Entries and the given destination memory.
buildIntersection() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesSetOperationBuilder
Creates an instance of ArrayOfDoublesIntersection based on the current configuration of the builder.
buildIntersection(WritableMemory) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesSetOperationBuilder
Creates an instance of ArrayOfDoublesIntersection based on the current configuration of the builder.
buildLocal(UpdateSketch) - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Returns a local, on-heap, concurrent UpdateSketch to be used as a per-thread local buffer along with the given concurrent shared UpdateSketch and the current configuration of this Builder.
buildShared() - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Returns an on-heap concurrent shared UpdateSketch with the current configuration of the Builder.
buildShared(WritableMemory) - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Returns a direct (potentially off-heap) concurrent shared UpdateSketch with the current configuration of the Builder and the given destination WritableMemory.
buildSharedFromSketch(UpdateSketch, WritableMemory) - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Returns a direct (potentially off-heap) concurrent shared UpdateSketch with the current configuration of the Builder, the data from the given sketch, and the given destination WritableMemory.
buildUnion() - Method in class org.apache.datasketches.theta.SetOperationBuilder
Convenience method, returns a configured SetOperation Union with Default Nominal Entries
buildUnion(WritableMemory) - Method in class org.apache.datasketches.theta.SetOperationBuilder
Convenience method, returns a configured SetOperation Union with Default Nominal Entries and the given destination memory.
buildUnion() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesSetOperationBuilder
Creates an instance of ArrayOfDoublesUnion based on the current configuration of the builder.
buildUnion(WritableMemory) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesSetOperationBuilder
Creates an instance of ArrayOfDoublesUnion based on the current configuration of the builder and the given memory.
ByteArrayUtil - Class in org.apache.datasketches
Useful methods for byte arrays.
ByteArrayUtil() - Constructor for class org.apache.datasketches.ByteArrayUtil
 
bytesToInt(byte[]) - Static method in class org.apache.datasketches.Util
Returns an int extracted from a Little-Endian byte array.
bytesToLong(byte[]) - Static method in class org.apache.datasketches.Util
Returns a long extracted from a Little-Endian byte array.
bytesToString(byte[], boolean, boolean, String) - Static method in class org.apache.datasketches.Util
Returns a string view of a byte array

C

ceilingPowerOf2(int) - Static method in class org.apache.datasketches.Util
Computes the ceiling power of 2 within the range [1, 2^30].
ceilingPowerOfBdouble(double, double) - Static method in class org.apache.datasketches.Util
Computes the ceiling power of B as a double.
characterPad(String, int, char, boolean) - Static method in class org.apache.datasketches.Util
Prepend or postpend the given string with the given character to fill the given field length.
checkFamilyID(int) - Method in enum org.apache.datasketches.Family
 
checkHashCorruption(long) - Static method in class org.apache.datasketches.HashOperations
 
checkIfMultipleOf8AndGT0(long, String) - Static method in class org.apache.datasketches.Util
Checks if parameter v is a multiple of 8 and greater than zero.
checkIfPowerOf2(int, String) - Static method in class org.apache.datasketches.Util
Checks the given parameter to make sure it is positive, an integer-power of 2 and greater than zero.
checkNomLongs(int) - Static method in class org.apache.datasketches.Util
Checks that the given nomLongs is within bounds and returns the Log2 of the ceiling power of 2 of the given nomLongs.
checkProbability(double, String) - Static method in class org.apache.datasketches.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.Util
Check if the two seed hashes are equal.
checkThetaCorruption(long) - Static method in class org.apache.datasketches.HashOperations
 
chunkContainingPos(long[], long) - Static method in class org.apache.datasketches.QuantilesHelper
This is written in terms of a plain array to facilitate testing.
combine(double[], double[]) - Method in interface org.apache.datasketches.tuple.ArrayOfDoublesCombiner
Method of combining two arrays of double values
compact() - Method in class org.apache.datasketches.quantiles.UpdateDoublesSketch
 
compact(WritableMemory) - Method in class org.apache.datasketches.quantiles.UpdateDoublesSketch
Returns a compact version of this sketch.
compact() - Method in class org.apache.datasketches.theta.CompactSketch
 
compact(boolean, WritableMemory) - Method in class org.apache.datasketches.theta.CompactSketch
 
compact() - Method in class org.apache.datasketches.theta.Sketch
Converts this sketch to an ordered CompactSketch on the Java heap.
compact(boolean, WritableMemory) - Method in class org.apache.datasketches.theta.Sketch
Convert this sketch to a CompactSketch in the chosen form.
compact() - Method in class org.apache.datasketches.theta.UpdateSketch
 
compact(boolean, WritableMemory) - Method in class org.apache.datasketches.theta.UpdateSketch
 
compact() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketch
Gets an on-heap compact representation of the sketch
compact(WritableMemory) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketch
Gets an off-heap compact representation of the sketch using the given memory
CompactDoublesSketch - Class in org.apache.datasketches.quantiles
 
CompactSketch - Class in org.apache.datasketches.theta
The parent class of all the CompactSketches.
CompactSketch() - Constructor for class org.apache.datasketches.theta.CompactSketch
 
CompactSketch<S extends Summary> - Class in org.apache.datasketches.tuple
CompactSketches are never created directly.
comparator_ - Variable in class org.apache.datasketches.quantiles.ItemsUnion
 
compareTo(Group) - Method in class org.apache.datasketches.fdt.Group
Note: this class has a natural ordering that is inconsistent with equals.
compareTo(ItemsSketch.Row<T>) - Method in class org.apache.datasketches.frequencies.ItemsSketch.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(LongsSketch.Row) - Method in class org.apache.datasketches.frequencies.LongsSketch.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.
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
 
computeBytesNeeded(int) - Static method in class org.apache.datasketches.ArrayOfBooleansSerDe
Computes number of bytes needed for packed bit encoding of the array of booleans.
computeSeedHash(long) - Static method in class org.apache.datasketches.Util
Computes and checks the 16-bit seed hash from the given long seed.
continueCondition(long, long) - Static method in class org.apache.datasketches.HashOperations
Return true (continue) if hash is greater than or equal to thetaLong, or if hash == 0, or if hash == Long.MAX_VALUE.
convertToPrecedingCummulative(long[]) - Static method in class org.apache.datasketches.QuantilesHelper
Convert the weights into totals of the weights preceding each item
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 interface org.apache.datasketches.tuple.Summary
Deep copy.
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.
count(long[], long) - Static method in class org.apache.datasketches.HashOperations
Counts the cardinality of the given source array.
countPart(long[], int, long) - Static method in class org.apache.datasketches.HashOperations
Counts the cardinality of the first Log2 values of the given source array.
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 Memory object, or on-heap represented as a byte array.
CpcWrapper(Memory) - Constructor for class org.apache.datasketches.cpc.CpcWrapper
Construct a read-only view of the given Memory that contains a CpcSketch
CpcWrapper(byte[]) - Constructor for class org.apache.datasketches.cpc.CpcWrapper
Construct a read-only view of the given byte array that contains a CpcSketch.
create(long) - Static method in class org.apache.datasketches.theta.SingleItemSketch
Create this sketch with a long.
create(double) - Static method in class org.apache.datasketches.theta.SingleItemSketch
Create this sketch with the given double (or float) datum.
create(String) - Static method in class org.apache.datasketches.theta.SingleItemSketch
Create this sketch with the given String.
create(byte[]) - Static method in class org.apache.datasketches.theta.SingleItemSketch
Create this sketch with the given byte array.
create(char[]) - Static method in class org.apache.datasketches.theta.SingleItemSketch
Create this sketch with the given char array.
create(int[]) - Static method in class org.apache.datasketches.theta.SingleItemSketch
Create this sketch with the given integer array.
create(long[]) - Static method in class org.apache.datasketches.theta.SingleItemSketch
Create this sketch with the given long array.
create(long, long) - Static method in class org.apache.datasketches.theta.SingleItemSketch
Create this sketch with a long and a seed.
create(double, long) - Static method in class org.apache.datasketches.theta.SingleItemSketch
Create this sketch with the given double (or float) datum and a seed.
create(String, long) - Static method in class org.apache.datasketches.theta.SingleItemSketch
Create this sketch with the given String and a seed.
create(byte[], long) - Static method in class org.apache.datasketches.theta.SingleItemSketch
Create this sketch with the given byte array and a seed.
create(char[], long) - Static method in class org.apache.datasketches.theta.SingleItemSketch
Create this sketch with the given char array and a seed.
create(int[], long) - Static method in class org.apache.datasketches.theta.SingleItemSketch
Create this sketch with the given integer array and a seed.
create(long[], long) - Static method in class org.apache.datasketches.theta.SingleItemSketch
Create this sketch with the given long array and a seed.
createEmptySketch() - Static method in class org.apache.datasketches.tuple.Sketches
 

D

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.KllFloatsSketch
The default value of K.
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.tuple.ArrayOfDoublesSetOperationBuilder
Default Nominal Entries (a.k.a.
DEFAULT_NOMINAL_ENTRIES - Static variable in class org.apache.datasketches.Util
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_NUMBER_OF_VALUES - Static variable in class org.apache.datasketches.tuple.ArrayOfDoublesSetOperationBuilder
Default number of values
DEFAULT_UPDATE_SEED - Static variable in class org.apache.datasketches.Util
The seed 9001 used in the sketch update methods is a prime number that was chosen very early on in experimental testing.
deserializeFromMemory(Memory, int) - Method in class org.apache.datasketches.ArrayOfBooleansSerDe
 
deserializeFromMemory(Memory, int) - Method in class org.apache.datasketches.ArrayOfDoublesSerDe
 
deserializeFromMemory(Memory, int) - Method in class org.apache.datasketches.ArrayOfItemsSerDe
Deserialize an array of items from a given Memory object.
deserializeFromMemory(Memory, int) - Method in class org.apache.datasketches.ArrayOfLongsSerDe
 
deserializeFromMemory(Memory, int) - Method in class org.apache.datasketches.ArrayOfNumbersSerDe
 
deserializeFromMemory(Memory, int) - Method in class org.apache.datasketches.ArrayOfStringsSerDe
 
deserializeFromMemory(Memory, int) - Method in class org.apache.datasketches.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.
dissimilarityTest(Sketch, Sketch, double) - Static method in class org.apache.datasketches.theta.JaccardSimilarity
Tests dissimilarity of a measured Sketch against an expected Sketch.
DoubleSketch - Class in org.apache.datasketches.tuple.adouble
 
DoubleSketch(int, DoubleSummary.Mode) - Constructor for class org.apache.datasketches.tuple.adouble.DoubleSketch
Constructs this sketch with given lgK.
DoubleSketch(int, int, float, DoubleSummary.Mode) - Constructor for class org.apache.datasketches.tuple.adouble.DoubleSketch
Creates this sketch with the following parameters:
DoubleSketch(Memory, DoubleSummary.Mode) - Constructor for class org.apache.datasketches.tuple.adouble.DoubleSketch
Constructs this sketch from a Memory image, which must be from an DoubleSketch, and usually with data.
DoublesSketch - Class in org.apache.datasketches.quantiles
This is a stochastic streaming sketch that enables near-real time analysis of the approximate distribution of real values from a very large stream in a single pass.
DoublesSketchBuilder - Class in org.apache.datasketches.quantiles
For building a new quantiles DoublesSketch.
DoublesSketchBuilder() - Constructor for class org.apache.datasketches.quantiles.DoublesSketchBuilder
Constructor for a new DoublesSketchBuilder.
DoublesSketchIterator - Class in org.apache.datasketches.quantiles
Iterator over DoublesSketch.
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 in org.apache.datasketches.tuple.adouble
The aggregation modes for this Summary
DoubleSummaryDeserializer - Class in org.apache.datasketches.tuple.adouble
 
DoubleSummaryDeserializer() - Constructor for class org.apache.datasketches.tuple.adouble.DoubleSummaryDeserializer
 
DoubleSummaryFactory - Class in org.apache.datasketches.tuple.adouble
Factory for DoubleSummary.
DoubleSummaryFactory() - Constructor for class org.apache.datasketches.tuple.adouble.DoubleSummaryFactory
Deprecated.
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
Deprecated.
DoubleSummarySetOperations(DoubleSummary.Mode) - Constructor for class org.apache.datasketches.tuple.adouble.DoubleSummarySetOperations
Creates an instance given a DoubleSummary update mode.
DoublesUnion - Class in org.apache.datasketches.quantiles
The API for Union operations for quantiles DoublesSketches
DoublesUnion() - Constructor for class org.apache.datasketches.quantiles.DoublesUnion
 
DoublesUnionBuilder - Class in org.apache.datasketches.quantiles
For building a new DoublesSketch Union operation.
DoublesUnionBuilder() - Constructor for class org.apache.datasketches.quantiles.DoublesUnionBuilder
Constructor for a new DoublesUnionBuilder.
downSample(DoublesSketch, int, WritableMemory) - Method in class org.apache.datasketches.quantiles.DoublesSketch
From an source sketch, create a new sketch that must have a smaller value of K.
downSample(int) - Method in class org.apache.datasketches.quantiles.ItemsSketch
From an existing sketch, this creates a new sketch that can have a smaller value of K.

E

equals(Object) - Method in class org.apache.datasketches.frequencies.ItemsSketch.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.LongsSketch.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.BoundsOnBinomialProportions
Computes an approximation to the erf() function.
ErrorType - Enum 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<T>) - 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<Long>) - 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<T>) - 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.BoundsOnBinomialProportions
Computes an estimate of an unknown binomial proportion.
evenlyLgSpaced(int, int, int) - Static method in class org.apache.datasketches.Util
Returns an int array of points that will be evenly spaced on a log axis.
exactlyEqual(Sketch, Sketch) - 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.

F

Family - Enum in org.apache.datasketches
Defines the various families of sketch and set operation classes.
fastHashInsertOnly(WritableMemory, int, long, int) - Static method in class org.apache.datasketches.HashOperations
This is a classical Knuth-style Open Addressing, Double Hash insert scheme, but inserts values directly into a Memory.
fastHashSearchOrInsert(WritableMemory, int, long, int) - Static method in class org.apache.datasketches.HashOperations
This is a classical Knuth-style Open Addressing, Double Hash insert scheme, but inserts values directly into a Memory.
FdtSketch - Class in org.apache.datasketches.fdt
A Frequent Distinct Tuples sketch.
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(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.
Filter<T extends Summary> - Class in org.apache.datasketches.tuple
Class for filtering entries from a Sketch given a Summary
Filter(Predicate<T>) - Constructor for class org.apache.datasketches.tuple.Filter
Filter constructor with a Predicate
filter(Sketch<T>) - Method in class org.apache.datasketches.tuple.Filter
Filters elements on the provided Sketch
floorPowerOf2(int) - Static method in class org.apache.datasketches.Util
Computes the floor power of 2 within the range [1, 2^30].
floorPowerOfBdouble(double, double) - Static method in class org.apache.datasketches.Util
Computes the floor power of B as a double.
fromMemory(Memory) - Static method in class org.apache.datasketches.tuple.adouble.DoubleSummary
Creates an instance of the DoubleSummary given a serialized representation
fromMemory(Memory) - Static method in class org.apache.datasketches.tuple.aninteger.IntegerSummary
Creates an instance of the IntegerSummary given a serialized representation
fromMemory(Memory) - Static method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSummary
 
fromOrdinal(int) - Static method in enum org.apache.datasketches.hll.TgtHllType
 

G

gadget_ - Variable in class org.apache.datasketches.quantiles.ItemsUnion
 
get() - Method in interface org.apache.datasketches.theta.HashIterator
Gets the hash value
getActiveEntries() - Method in class org.apache.datasketches.hllmap.UniqueCountMap
Returns the number of active, unique keys across all internal maps
getAprioriError(int, long) - Static method in class org.apache.datasketches.frequencies.ItemsSketch
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.LongsSketch
Returns the estimated a priori error given the maxMapSize for the sketch and the estimatedTotalStreamWeight.
getAverageSketchMemoryPerKey() - Method in class org.apache.datasketches.hllmap.UniqueCountMap
Returns the average memory storage per key that is dedicated to sketching the unique counts.
getCDF(float[]) - Method in class org.apache.datasketches.kll.KllFloatsSketch
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 splitPoint (values).
getCDF(double[]) - Method in class org.apache.datasketches.quantiles.DoublesSketch
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 splitPoint (values).
getCDF(T[]) - Method in class org.apache.datasketches.quantiles.ItemsSketch
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 splitPoints (values).
getCompactSerializationBytes() - Method in class org.apache.datasketches.hll.HllSketch
 
getCompactSerializationBytes() - Method in class org.apache.datasketches.hll.Union
 
getCompactStorageBytes() - Method in class org.apache.datasketches.quantiles.DoublesSketch
Returns the number of bytes this sketch would require to store in compact form, which is not updatable.
getCompactStorageBytes(int, long) - Static method in class org.apache.datasketches.quantiles.DoublesSketch
Returns the number of bytes a DoublesSketch would require to store in compact form given the values of k and n.
getCompositeEstimate() - Method in class org.apache.datasketches.hll.HllSketch
 
getCompositeEstimate() - Method in class org.apache.datasketches.hll.Union
 
getCount() - Method in class org.apache.datasketches.fdt.Group
 
getCountLessThanTheta(double) - Method in class org.apache.datasketches.theta.SingleItemSketch
 
getCountLessThanTheta(double) - Method in class org.apache.datasketches.theta.Sketch
Gets the number of hash values less than the given theta.
getCurrentBytes(boolean) - Method in class org.apache.datasketches.theta.SingleItemSketch
 
getCurrentBytes(boolean) - Method in class org.apache.datasketches.theta.Sketch
Returns the number of storage bytes required for this Sketch in its current state.
getCurrentMapCapacity() - Method in class org.apache.datasketches.frequencies.ItemsSketch
Returns the current number of counters the sketch is configured to support.
getCurrentMapCapacity() - Method in class org.apache.datasketches.frequencies.LongsSketch
Returns the current number of counters the sketch is configured to support.
getDoubleBE(byte[], int) - Static method in class org.apache.datasketches.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.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.DoublesUnion
Returns the effective k of this Union.
getEffectiveK() - Method in class org.apache.datasketches.quantiles.ItemsUnion
Returns the effective k of this Union.
getEpsilon(int) - Static method in class org.apache.datasketches.frequencies.ItemsSketch
Returns epsilon used to compute a priori error.
getEpsilon(int) - Static method in class org.apache.datasketches.frequencies.LongsSketch
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
 
getEstimate(T) - Method in class org.apache.datasketches.frequencies.ItemsSketch
Gets the estimate of the frequency of the given item.
getEstimate() - Method in class org.apache.datasketches.frequencies.ItemsSketch.Row
 
getEstimate(long) - Method in class org.apache.datasketches.frequencies.LongsSketch
Gets the estimate of the frequency of the given item.
getEstimate() - Method in class org.apache.datasketches.frequencies.LongsSketch.Row
 
getEstimate() - Method in class org.apache.datasketches.hll.HllSketch
 
getEstimate() - Method in class org.apache.datasketches.hll.Union
 
getEstimate(byte[]) - Method in class org.apache.datasketches.hllmap.UniqueCountMap
Retrieves the current estimate of unique count for a given key.
getEstimate() - Method in class org.apache.datasketches.sampling.SampleSubsetSummary
 
getEstimate() - Method in class org.apache.datasketches.theta.SingleItemSketch
 
getEstimate() - Method in class org.apache.datasketches.theta.Sketch
Gets the unique count estimate.
getEstimate(Memory) - Static method in class org.apache.datasketches.theta.Sketches
Gets the unique count estimate from a valid memory image of a Sketch
getEstimate() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesSketch
Estimates the cardinality of the set (number of unique values presented to the sketch)
getEstimate() - Method in class org.apache.datasketches.tuple.Sketch
Estimates the cardinality of the set (number of unique values presented to the sketch)
getEstimate(int) - Method in class org.apache.datasketches.tuple.Sketch
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.
getEstimateOfA(long, double) - Static method in class org.apache.datasketches.BoundsOnRatiosInSampledSets
Return the estimate of A.
getEstimateOfB(long, double) - Static method in class org.apache.datasketches.BoundsOnRatiosInSampledSets
Return the estimate of B.
getEstimateOfBoverA(long, long) - Static method in class org.apache.datasketches.BoundsOnRatiosInSampledSets
Return the estimate of b over a
getEstimateOfBoverA(Sketch, Sketch) - Static method in class org.apache.datasketches.BoundsOnRatiosInThetaSketchedSets
Gets the estimate for B over A
getEvenlySpacedRanks(int) - Static method in class org.apache.datasketches.QuantilesHelper
Compute an array of evenly spaced normalized ranks from 0 to 1 inclusive.
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.AnotB
 
getFamily() - Method in class org.apache.datasketches.theta.CompactSketch
 
getFamily() - Method in class org.apache.datasketches.theta.Intersection
 
getFamily() - Method in class org.apache.datasketches.theta.SetOperation
Gets the Family of this SetOperation
getFamily() - Method in class org.apache.datasketches.theta.Sketch
Returns the Family that this sketch belongs to
getFamily() - Method in class org.apache.datasketches.theta.Union
 
getFamily() - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Returns the Family
getFamilyName() - Method in enum org.apache.datasketches.Family
Returns the name for this family
getFloatBE(byte[], int) - Static method in class org.apache.datasketches.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.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
 
getFrequentItems(long, ErrorType) - Method in class org.apache.datasketches.frequencies.ItemsSketch
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.ItemsSketch
Returns an array of Rows that include frequent items, estimates, upper and lower bounds given an ErrorCondition and the default threshold.
getFrequentItems(long, ErrorType) - Method in class org.apache.datasketches.frequencies.LongsSketch
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.LongsSketch
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.
getHeader() - Method in class org.apache.datasketches.fdt.Group
 
getID() - Method in enum org.apache.datasketches.Family
Returns the byte ID for this family
getIndex() - Method in class org.apache.datasketches.hll.IntMemoryPairIterator
 
getInstance(Memory, ArrayOfItemsSerDe<T>) - Static method in class org.apache.datasketches.frequencies.ItemsSketch
Returns a sketch instance of this class from the given srcMem, which must be a Memory representation of this sketch class.
getInstance(Memory) - Static method in class org.apache.datasketches.frequencies.LongsSketch
Returns a sketch instance of this class from the given srcMem, which must be a Memory representation of this sketch class.
getInstance(String) - Static method in class org.apache.datasketches.frequencies.LongsSketch
Returns a sketch instance of this class from the given String, which must be a String representation of this sketch class.
getInstance(Comparator<? super T>) - Static method in class org.apache.datasketches.quantiles.ItemsSketch
Obtains a new instance of an ItemsSketch using the DEFAULT_K.
getInstance(int, Comparator<? super T>) - Static method in class org.apache.datasketches.quantiles.ItemsSketch
Obtains a new instance of an ItemsSketch.
getInstance(Memory, Comparator<? super T>, ArrayOfItemsSerDe<T>) - Static method in class org.apache.datasketches.quantiles.ItemsSketch
Heapifies the given srcMem, which must be a Memory image of a ItemsSketch
getInstance(Comparator<? super T>) - Static method in class org.apache.datasketches.quantiles.ItemsUnion
Create an instance of ItemsUnion with the default k
getInstance(int, Comparator<? super T>) - Static method in class org.apache.datasketches.quantiles.ItemsUnion
Create an instance of ItemsUnion
getInstance(Memory, Comparator<? super T>, ArrayOfItemsSerDe<T>) - Static method in class org.apache.datasketches.quantiles.ItemsUnion
Heapify the given srcMem into a Union object.
getInstance(ItemsSketch<T>) - Static method in class org.apache.datasketches.quantiles.ItemsUnion
Create an instance of ItemsUnion based on ItemsSketch
getIntBE(byte[], int) - Static method in class org.apache.datasketches.ByteArrayUtil
Get a int from the given byte array starting at the given offset in big endian order.
getIntLE(byte[], int) - Static method in class org.apache.datasketches.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.ItemsSketch.Row
 
getItem() - Method in class org.apache.datasketches.frequencies.LongsSketch.Row
 
getItem() - Method in class org.apache.datasketches.sampling.VarOptItemsSamples.WeightedSample
Accesses the iterator's current object
getK() - Method in class org.apache.datasketches.kll.KllFloatsSketch
Returns the parameter k
getK() - Method in class org.apache.datasketches.quantiles.DoublesSketch
Returns the configured value of K
getK() - Method in class org.apache.datasketches.quantiles.DoublesSketchBuilder
Gets the current configured value of k
getK() - Method in class org.apache.datasketches.quantiles.ItemsSketch
Returns the configured value of K
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.
getKey() - Method in class org.apache.datasketches.hll.IntMemoryPairIterator
 
getKey() - Method in interface org.apache.datasketches.tuple.ArrayOfDoublesSketchIterator
Gets a key from the current entry in the sketch, which is a hash of the original key passed to update().
getKey() - Method in class org.apache.datasketches.tuple.SketchIterator
Gets a key from the current entry in the sketch, which is a hash of the original key passed to update().
getKeyMemoryUsageBytes() - 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.KllFloatsSketch
Gets the approximate value of k to use given epsilon, the normalized rank error.
getKFromEpsilon(double, boolean) - Static method in class org.apache.datasketches.quantiles.DoublesSketch
Gets the approximate value of k to use given epsilon, the normalized rank error.
getKFromEpsilon(double, boolean) - Static method in class org.apache.datasketches.quantiles.ItemsSketch
Gets the approximate value of 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.Union
Gets the effective lgConfigK for the union 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.
getLgNominalEntries() - Method in class org.apache.datasketches.theta.SetOperationBuilder
Returns Log-base 2 Nominal Entries
getLgNominalEntries() - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Returns Log-base 2 Nominal Entries
getLgNomLongs() - Method in class org.apache.datasketches.theta.UpdateSketch
Gets the Log base 2 of the configured nominal entries
getLocalLgNominalEntries() - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Returns Log-base 2 Nominal Entries for the concurrent local sketch
getLongBE(byte[], int) - Static method in class org.apache.datasketches.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.ByteArrayUtil
Get a long from the given byte array starting at the given offset in little endian order.
getLowerBound(long, double, int, boolean) - Static method in class org.apache.datasketches.BinomialBoundsN
Returns the approximate lower bound value
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() - Method in class org.apache.datasketches.fdt.Group
 
getLowerBound(T) - Method in class org.apache.datasketches.frequencies.ItemsSketch
Gets the guaranteed lower bound frequency of the given item, which can never be negative.
getLowerBound() - Method in class org.apache.datasketches.frequencies.ItemsSketch.Row
 
getLowerBound(long) - Method in class org.apache.datasketches.frequencies.LongsSketch
Gets the guaranteed lower bound frequency of the given item, which can never be negative.
getLowerBound() - Method in class org.apache.datasketches.frequencies.LongsSketch.Row
 
getLowerBound(int) - Method in class org.apache.datasketches.hll.HllSketch
 
getLowerBound(int) - Method in class org.apache.datasketches.hll.Union
 
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() - Method in class org.apache.datasketches.sampling.SampleSubsetSummary
 
getLowerBound(int) - Method in class org.apache.datasketches.theta.SingleItemSketch
 
getLowerBound(int) - Method in class org.apache.datasketches.theta.Sketch
Gets the approximate lower error bound given the specified number of Standard Deviations.
getLowerBound(int, Memory) - Static method in class org.apache.datasketches.theta.Sketches
Gets the approximate lower error bound from a valid memory image of a Sketch given the specified number of Standard Deviations.
getLowerBound(int) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesSketch
Gets the approximate lower error bound given the specified number of Standard Deviations.
getLowerBound(int) - Method in class org.apache.datasketches.tuple.Sketch
Gets the approximate lower error bound given the specified number of Standard Deviations.
getLowerBound(int, int) - Method in class org.apache.datasketches.tuple.Sketch
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.
getLowerBoundForBoverA(long, long, double) - Static method in class org.apache.datasketches.BoundsOnRatiosInSampledSets
Return the approximate lower bound based on a 95% confidence interval
getLowerBoundForBoverA(Sketch, Sketch) - Static method in class org.apache.datasketches.BoundsOnRatiosInThetaSketchedSets
Gets the approximate lower bound for B over A based on a 95% confidence interval
getMaxBytes(int, int) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesUnion
 
getMaxCompactSketchBytes(int) - Static method in class org.apache.datasketches.theta.Sketch
Returns the maximum number of storage bytes required for a CompactSketch with the given number of actual entries.
getMaxCompactSketchBytes(int) - Static method in class org.apache.datasketches.theta.Sketches
getMaxConcurrencyError() - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Gets the Maximum Concurrency Error
getMaximumError() - Method in class org.apache.datasketches.frequencies.ItemsSketch
 
getMaximumError() - Method in class org.apache.datasketches.frequencies.LongsSketch
 
getMaximumMapCapacity() - Method in class org.apache.datasketches.frequencies.ItemsSketch
Returns the maximum number of counters the sketch is configured to support.
getMaximumMapCapacity() - Method in class org.apache.datasketches.frequencies.LongsSketch
Returns the maximum number of counters the sketch is configured to support.
getMaxIntersectionBytes(int) - Static method in class org.apache.datasketches.theta.SetOperation
Returns the maximum required storage bytes given a nomEntries parameter for Intersection operations
getMaxIntersectionBytes(int) - Static method in class org.apache.datasketches.theta.Sketches
getMaxK() - Method in class org.apache.datasketches.quantiles.DoublesUnion
Returns the configured maxK of this Union.
getMaxK() - Method in class org.apache.datasketches.quantiles.DoublesUnionBuilder
Gets the current configured value of maxK
getMaxK() - Method in class org.apache.datasketches.quantiles.ItemsUnion
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.UpdateSketchBuilder
Gets the Maximum Number of Local Threads.
getMaxPreLongs() - Method in enum org.apache.datasketches.Family
Returns the maximum preamble size for this family in longs
getMaxSerializationBytes(int) - Static method in class org.apache.datasketches.hll.Union
Returns the maximum size in bytes that this union 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) - Static method in class org.apache.datasketches.kll.KllFloatsSketch
Returns upper bound on the serialized size of a sketch given a parameter k and stream length.
getMaxUnionBytes(int) - Static method in class org.apache.datasketches.theta.SetOperation
Returns the maximum required storage bytes given a nomEntries parameter for Union operations
getMaxUnionBytes(int) - Static method in class org.apache.datasketches.theta.Sketches
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.Sketch
Returns the maximum number of storage bytes required for an UpdateSketch with the given number of nominal entries (power of 2).
getMaxUpdateSketchBytes(int) - Static method in class org.apache.datasketches.theta.Sketches
getMaxValue() - Method in class org.apache.datasketches.kll.KllFloatsSketch
Returns the max value of the stream.
getMaxValue() - Method in class org.apache.datasketches.quantiles.DoublesSketch
Returns the max value of the stream.
getMaxValue() - Method in class org.apache.datasketches.quantiles.ItemsSketch
Returns the max value of the stream
getMemoryRequestServer() - Method in class org.apache.datasketches.theta.SetOperationBuilder
Returns the MemoryRequestServer
getMemoryRequestServer() - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Returns the MemoryRequestServer
getMemoryUsageBytes() - Method in class org.apache.datasketches.hllmap.UniqueCountMap
Returns total bytes used by all internal maps
getMinPreLongs() - Method in enum org.apache.datasketches.Family
Returns the minimum preamble size for this family in longs
getMinValue() - Method in class org.apache.datasketches.kll.KllFloatsSketch
Returns the min value of the stream.
getMinValue() - Method in class org.apache.datasketches.quantiles.DoublesSketch
Returns the min value of the stream.
getMinValue() - Method in class org.apache.datasketches.quantiles.ItemsSketch
Returns the min value of the stream
getN() - Method in class org.apache.datasketches.kll.KllFloatsSketch
Returns the length of the input stream.
getN() - Method in class org.apache.datasketches.quantiles.DoublesSketch
Returns the length of the input stream so far.
getN() - Method in class org.apache.datasketches.quantiles.ItemsSketch
Returns the length of the input stream so far.
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
getNominalEntries() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketch
Gets the configured nominal number of entries
getNormalizedRankError() - Method in class org.apache.datasketches.kll.KllFloatsSketch
getNormalizedRankError(boolean) - Method in class org.apache.datasketches.kll.KllFloatsSketch
Gets the approximate rank error of this sketch normalized as a fraction between zero and one.
getNormalizedRankError(int) - Static method in class org.apache.datasketches.kll.KllFloatsSketch
getNormalizedRankError(int, boolean) - Static method in class org.apache.datasketches.kll.KllFloatsSketch
Gets the normalized rank error given k and pmf.
getNormalizedRankError() - Method in class org.apache.datasketches.quantiles.DoublesSketch
getNormalizedRankError(boolean) - Method in class org.apache.datasketches.quantiles.DoublesSketch
Gets the approximate rank error of this sketch normalized as a fraction between zero and one.
getNormalizedRankError(int) - Static method in class org.apache.datasketches.quantiles.DoublesSketch
getNormalizedRankError(int, boolean) - Static method in class org.apache.datasketches.quantiles.DoublesSketch
Gets the normalized rank error given k and pmf.
getNormalizedRankError() - Method in class org.apache.datasketches.quantiles.ItemsSketch
Deprecated.
getNormalizedRankError(boolean) - Method in class org.apache.datasketches.quantiles.ItemsSketch
Gets the approximate rank error of this sketch normalized as a fraction between zero and one.
getNormalizedRankError(int) - Static method in class org.apache.datasketches.quantiles.ItemsSketch
Deprecated.
getNormalizedRankError(int, boolean) - Static method in class org.apache.datasketches.quantiles.ItemsSketch
Gets the normalized rank error given k and pmf.
getNumActiveItems() - Method in class org.apache.datasketches.frequencies.ItemsSketch
 
getNumActiveItems() - Method in class org.apache.datasketches.frequencies.LongsSketch
 
getNumPoolThreads() - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Gets the number of background pool threads used for propagation in the concurrent sketches.
getNumRetained() - Method in class org.apache.datasketches.kll.KllFloatsSketch
Returns the number of retained items (samples) in the sketch.
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.ArrayOfDoublesSketch
 
getObject() - Method in class org.apache.datasketches.tuple.DeserializeResult
 
getP() - Method in class org.apache.datasketches.theta.SetOperationBuilder
Returns the pre-sampling probability p
getP() - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Returns the pre-sampling probability p
getPair() - Method in class org.apache.datasketches.hll.IntMemoryPairIterator
 
getPMF(float[]) - Method in class org.apache.datasketches.kll.KllFloatsSketch
Returns an approximation to the Probability Mass Function (PMF) of the input stream given a set of splitPoints (values).
getPMF(double[]) - Method in class org.apache.datasketches.quantiles.DoublesSketch
Returns an approximation to the Probability Mass Function (PMF) of the input stream given a set of splitPoints (values).
getPMF(T[]) - Method in class org.apache.datasketches.quantiles.ItemsSketch
Returns an approximation to the Probability Mass Function (PMF) of the input stream given a set of splitPoints (values).
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.
getPrimaryKey() - Method in class org.apache.datasketches.fdt.Group
 
getPropagateOrderedCompact() - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Gets the Propagate Ordered Compact flag used with concurrent sketches.
getQuantile(double) - Method in class org.apache.datasketches.kll.KllFloatsSketch
Returns an approximation to the value of the data item that would be preceded by the given fraction of a hypothetical sorted version of the input stream so far.
getQuantile(double) - Method in class org.apache.datasketches.quantiles.DoublesSketch
This returns an approximation to the value of the data item that would be preceded by the given fraction of a hypothetical sorted version of the input stream so far.
getQuantile(double) - Method in class org.apache.datasketches.quantiles.ItemsSketch
This returns an approximation to the value of the data item that would be preceded by the given fraction of a hypothetical sorted version of the input stream so far.
getQuantileLowerBound(double) - Method in class org.apache.datasketches.kll.KllFloatsSketch
Gets the lower bound of the value interval in which the true quantile of the given rank exists with a confidence of at least 99%.
getQuantileLowerBound(double) - Method in class org.apache.datasketches.quantiles.DoublesSketch
Gets the lower bound of the value interval in which the true quantile of the given rank exists with a confidence of at least 99%.
getQuantileLowerBound(double) - Method in class org.apache.datasketches.quantiles.ItemsSketch
Gets the lower bound of the value interval in which the true quantile of the given rank exists with a confidence of at least 99%.
getQuantiles(double[]) - Method in class org.apache.datasketches.kll.KllFloatsSketch
This is a more efficient multiple-query version of getQuantile().
getQuantiles(int) - Method in class org.apache.datasketches.kll.KllFloatsSketch
This is also a more efficient multiple-query version of getQuantile() and allows the caller to specify the number of evenly spaced fractional ranks.
getQuantiles(double[]) - Method in class org.apache.datasketches.quantiles.DoublesSketch
This is a more efficient multiple-query version of getQuantile().
getQuantiles(int) - Method in class org.apache.datasketches.quantiles.DoublesSketch
This is also a more efficient multiple-query version of getQuantile() and allows the caller to specify the number of evenly spaced fractional ranks.
getQuantiles(double[]) - Method in class org.apache.datasketches.quantiles.ItemsSketch
This is a more efficient multiple-query version of getQuantile().
getQuantiles(int) - Method in class org.apache.datasketches.quantiles.ItemsSketch
This is also a more efficient multiple-query version of getQuantile() and allows the caller to specify the number of evenly spaced fractional ranks.
getQuantileUpperBound(double) - Method in class org.apache.datasketches.kll.KllFloatsSketch
Gets the upper bound of the value interval in which the true quantile of the given rank exists with a confidence of at least 99%.
getQuantileUpperBound(double) - Method in class org.apache.datasketches.quantiles.DoublesSketch
Gets the upper bound of the value interval in which the true quantile of the given rank exists with a confidence of at least 99%.
getQuantileUpperBound(double) - Method in class org.apache.datasketches.quantiles.ItemsSketch
Gets the upper bound of the value interval in which the true quantile of the given rank exists with a confidence of at least 99%.
getRank(float) - Method in class org.apache.datasketches.kll.KllFloatsSketch
Returns an approximation to the normalized (fractional) rank of the given value from 0 to 1, inclusive.
getRank(double) - Method in class org.apache.datasketches.quantiles.DoublesSketch
Returns an approximation to the normalized (fractional) rank of the given value from 0 to 1 inclusive.
getRank(T) - Method in class org.apache.datasketches.quantiles.ItemsSketch
Returns an approximation to the normalized (fractional) rank of the given value from 0 to 1 inclusive.
getResizeFactor() - Method in class org.apache.datasketches.theta.SetOperationBuilder
Returns the Resize Factor
getResizeFactor() - Method in class org.apache.datasketches.theta.UpdateSketch
Returns the configured ResizeFactor
getResizeFactor() - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Returns the Resize Factor
getResizeFactor() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketch
Gets the configured resize factor
getResourceBytes(String) - Static method in class org.apache.datasketches.Util
Returns a byte array of the contents of the file defined by the given resource file's shortFileName.
getResourceFile(String) - Static method in class org.apache.datasketches.Util
Gets the file defined by the given resource file's shortFileName.
getResourcePath(String) - Static method in class org.apache.datasketches.Util
Gets the absolute path of the given resource file's shortName.
getResult() - Method in class org.apache.datasketches.cpc.CpcUnion
Returns the result of union operations as a CPC sketch.
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() - Method in class org.apache.datasketches.hll.Union
Return the result of this union operator as an HLL_4 sketch.
getResult(TgtHllType) - Method in class org.apache.datasketches.hll.Union
Return the result of this union operator with the specified TgtHllType
getResult() - Method in class org.apache.datasketches.quantiles.DoublesUnion
Gets the result of this Union as an UpdateDoublesSketch, which enables further update operations on the resulting sketch.
getResult(WritableMemory) - Method in class org.apache.datasketches.quantiles.DoublesUnion
Places the result of this Union into the provided memory as an UpdateDoublesSketch, which enables further update operations on the resulting sketch.
getResult() - Method in class org.apache.datasketches.quantiles.ItemsUnion
Gets the result of this Union operation as a copy of the internal state.
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.AnotB
Gets the result of this operation as an ordered CompactSketch on the Java heap
getResult(boolean, WritableMemory) - Method in class org.apache.datasketches.theta.AnotB
Gets the result of this set operation as a CompactSketch of the chosen form
getResult(boolean, WritableMemory) - Method in class org.apache.datasketches.theta.Intersection
Gets the result of this operation as a CompactSketch of the chosen form.
getResult() - Method in class org.apache.datasketches.theta.Intersection
Gets the result of this operation as an ordered CompactSketch on the Java heap.
getResult(boolean, WritableMemory) - Method in class org.apache.datasketches.theta.Union
Gets the result of this operation as a CompactSketch of the chosen form.
getResult() - Method in class org.apache.datasketches.theta.Union
Gets the result of this operation as an ordered CompactSketch on the Java heap.
getResult() - Method in class org.apache.datasketches.tuple.AnotB
Gets the result of this operation
getResult() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesAnotB
Gets the result of this operation in the form of a ArrayOfDoublesCompactSketch
getResult(WritableMemory) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesAnotB
Gets the result of this operation in the form of a ArrayOfDoublesCompactSketch
getResult(WritableMemory) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesIntersection
Gets the internal set as an off-heap compact sketch using the given memory.
getResult() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesIntersection
Gets the internal set as an on-heap compact sketch.
getResult(WritableMemory) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUnion
Returns the resulting union in the form of a compact sketch
getResult() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUnion
Returns the resulting union in the form of a compact sketch
getResult() - Method in class org.apache.datasketches.tuple.Intersection
Gets the internal set as a CompactSketch
getResult() - Method in class org.apache.datasketches.tuple.Union
Gets the internal set as a CompactSketch
getResultAndReset() - Method in class org.apache.datasketches.quantiles.DoublesUnion
Gets the result of this Union as an UpdateDoublesSketch, which enables further update operations on the resulting sketch.
getResultAndReset() - Method in class org.apache.datasketches.quantiles.ItemsUnion
Gets the result of this Union operation (without a copy) and resets this Union to the virgin state.
getRetainedEntries(boolean) - Method in class org.apache.datasketches.theta.SingleItemSketch
 
getRetainedEntries() - Method in class org.apache.datasketches.theta.Sketch
Returns the number of valid entries that have been retained by the sketch.
getRetainedEntries(boolean) - Method in class org.apache.datasketches.theta.Sketch
Returns the number of entries that have been retained by the sketch.
getRetainedEntries() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesSketch
 
getRetainedEntries() - Method in class org.apache.datasketches.tuple.CompactSketch
 
getRetainedEntries() - Method in class org.apache.datasketches.tuple.Sketch
 
getRetainedItems() - Method in class org.apache.datasketches.quantiles.DoublesSketch
Computes the number of retained items (samples) in the sketch
getRetainedItems() - Method in class org.apache.datasketches.quantiles.ItemsSketch
Computes the number of retained entries (samples) in the sketch
getRF(int) - Static method in enum org.apache.datasketches.ResizeFactor
Returns the Resize Factor given the Log-base 2 of the Resize Factor
getRowHeader() - Static method in class org.apache.datasketches.frequencies.ItemsSketch.Row
 
getRowHeader() - Static method in class org.apache.datasketches.frequencies.LongsSketch.Row
 
getRse() - Method in class org.apache.datasketches.fdt.Group
 
getSamples() - Method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Returns a copy of the items in the reservoir, or null if empty.
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.
getSamples() - Method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Returns a copy of the items in the reservoir.
getSamplingProbability() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketch
Gets the configured sampling probability
getSeed() - Method in class org.apache.datasketches.theta.SetOperationBuilder
Returns the seed
getSeed() - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Returns the seed
getSerializationVersion(Memory) - Static method in class org.apache.datasketches.theta.Sketch
Returns the serialization version from the given Memory
getSerializationVersion(Memory) - Static method in class org.apache.datasketches.theta.Sketches
getSerializedSizeBytes() - Method in class org.apache.datasketches.kll.KllFloatsSketch
Returns the number of bytes this sketch would require to store.
getShortBE(byte[], int) - Static method in class org.apache.datasketches.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.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
 
getSketchSamples() - Method in class org.apache.datasketches.sampling.VarOptItemsSketch
Gets a result iterator object.
getSlot() - Method in class org.apache.datasketches.hll.IntMemoryPairIterator
 
getStorageBytes() - Method in class org.apache.datasketches.frequencies.LongsSketch
Returns the number of bytes required to store this sketch as an array of bytes.
getStorageBytes() - Method in class org.apache.datasketches.quantiles.DoublesSketch
Returns the number of bytes this sketch would require to store in native form: compact for a CompactDoublesSketch, non-compact for an UpdateDoublesSketch.
getStreamLength() - Method in class org.apache.datasketches.frequencies.ItemsSketch
Returns the sum of the frequencies in the stream seen so far by the sketch
getStreamLength() - Method in class org.apache.datasketches.frequencies.LongsSketch
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.SketchIterator
Gets a Summary object from the current entry in the sketch.
getTgtHllType() - Method in class org.apache.datasketches.hll.HllSketch
 
getTgtHllType() - Method in class org.apache.datasketches.hll.Union
 
getTheta() - Method in class org.apache.datasketches.theta.Sketch
Gets the value of theta as a double with a value between zero and one
getTheta() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesSketch
Gets the value of theta as a double between zero and one
getTheta() - Method in class org.apache.datasketches.tuple.Sketch
Gets the value of theta as a double between zero and one
getThetaLong() - Method in class org.apache.datasketches.theta.SingleItemSketch
 
getThetaLong() - Method in class org.apache.datasketches.theta.Sketch
Gets the value of theta as a long
getThetaLong() - Method in class org.apache.datasketches.tuple.Sketch
Returns Theta as a long
getTotalSketchWeight() - Method in class org.apache.datasketches.sampling.SampleSubsetSummary
 
getUpdatableSerializationBytes() - Method in class org.apache.datasketches.hll.HllSketch
 
getUpdatableSerializationBytes() - Method in class org.apache.datasketches.hll.Union
 
getUpdatableStorageBytes() - Method in class org.apache.datasketches.quantiles.DoublesSketch
Returns the number of bytes this sketch would require to store in updatable form.
getUpdatableStorageBytes(int, long) - Static method in class org.apache.datasketches.quantiles.DoublesSketch
Returns the number of bytes a sketch would require to store in updatable form.
getUpperBound(long, double, int, boolean) - Static method in class org.apache.datasketches.BinomialBoundsN
Returns the approximate upper bound value
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() - Method in class org.apache.datasketches.fdt.Group
 
getUpperBound(T) - Method in class org.apache.datasketches.frequencies.ItemsSketch
Gets the guaranteed upper bound frequency of the given item.
getUpperBound() - Method in class org.apache.datasketches.frequencies.ItemsSketch.Row
 
getUpperBound(long) - Method in class org.apache.datasketches.frequencies.LongsSketch
Gets the guaranteed upper bound frequency of the given item.
getUpperBound() - Method in class org.apache.datasketches.frequencies.LongsSketch.Row
 
getUpperBound(int) - Method in class org.apache.datasketches.hll.HllSketch
 
getUpperBound(int) - Method in class org.apache.datasketches.hll.Union
 
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() - Method in class org.apache.datasketches.sampling.SampleSubsetSummary
 
getUpperBound(int) - Method in class org.apache.datasketches.theta.SingleItemSketch
 
getUpperBound(int) - Method in class org.apache.datasketches.theta.Sketch
Gets the approximate upper error bound given the specified number of Standard Deviations.
getUpperBound(int, Memory) - Static method in class org.apache.datasketches.theta.Sketches
Gets the approximate upper error bound from a valid memory image of a Sketch given the specified number of Standard Deviations.
getUpperBound(int) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesSketch
Gets the approximate upper error bound given the specified number of Standard Deviations.
getUpperBound(int) - Method in class org.apache.datasketches.tuple.Sketch
Gets the approximate upper error bound given the specified number of Standard Deviations.
getUpperBound(int, int) - Method in class org.apache.datasketches.tuple.Sketch
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.
getUpperBoundForBoverA(long, long, double) - Static method in class org.apache.datasketches.BoundsOnRatiosInSampledSets
Return the approximate upper bound based on a 95% confidence interval
getUpperBoundForBoverA(Sketch, Sketch) - Static method in class org.apache.datasketches.BoundsOnRatiosInThetaSketchedSets
Gets the approximate upper bound for B over A based on a 95% confidence interval
getValue() - Method in class org.apache.datasketches.hll.IntMemoryPairIterator
 
getValue() - Method in class org.apache.datasketches.kll.KllFloatsSketchIterator
Gets a value from the current entry in the sketch.
getValue() - Method in class org.apache.datasketches.quantiles.DoublesSketchIterator
Gets a value from the current entry in the sketch.
getValue() - Method in class org.apache.datasketches.quantiles.ItemsSketchIterator
Gets a value from the current entry in the sketch.
getValue() - Method in enum org.apache.datasketches.ResizeFactor
Returns the Resize Factor
getValue() - Method in class org.apache.datasketches.tuple.adouble.DoubleSummary
 
getValue() - Method in class org.apache.datasketches.tuple.aninteger.IntegerSummary
 
getValue() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSummary
 
getValues() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesSketch
 
getValues() - Method in interface org.apache.datasketches.tuple.ArrayOfDoublesSketchIterator
Gets an array of values from the current entry in the sketch.
getWeight() - Method in class org.apache.datasketches.kll.KllFloatsSketchIterator
Gets a weight for the value from the current entry in the sketch.
getWeight() - Method in class org.apache.datasketches.quantiles.DoublesSketchIterator
Gets a weight for the value from the current entry in the sketch.
getWeight() - Method in class org.apache.datasketches.quantiles.ItemsSketchIterator
Gets a weight for the value from the current entry in the sketch.
getWeight() - Method in class org.apache.datasketches.sampling.VarOptItemsSamples.WeightedSample
Accesses the iterator's current weight value
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

H

hash(long[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3
Returns a long array of size 2, which is a 128-bit hash of the input.
hash(int[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3
Returns a long array of size 2, which is a 128-bit hash of the input.
hash(char[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3
Returns a long array of size 2, which is a 128-bit hash of the input.
hash(byte[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3
Returns a long array of size 2, which is a 128-bit hash of the input.
hash(long[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3v2
Returns a 128-bit hash of the input.
hash(int[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3v2
Returns a 128-bit hash of the input.
hash(char[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3v2
Returns a 128-bit hash of the input.
hash(byte[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3v2
Returns a 128-bit hash of the input.
hash(long, long, long[]) - Static method in class org.apache.datasketches.hash.MurmurHash3v2
Returns a 128-bit hash of the input.
hash(double, long, long[]) - Static method in class org.apache.datasketches.hash.MurmurHash3v2
Returns a 128-bit hash of the input.
hash(String, long, long[]) - Static method in class org.apache.datasketches.hash.MurmurHash3v2
Returns a 128-bit hash of the input.
hash(Memory, long, long, long, long[]) - Static method in class org.apache.datasketches.hash.MurmurHash3v2
Returns a 128-bit hash of the input as a long array of size 2.
hash(Memory, long, long, long) - Static method in class org.apache.datasketches.hash.XxHash
Compute the hash of the given Memory object.
hash(long, long) - Static method in class org.apache.datasketches.hash.XxHash
Returns a 64-bit hash.
hashArrayInsert(long[], long[], int, long) - Static method in class org.apache.datasketches.HashOperations
Inserts the given long array into the given hash table array of the target size, removes any negative input values, ignores duplicates and counts the values inserted.
hashCode() - Method in class org.apache.datasketches.frequencies.ItemsSketch.Row
This hashCode is computed only from the Row.getEstimate() value.
hashCode() - Method in class org.apache.datasketches.frequencies.LongsSketch.Row
This hashCode is computed only from the Row.getEstimate() value.
hashCode() - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSummary
 
hashInsertOnly(long[], int, long) - Static method in class org.apache.datasketches.HashOperations
This is a classical Knuth-style Open Addressing, Double Hash insert scheme for on-heap.
HashIterator - Interface in org.apache.datasketches.theta
This is used to iterate over the retained hash values of the Theta sketch.
HashOperations - Class in org.apache.datasketches
Helper class for the common hash table methods.
hashSearch(long[], int, long) - Static method in class org.apache.datasketches.HashOperations
This is a classical Knuth-style Open Addressing, Double Hash search scheme for on-heap.
hashSearch(Memory, int, long, int) - Static method in class org.apache.datasketches.HashOperations
This is a classical Knuth-style Open Addressing, Double Hash search scheme for off-heap.
hashSearchOrInsert(long[], int, long) - Static method in class org.apache.datasketches.HashOperations
This is a classical Knuth-style Open Addressing, Double Hash insert scheme for on-heap.
hashToBytes(long, long) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Hash a long and long seed.
hashToBytes(long[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Hash a long[] and long seed.
hashToBytes(int[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Hash an int[] and long seed.
hashToBytes(char[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Hash a char[] and long seed.
hashToBytes(byte[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Hash a byte[] and long seed.
hashToBytes(double, long) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Hash a double and long seed.
hashToBytes(String, long) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Hash a String and long seed.
hashToLongs(long, long) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Hash a long and long seed.
hashToLongs(long[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Hash a long[] and long seed.
hashToLongs(int[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Hash a int[] and long seed.
hashToLongs(char[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Hash a char[] and long seed.
hashToLongs(byte[], long) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Hash a byte[] and long seed.
hashToLongs(double, long) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Hash a double and long seed.
hashToLongs(String, long) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Hash a String and long seed.
hasMemory() - Method in class org.apache.datasketches.theta.SingleItemSketch
 
hasMemory() - Method in class org.apache.datasketches.theta.Sketch
Returns true if this sketch's data structure is backed by Memory or WritableMemory.
hasNext() - Method in class org.apache.datasketches.sampling.VarOptItemsSamples.VarOptItemsIterator
 
hasResult() - Method in class org.apache.datasketches.theta.Intersection
Returns true if there is an intersection result available
heapify(Memory) - Static method in class org.apache.datasketches.cpc.CpcSketch
Return the given Memory as a CpcSketch on the Java heap using the DEFAULT_UPDATE_SEED.
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(Memory, long) - Static method in class org.apache.datasketches.cpc.CpcSketch
Return the given Memory as a CpcSketch on the Java heap.
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(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(Memory) - Static method in class org.apache.datasketches.hll.HllSketch
Heapify the given Memory, which must be a valid HllSketch image and may have data.
heapify(byte[]) - Static method in class org.apache.datasketches.hll.Union
Construct a union operator populated with the given byte array image of an HllSketch.
heapify(Memory) - Static method in class org.apache.datasketches.hll.Union
Construct a union operator populated with the given Memory image of an HllSketch.
heapify(Memory) - Static method in class org.apache.datasketches.kll.KllFloatsSketch
Heapify takes the sketch image in Memory and instantiates an on-heap sketch.
heapify(Memory) - Static method in class org.apache.datasketches.quantiles.CompactDoublesSketch
 
heapify(Memory) - Static method in class org.apache.datasketches.quantiles.DoublesSketch
Heapify takes the sketch image in Memory and instantiates an on-heap Sketch.
heapify(DoublesSketch) - Static method in class org.apache.datasketches.quantiles.DoublesUnion
Returns a Heap Union object that has been initialized with the data from the given sketch.
heapify(Memory) - Static method in class org.apache.datasketches.quantiles.DoublesUnion
Returns a Heap Union object that has been initialized with the data from the given memory image of a sketch.
heapify(DoublesSketch) - Static method in class org.apache.datasketches.quantiles.DoublesUnionBuilder
Deprecated.
moved to DoublesUnion
heapify(Memory) - Static method in class org.apache.datasketches.quantiles.DoublesUnionBuilder
Deprecated.
moved to DoublesUnion
heapify(Memory) - Static method in class org.apache.datasketches.quantiles.UpdateDoublesSketch
 
heapify(Memory, ArrayOfItemsSerDe<T>) - Static method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Returns a sketch instance of this class from the given srcMem, which must be a Memory representation of this sketch class.
heapify(Memory, ArrayOfItemsSerDe<T>) - Static method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Instantiates a Union from Memory
heapify(Memory) - Static method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Returns a sketch instance of this class from the given srcMem, which must be a Memory representation of this sketch class.
heapify(Memory) - Static method in class org.apache.datasketches.sampling.ReservoirLongsUnion
Instantiates a Union from Memory
heapify(Memory, ArrayOfItemsSerDe<T>) - Static method in class org.apache.datasketches.sampling.VarOptItemsSketch
Returns a sketch instance of this class from the given srcMem, which must be a Memory representation of this sketch class.
heapify(Memory, ArrayOfItemsSerDe<T>) - Static method in class org.apache.datasketches.sampling.VarOptItemsUnion
Instantiates a Union from Memory
heapify(Memory) - Static method in class org.apache.datasketches.theta.SetOperation
Heapify takes the SetOperations image in Memory and instantiates an on-heap SetOperation using the Default Update Seed.
heapify(Memory, long) - Static method in class org.apache.datasketches.theta.SetOperation
Heapify takes the SetOperation image in Memory and instantiates an on-heap SetOperation using the given seed.
heapify(Memory) - Static method in class org.apache.datasketches.theta.SingleItemSketch
Creates a SingleItemSketch on the heap given a SingleItemSketch Memory image and assumes the DEFAULT_UPDATE_SEED.
heapify(Memory, long) - Static method in class org.apache.datasketches.theta.SingleItemSketch
Creates a SingleItemSketch on the heap given a SingleItemSketch Memory image and a seed.
heapify(Memory) - Static method in class org.apache.datasketches.theta.Sketch
Heapify takes the sketch image in Memory and instantiates an on-heap Sketch using the Default Update Seed.
heapify(Memory, long) - Static method in class org.apache.datasketches.theta.Sketch
Heapify takes the sketch image in Memory and instantiates an on-heap Sketch using the given seed.
heapify(Memory) - Static method in class org.apache.datasketches.theta.UpdateSketch
Instantiates an on-heap UpdateSketch from Memory.
heapify(Memory, long) - Static method in class org.apache.datasketches.theta.UpdateSketch
Instantiates an on-heap UpdateSketch from Memory.
heapify(Memory) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketch
Heapify the given Memory as an ArrayOfDoublesSketch
heapify(Memory, long) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketch
Heapify the given Memory and seed as a ArrayOfDoublesSketch
heapify(Memory) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesUnion
Heapify the given Memory as an ArrayOfDoublesUnion
heapify(Memory, long) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesUnion
Heapify the given Memory and seed as an ArrayOfDoublesUnion
heapify(Memory) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketch
Heapify the given Memory as an ArrayOfDoublesUpdatableSketch
heapify(Memory, long) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketch
Heapify the given Memory and seed as a ArrayOfDoublesUpdatableSketch
heapifySetOperation(Memory) - Static method in class org.apache.datasketches.theta.Sketches
heapifySetOperation(Memory, long) - Static method in class org.apache.datasketches.theta.Sketches
heapifySketch(Memory) - Static method in class org.apache.datasketches.theta.Sketches
heapifySketch(Memory, long) - Static method in class org.apache.datasketches.theta.Sketches
heapifySketch(Memory) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketches
Heapify the given Memory as an ArrayOfDoublesSketch
heapifySketch(Memory, long) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketches
Heapify the given Memory and seed as a ArrayOfDoublesSketch
heapifySketch(Memory, SummaryDeserializer<S>) - Static method in class org.apache.datasketches.tuple.Sketches
Instantiate Sketch from a given Memory
heapifySummary(Memory) - Method in class org.apache.datasketches.tuple.adouble.DoubleSummaryDeserializer
 
heapifySummary(Memory) - Method in class org.apache.datasketches.tuple.aninteger.IntegerSummaryDeserializer
 
heapifySummary(Memory) - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSummaryDeserializer
 
heapifySummary(Memory) - Method in interface org.apache.datasketches.tuple.SummaryDeserializer
This is to create an instance of a Summary given a serialized representation.
heapifyUnion(Memory) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketches
Heapify the given Memory as an ArrayOfDoublesUnion
heapifyUnion(Memory, long) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketches
Heapify the given Memory and seed as an ArrayOfDoublesUnion
heapifyUpdatableSketch(Memory) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketches
Heapify the given Memory as an ArrayOfDoublesUpdatableSketch
heapifyUpdatableSketch(Memory, long) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketches
Heapify the given Memory and seed as a ArrayOfDoublesUpdatableSketch
heapifyUpdatableSketch(Memory, SummaryDeserializer<S>, SummaryFactory<S>) - Static method in class org.apache.datasketches.tuple.Sketches
Instantiate UpdatableSketch from a given Memory
heapifyUpdateSketch(Memory) - Static method in class org.apache.datasketches.theta.Sketches
heapifyUpdateSketch(Memory, long) - Static method in class org.apache.datasketches.theta.Sketches
HllSketch - Class in org.apache.datasketches.hll
This is a high performance implementation of Phillipe Flajolet’s HLL sketch but with significantly improved error behavior.
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, WritableMemory) - Constructor for class org.apache.datasketches.hll.HllSketch
Constructs a new sketch with the type of HLL sketch to configure and the given WritableMemory as the destination for the sketch.

I

idToFamily(int) - Static method in enum org.apache.datasketches.Family
Returns the Family given the ID
iGolden - Static variable in class org.apache.datasketches.Util
The inverse golden ratio as a fraction.
iGoldenU64 - Static variable in class org.apache.datasketches.Util
The inverse golden ratio as an unsigned long.
init(String, int, double, double, double, double, double) - Method in class org.apache.datasketches.fdt.Group
Specifies the parameters to be listed as columns
IntegerSketch - Class in org.apache.datasketches.tuple.aninteger
 
IntegerSketch(int, IntegerSummary.Mode) - Constructor for class org.apache.datasketches.tuple.aninteger.IntegerSketch
Constructs this sketch with given lgK.
IntegerSketch(int, int, float, IntegerSummary.Mode) - Constructor for class org.apache.datasketches.tuple.aninteger.IntegerSketch
Creates this sketch with the following parameters:
IntegerSketch(Memory, IntegerSummary.Mode) - Constructor for class org.apache.datasketches.tuple.aninteger.IntegerSketch
Constructs this sketch from a Memory image, which must be from an IntegerSketch, and usually with data.
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 in org.apache.datasketches.tuple.aninteger
The aggregation modes for this Summary
IntegerSummaryDeserializer - Class in org.apache.datasketches.tuple.aninteger
 
IntegerSummaryDeserializer() - Constructor for class org.apache.datasketches.tuple.aninteger.IntegerSummaryDeserializer
 
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
intersect(Sketch, Sketch) - Method in class org.apache.datasketches.theta.Intersection
Perform intersect set operation on the two given sketch arguments and return the result as an ordered CompactSketch on the heap.
intersect(Sketch, Sketch, boolean, WritableMemory) - Method in class org.apache.datasketches.theta.Intersection
Perform intersect set operation on the two given sketches and return the result as a CompactSketch.
intersect(Sketch, Sketch) - Static method in class org.apache.datasketches.theta.PairwiseSetOperations
This implements a stateless, pair-wise Intersect operation on sketches that are either Heap-based or Direct.
Intersection - Class in org.apache.datasketches.theta
The API for intersection operations
Intersection() - Constructor for class org.apache.datasketches.theta.Intersection
 
intersection(DoubleSummary, DoubleSummary) - Method in class org.apache.datasketches.tuple.adouble.DoubleSummarySetOperations
Intersection is not well defined or even meaningful between numeric values.
intersection(IntegerSummary, IntegerSummary) - Method in class org.apache.datasketches.tuple.aninteger.IntegerSummarySetOperations
 
Intersection<S extends Summary> - Class in org.apache.datasketches.tuple
Computes an intersection of two or more generic tuple sketches.
Intersection(SummarySetOperations<S>) - Constructor for class org.apache.datasketches.tuple.Intersection
Creates new instance
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 when an intersection of two sketches is produced, and both sketches have the same key.
IntMemoryPairIterator - Class in org.apache.datasketches.hll
Iterates within a given Memory extracting integer pairs.
intToBytes(int, byte[]) - Static method in class org.apache.datasketches.Util
Returns a Little-Endian byte array extracted from the given int.
invPow2(int) - Static method in class org.apache.datasketches.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.Union
 
isCompact() - Method in class org.apache.datasketches.theta.CompactSketch
 
isCompact() - Method in class org.apache.datasketches.theta.Sketch
Returns true if this sketch is in compact form.
isCompact() - Method in class org.apache.datasketches.theta.UpdateSketch
 
isDirect() - Method in class org.apache.datasketches.quantiles.DoublesSketch
Returns true if this sketch is direct
isDirect() - Method in class org.apache.datasketches.quantiles.DoublesUnion
Returns true if this union is direct
isDirect() - Method in class org.apache.datasketches.quantiles.ItemsSketch
 
isDirect() - Method in class org.apache.datasketches.quantiles.ItemsUnion
Returns true if this union is direct
isDirect() - Method in class org.apache.datasketches.theta.SingleItemSketch
 
isDirect() - Method in class org.apache.datasketches.theta.Sketch
Returns true if the this sketch's internal data structure is backed by direct (off-heap) Memory.
isEmpty() - Method in class org.apache.datasketches.cpc.CpcSketch
Return true if this sketch is empty
isEmpty() - Method in class org.apache.datasketches.frequencies.ItemsSketch
Returns true if this sketch is empty
isEmpty() - Method in class org.apache.datasketches.frequencies.LongsSketch
Returns true if this sketch is empty
isEmpty() - Method in class org.apache.datasketches.hll.HllSketch
 
isEmpty() - Method in class org.apache.datasketches.hll.Union
 
isEmpty() - Method in class org.apache.datasketches.kll.KllFloatsSketch
Returns true if this sketch is empty.
isEmpty() - Method in class org.apache.datasketches.quantiles.DoublesSketch
Returns true if this sketch is empty
isEmpty() - Method in class org.apache.datasketches.quantiles.DoublesUnion
Returns true if this union is empty
isEmpty() - Method in class org.apache.datasketches.quantiles.ItemsSketch
Returns true if this sketch is empty
isEmpty() - Method in class org.apache.datasketches.quantiles.ItemsUnion
Returns true if this union is empty
isEmpty() - Method in class org.apache.datasketches.theta.SingleItemSketch
 
isEmpty() - Method in class org.apache.datasketches.theta.Sketch
isEmpty() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesSketch
isEmpty() - Method in class org.apache.datasketches.tuple.Sketch
isEstimationMode() - Method in class org.apache.datasketches.kll.KllFloatsSketch
Returns true if this sketch is in estimation mode.
isEstimationMode() - Method in class org.apache.datasketches.quantiles.DoublesSketch
Returns true if this sketch is in estimation mode.
isEstimationMode() - Method in class org.apache.datasketches.quantiles.ItemsSketch
 
isEstimationMode() - Method in class org.apache.datasketches.theta.Sketch
Returns true if the sketch is Estimation Mode (as opposed to Exact Mode).
isEstimationMode() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesSketch
Returns true if the sketch is Estimation Mode (as opposed to Exact Mode).
isEstimationMode() - Method in class org.apache.datasketches.tuple.Sketch
Returns true if the sketch is Estimation Mode (as opposed to Exact Mode).
isLessThanUnsigned(long, long) - Static method in class org.apache.datasketches.Util
Unsigned compare with longs.
isMemory() - Method in class org.apache.datasketches.hll.HllSketch
 
isMemory() - Method in class org.apache.datasketches.hll.Union
 
isMultipleOf8AndGT0(long) - Static method in class org.apache.datasketches.Util
Returns true if v is a multiple of 8 and greater than zero
isOffHeap() - Method in class org.apache.datasketches.hll.HllSketch
 
isOffHeap() - Method in class org.apache.datasketches.hll.Union
 
isOrdered() - Method in class org.apache.datasketches.theta.SingleItemSketch
 
isOrdered() - Method in class org.apache.datasketches.theta.Sketch
Returns true if internal cache is ordered
isOrdered() - Method in class org.apache.datasketches.theta.UpdateSketch
 
isPowerOf2(int) - Static method in class org.apache.datasketches.Util
Returns true if argument is exactly a positive power of 2 and greater than zero.
isSameResource(Memory) - Method in class org.apache.datasketches.hll.HllSketch
 
isSameResource(Memory) - Method in class org.apache.datasketches.hll.Union
 
isSameResource(Memory) - Method in class org.apache.datasketches.quantiles.DoublesSketch
Returns true if the backing resource of this is identical with the backing resource of that.
isSameResource(Memory) - Method in class org.apache.datasketches.quantiles.DoublesUnion
Returns true if the backing resource of this is identical with the backing resource of that.
isSameResource(Memory) - Method in class org.apache.datasketches.theta.SetOperation
Returns true if the backing resource of this is identical with the backing resource of that.
isSameResource(Memory) - Method in class org.apache.datasketches.theta.Sketch
Returns true if the backing resource of this is identical with the backing resource of that.
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.
ItemsSketch<T> - Class in org.apache.datasketches.frequencies
This sketch 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.
ItemsSketch(int) - Constructor for class org.apache.datasketches.frequencies.ItemsSketch
Construct this sketch with the parameter maxMapSize and the default initialMapSize (8).
ItemsSketch<T> - Class in org.apache.datasketches.quantiles
This is a stochastic streaming sketch that enables near-real time analysis of the approximate distribution of comparable items from a very large stream in a single pass.
ItemsSketch.Row<T> - Class in org.apache.datasketches.frequencies
Row class that defines the return values from a getFrequentItems query.
ItemsSketchIterator<T> - Class in org.apache.datasketches.quantiles
Iterator over ItemsSketch.
ItemsUnion<T> - Class in org.apache.datasketches.quantiles
The API for Union operations for generic ItemsSketches
iterator() - Method in class org.apache.datasketches.kll.KllFloatsSketch
 
iterator() - Method in class org.apache.datasketches.quantiles.DoublesSketch
 
iterator() - Method in class org.apache.datasketches.quantiles.ItemsSketch
 
iterator() - Method in class org.apache.datasketches.sampling.VarOptItemsSamples
 
iterator() - Method in class org.apache.datasketches.theta.SingleItemSketch
 
iterator() - Method in class org.apache.datasketches.theta.Sketch
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.ArrayOfDoublesSketch
 
iterator() - Method in class org.apache.datasketches.tuple.Sketch
Returns a SketchIterator

J

jaccard(Sketch, Sketch) - Static method in class org.apache.datasketches.theta.JaccardSimilarity
Computes the Jaccard similarity ratio with upper and lower bounds.
JaccardSimilarity - Class in org.apache.datasketches.theta
Jaccard similarity of two Theta Sketches.
JaccardSimilarity() - Constructor for class org.apache.datasketches.theta.JaccardSimilarity
 

K

KllFloatsSketch - Class in org.apache.datasketches.kll
Implementation of a very compact quantiles sketch with lazy compaction scheme and nearly optimal accuracy per retained item.
KllFloatsSketch() - Constructor for class org.apache.datasketches.kll.KllFloatsSketch
Constructor with the default k (rank error of about 1.65%)
KllFloatsSketch(int) - Constructor for class org.apache.datasketches.kll.KllFloatsSketch
Constructor with a given parameter k.
KllFloatsSketchIterator - Class in org.apache.datasketches.kll
Iterator over KllFloatsSketch.

L

lg() - Method in enum org.apache.datasketches.ResizeFactor
Returns the Log-base 2 of the Resize Factor
LOG2 - Static variable in class org.apache.datasketches.Util
The natural logarithm of 2.0.
log2(double) - Static method in class org.apache.datasketches.Util
The log base 2 of the value
logB(double, double) - Static method in class org.apache.datasketches.Util
Returns the logarithm_logBase of x.
LongsSketch - Class in org.apache.datasketches.frequencies
This sketch 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.
LongsSketch(int) - Constructor for class org.apache.datasketches.frequencies.LongsSketch
Construct this sketch with the parameter maxMapSize and the default initialMapSize (8).
LongsSketch.Row - Class in org.apache.datasketches.frequencies
Row class that defines the return values from a getFrequentItems query.
longToBytes(long, byte[]) - Static method in class org.apache.datasketches.Util
Returns a Little-Endian byte array extracted from the given long.
longToHexBytes(long) - Static method in class org.apache.datasketches.Util
Returns a string of spaced hex bytes in Big-Endian order.
LS - Static variable in class org.apache.datasketches.Util
The java line separator character as a String.

M

MAX_LG_NOM_LONGS - Static variable in class org.apache.datasketches.Util
The largest Log2 nom entries allowed: 26.
maxK_ - Variable in class org.apache.datasketches.quantiles.ItemsUnion
 
merge(ItemsSketch<T>) - Method in class org.apache.datasketches.frequencies.ItemsSketch
This function merges the other sketch into this one.
merge(LongsSketch) - Method in class org.apache.datasketches.frequencies.LongsSketch
This function merges the other sketch into this one.
merge(KllFloatsSketch) - Method in class org.apache.datasketches.kll.KllFloatsSketch
Merges another sketch into this one.
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
 
milliSecToString(long) - Static method in class org.apache.datasketches.Util
Returns the given time in milliseconds formatted as Hours:Min:Sec.mSec
MIN_LG_ARR_LONGS - Static variable in class org.apache.datasketches.Util
The smallest Log2 cache size allowed: 5.
MIN_LG_NOM_LONGS - Static variable in class org.apache.datasketches.Util
The smallest Log2 nom entries allowed: 4.
modulo(long, long, int) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Returns the remainder from the modulo division of the 128-bit output of the murmurHash3 by the divisor.
modulo(long[], int) - Static method in class org.apache.datasketches.hash.MurmurHash3Adaptor
Returns the remainder from the modulo division of the 128-bit output of the murmurHash3 by the divisor.
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.
MurmurHash3Adaptor - Class in org.apache.datasketches.hash
A general purpose wrapper for the MurmurHash3.
MurmurHash3v2 - 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.
MurmurHash3v2() - Constructor for class org.apache.datasketches.hash.MurmurHash3v2
 

N

nanoSecToString(long) - Static method in class org.apache.datasketches.Util
Returns the given time in nanoseconds formatted as Sec.mSec uSec nSec
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, 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) - 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, 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) - 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, 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.
newInstance(int) - Static method in class org.apache.datasketches.sampling.VarOptItemsUnion
Creates an empty Union with a maximum capacity of size k.
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
 
next() - Method in class org.apache.datasketches.kll.KllFloatsSketchIterator
Advancing the iterator and checking existence of the next entry is combined here for efficiency.
next() - Method in class org.apache.datasketches.quantiles.DoublesSketchIterator
Advancing the iterator and checking existence of the next entry is combined here for efficiency.
next() - Method in class org.apache.datasketches.quantiles.ItemsSketchIterator
Advancing the iterator and checking existence of the next entry is combined here for efficiency.
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.ArrayOfDoublesSketchIterator
Advancing the iterator and checking existence of the next entry is combined here for efficiency.
next() - Method in class org.apache.datasketches.tuple.SketchIterator
Advancing the iterator and checking existence of the next entry is combined here for efficiency.
nextAll() - Method in class org.apache.datasketches.hll.IntMemoryPairIterator
 
nextValid() - Method in class org.apache.datasketches.hll.IntMemoryPairIterator
 
normalCDF(double) - Static method in class org.apache.datasketches.BoundsOnBinomialProportions
Computes an approximation to normalCDF(x).

O

org.apache.datasketches - package org.apache.datasketches
This package is the parent package for all sketch algorithms.
org.apache.datasketches.cpc - package org.apache.datasketches.cpc
Compressed Probabilistic Counting
org.apache.datasketches.fdt - package org.apache.datasketches.fdt
 
org.apache.datasketches.frequencies - package org.apache.datasketches.frequencies
This package is dedicated to streaming algorithms that enable estimation of the frequency of occurence of items in a weighted multiset stream of items.
org.apache.datasketches.hash - package org.apache.datasketches.hash
The hash package contains a high-performing and extended Java implementation of Austin Appleby's 128-bit MurmurHash3 hash function originally coded in C.
org.apache.datasketches.hll - package org.apache.datasketches.hll
The hll package contains a high performance implementation of Phillipe Flajolet's HLL sketch with significantly improved error behavior.
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
 
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 real (double) values or generic items.
org.apache.datasketches.sampling - package org.apache.datasketches.sampling
This package is dedicated to streaming algorithms that enable fixed size, uniform sampling of unweighted items from a stream.
org.apache.datasketches.theta - package org.apache.datasketches.theta
The theta package contains all the sketch classes that are members of the Theta Sketch Framework.
org.apache.datasketches.tuple - package org.apache.datasketches.tuple
The tuple package contains implementation of sketches based on the idea of theta sketches with the addition of values associated with unique keys.
org.apache.datasketches.tuple.adouble - package org.apache.datasketches.tuple.adouble
 
org.apache.datasketches.tuple.aninteger - package org.apache.datasketches.tuple.aninteger
 
org.apache.datasketches.tuple.strings - package org.apache.datasketches.tuple.strings
 

P

PairwiseSetOperations - Class in org.apache.datasketches.theta
Set Operations where the arguments are presented in pairs as in C = Op(A,B).
PairwiseSetOperations() - Constructor for class org.apache.datasketches.theta.PairwiseSetOperations
 
posOfPhi(double, long) - Static method in class org.apache.datasketches.QuantilesHelper
Returns the zero-based index (position) of a value in the hypothetical sorted stream of values of size n.
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
PREAMBLE_LONGS - Static variable in class org.apache.datasketches.tuple.Sketch
 
putDoubleBE(byte[], int, double) - Static method in class org.apache.datasketches.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.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.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.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.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.ByteArrayUtil
Put the source int into the destination byte array starting at the given offset in little endian order.
putLongBE(byte[], int, long) - Static method in class org.apache.datasketches.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.ByteArrayUtil
Put the source long into the destination byte array starting at the given offset in little endian order.
putMemory(WritableMemory) - Method in class org.apache.datasketches.quantiles.DoublesSketch
Puts the current sketch into the given Memory in compact form if there is sufficient space, otherwise, it throws an error.
putMemory(WritableMemory, boolean) - Method in class org.apache.datasketches.quantiles.DoublesSketch
Puts the current sketch into the given Memory if there is sufficient space, otherwise, throws an error.
putMemory(WritableMemory, ArrayOfItemsSerDe<T>) - Method in class org.apache.datasketches.quantiles.ItemsSketch
Puts the current sketch into the given Memory if there is sufficient space.
putShortBE(byte[], int, short) - Static method in class org.apache.datasketches.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.ByteArrayUtil
Put the source short into the destination byte array starting at the given offset in little endian order.
pwr2LawNext(int, int) - Static method in class org.apache.datasketches.Util
Computes the next larger integer point in the power series point = 2( i / ppo ) given the current point in the series.
pwr2LawPrev(int, int) - Static method in class org.apache.datasketches.Util
Computes the previous, smaller integer point in the power series point = 2( i / ppo ) given the current point in the series.
pwrLawNextDouble(int, double, boolean, double) - Static method in class org.apache.datasketches.Util
Computes the next larger double in the power series point = logBase( i / ppo ) given the current point in the series.

Q

QuantilesHelper - Class in org.apache.datasketches
Common static methods for quantiles sketches
QuantilesHelper() - Constructor for class org.apache.datasketches.QuantilesHelper
 
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
 
QuickSelect - Class in org.apache.datasketches
QuickSelect algorithm improved from Sedgewick.

R

rand - Static variable in class org.apache.datasketches.quantiles.ItemsSketch
Setting the seed makes the results of the sketch deterministic if the input values are received in exactly the same order.
rebuild() - Method in class org.apache.datasketches.theta.UpdateSketch
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.Util
The hash table rebuild threshold = 15.0/16.0.
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.frequencies.ItemsSketch
Resets this sketch to a virgin state.
reset() - Method in class org.apache.datasketches.frequencies.LongsSketch
Resets this sketch to a virgin state.
reset() - Method in class org.apache.datasketches.hll.HllSketch
 
reset() - Method in class org.apache.datasketches.hll.Union
Resets to empty and retains the current lgK, but does not change the configured value of lgMaxK.
reset() - Method in class org.apache.datasketches.quantiles.DoublesUnion
Resets this Union to a virgin state.
reset() - Method in class org.apache.datasketches.quantiles.ItemsSketch
Resets this sketch to a virgin state, but retains the original value of k.
reset() - Method in class org.apache.datasketches.quantiles.ItemsUnion
Resets this Union to a virgin state.
reset() - Method in class org.apache.datasketches.quantiles.UpdateDoublesSketch
Resets this sketch to the empty state, but retains the original value of k.
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.Intersection
Resets this Intersection.
reset() - Method in class org.apache.datasketches.theta.Union
Resets this Union.
reset() - Method in class org.apache.datasketches.theta.UpdateSketch
Resets this sketch back to a virgin empty state.
reset() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesIntersection
Resets the internal set to the initial state, which represents the Universal Set
reset() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUnion
Resets the union to an empty state
reset() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketch
Resets this sketch an empty state.
reset() - Method in class org.apache.datasketches.tuple.Intersection
Resets the internal set to the initial state, which represents the Universal Set
reset() - Method in class org.apache.datasketches.tuple.Union
Resets the internal set to the initial state, which represents an empty set
reset() - Method in class org.apache.datasketches.tuple.UpdatableSketchBuilder
Resets the Nominal Entries, Resize Factor and Sampling Probability to their default values.
RESIZE_THRESHOLD - Static variable in class org.apache.datasketches.Util
The resize threshold = 0.5; tuned for speed.
ResizeFactor - Enum in org.apache.datasketches
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.

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(long[], int, int, int) - Static method in class org.apache.datasketches.QuickSelect
Gets the 0-based kth order statistic from the array.
select(double[], int, int, int) - Static method in class org.apache.datasketches.QuickSelect
Gets the 0-based kth order statistic from the array.
selectExcludingZeros(long[], int, int) - Static method in class org.apache.datasketches.QuickSelect
Gets the 1-based kth order statistic from the array excluding any zero values in the array.
selectExcludingZeros(double[], int, int) - Static method in class org.apache.datasketches.QuickSelect
Gets the 1-based kth order statistic from the array excluding any zero values in the array.
selectIncludingZeros(long[], int) - Static method in class org.apache.datasketches.QuickSelect
Gets the 1-based kth order statistic from the array including any zero values in the array.
selectIncludingZeros(double[], int) - Static method in class org.apache.datasketches.QuickSelect
Gets the 1-based kth order statistic from the array including any zero values in the array.
serializeToByteArray(Boolean[]) - Method in class org.apache.datasketches.ArrayOfBooleansSerDe
 
serializeToByteArray(Double[]) - Method in class org.apache.datasketches.ArrayOfDoublesSerDe
 
serializeToByteArray(T[]) - Method in class org.apache.datasketches.ArrayOfItemsSerDe
Serialize an array of items to byte array.
serializeToByteArray(Long[]) - Method in class org.apache.datasketches.ArrayOfLongsSerDe
 
serializeToByteArray(Number[]) - Method in class org.apache.datasketches.ArrayOfNumbersSerDe
 
serializeToByteArray(String[]) - Method in class org.apache.datasketches.ArrayOfStringsSerDe
 
serializeToByteArray(String[]) - Method in class org.apache.datasketches.ArrayOfUtf16StringsSerDe
 
serializeToString() - Method in class org.apache.datasketches.frequencies.LongsSketch
Returns a String representation of this sketch
setClass(Class<?>) - Method in class org.apache.datasketches.sampling.VarOptItemsSamples
Specifies the class to use when copying the item array from the sketch.
setFamily(Family) - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Set the Family.
setK(int) - Method in class org.apache.datasketches.quantiles.DoublesSketchBuilder
Sets the parameter k that determines the accuracy and size of the sketch.
setLocalLogNominalEntries(int) - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Alternative method of setting the Nominal Entries for a local concurrent sketch from the log_base2 value.
setLocalNominalEntries(int) - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Sets the Nominal Entries for the concurrent local sketch.
setLogNominalEntries(int) - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Alternative method of setting the Nominal Entries for this sketch from the log_base2 value.
setMaxConcurrencyError(double) - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Sets the Maximum Concurrency Error.
setMaxK(int) - Method in class org.apache.datasketches.quantiles.DoublesUnionBuilder
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.UpdateSketchBuilder
Sets the Maximum Number of Local Threads.
setMemoryRequestServer(MemoryRequestServer) - Method in class org.apache.datasketches.theta.SetOperationBuilder
Set the MemoryRequestServer
setMemoryRequestServer(MemoryRequestServer) - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Set the MemoryRequestServer
setNominalEntries(int) - Method in class org.apache.datasketches.theta.SetOperationBuilder
Sets the Nominal Entries for this set operation.
setNominalEntries(int) - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Sets the Nominal Entries for this sketch.
setNominalEntries(int) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesSetOperationBuilder
This is to set the nominal number of entries.
setNominalEntries(int) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketchBuilder
This is to set the nominal number of entries.
setNominalEntries(int) - Method in class org.apache.datasketches.tuple.UpdatableSketchBuilder
This is to set the nominal number of entries.
setNumberOfValues(int) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesSetOperationBuilder
This is to set the number of double values associated with each key
setNumberOfValues(int) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketchBuilder
This is to set the number of double values associated with each key
setNumPoolThreads(int) - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Sets the number of pool threads used for background propagation in the concurrent sketches.
SetOperation - Class in org.apache.datasketches.theta
The parent API for all Set Operations
SetOperationBuilder - Class in org.apache.datasketches.theta
For building a new SetOperation.
SetOperationBuilder() - Constructor for class org.apache.datasketches.theta.SetOperationBuilder
Constructor for building a new SetOperation.
setOperationBuilder() - Static method in class org.apache.datasketches.theta.Sketches
setP(float) - Method in class org.apache.datasketches.theta.SetOperationBuilder
Sets the upfront uniform sampling probability, p.
setP(float) - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Sets the upfront uniform sampling probability, p
setPropagateOrderedCompact(boolean) - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Sets the Propagate Ordered Compact flag to the given value.
setResizeFactor(ResizeFactor) - Method in class org.apache.datasketches.theta.SetOperationBuilder
Sets the cache Resize Factor
setResizeFactor(ResizeFactor) - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Sets the cache Resize Factor.
setResizeFactor(ResizeFactor) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketchBuilder
This is to set the resize factor.
setResizeFactor(ResizeFactor) - Method in class org.apache.datasketches.tuple.UpdatableSketchBuilder
This is to set the resize factor.
setSamplingProbability(float) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketchBuilder
This is to set sampling probability.
setSamplingProbability(float) - Method in class org.apache.datasketches.tuple.UpdatableSketchBuilder
This is to set sampling probability.
setSeed(long) - Method in class org.apache.datasketches.theta.SetOperationBuilder
Sets the long seed value that is require by the hashing function.
setSeed(long) - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
Sets the long seed value that is required by the hashing function.
setSeed(long) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesSetOperationBuilder
Sets the long seed value that is required by the hashing function.
setSeed(long) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketchBuilder
Sets the long seed value that is required by the hashing function.
similarityTest(Sketch, Sketch, double) - Static method in class org.apache.datasketches.theta.JaccardSimilarity
Tests similarity of a measured Sketch against an expected Sketch.
simpleIntLog2(int) - Static method in class org.apache.datasketches.Util
Gives the log2 of an integer that is known to be a power of 2.
SingleItemSketch - Class in org.apache.datasketches.theta
 
Sketch - Class in org.apache.datasketches.theta
The top-level class for all sketches.
Sketch<S extends Summary> - Class in org.apache.datasketches.tuple
This is an equivalent to org.apache.datasketches.theta.Sketch with addition of a user-defined Summary object associated with every unique entry in the sketch.
Sketches - Class in org.apache.datasketches.theta
This class brings together the common sketch and set operation creation methods and the public static methods into one place.
Sketches - Class in org.apache.datasketches.tuple
Convenient static methods to instantiate generic tuple sketches.
Sketches() - Constructor for class org.apache.datasketches.tuple.Sketches
 
SketchesArgumentException - Exception in org.apache.datasketches
Illegal Arguments Exception class for the library
SketchesArgumentException(String) - Constructor for exception org.apache.datasketches.SketchesArgumentException
Constructs a new runtime exception with the specified detail message.
SketchesException - Exception in org.apache.datasketches
Exception class for the library
SketchesException(String) - Constructor for exception org.apache.datasketches.SketchesException
Constructs a new runtime exception with the specified detail message.
SketchesException(String, Throwable) - Constructor for exception org.apache.datasketches.SketchesException
Constructs a new runtime exception with the specified detail message and cause.
SketchesReadOnlyException - Exception in org.apache.datasketches
Write operation attempted on a read-only class.
SketchesReadOnlyException() - Constructor for exception org.apache.datasketches.SketchesReadOnlyException
Constructs a new runtime exception with the message: "Write operation attempted on a read-only class."
SketchesReadOnlyException(String) - Constructor for exception org.apache.datasketches.SketchesReadOnlyException
Constructs a new runtime exception with the specified detail message.
SketchesStateException - Exception in org.apache.datasketches
Illegal State Exception class for the library
SketchesStateException(String) - Constructor for exception org.apache.datasketches.SketchesStateException
Constructs a new runtime exception with the specified detail message.
SketchIterator<S extends Summary> - Class in org.apache.datasketches.tuple
Iterator over a generic tuple sketch
start() - Method in class org.apache.datasketches.cpc.CompressionCharacterization
 
start() - Method in class org.apache.datasketches.cpc.MergingValidation
 
start() - Method in class org.apache.datasketches.cpc.QuickMergingValidation
 
start() - Method in class org.apache.datasketches.cpc.StreamingValidation
 
startingSubMultiple(int, ResizeFactor, int) - Static method in class org.apache.datasketches.Util
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
 
STRIDE_MASK - Static variable in class org.apache.datasketches.HashOperations
The stride mask for the Open Address, Double Hashing (OADH) hash table algorithm.
stringHash(String) - Static method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSummary
 
stringToFamily(String) - Static method in enum org.apache.datasketches.Family
Returns the Family given the family name
Summary - Interface in org.apache.datasketches.tuple
Interface for user-defined Summary, which is associated with every key in a tuple sketch
SummaryDeserializer<S extends Summary> - Interface in org.apache.datasketches.tuple
Interface for deserializing user-defined Summary
SummaryFactory<S extends Summary> - Interface in org.apache.datasketches.tuple
Interface for user-defined SummaryFactory
SummarySetOperations<S extends Summary> - Interface in org.apache.datasketches.tuple
This is to provide methods of producing unions and intersections of two Summary objects.

T

TAB - Static variable in class org.apache.datasketches.Util
The tab character
TestUtil - Class in org.apache.datasketches.cpc
 
TestUtil() - Constructor for class org.apache.datasketches.cpc.TestUtil
 
TgtHllType - Enum in org.apache.datasketches.hll
Specifies the target type of HLL sketch to be created.
toByteArray() - Method in class org.apache.datasketches.cpc.CpcSketch
Return this sketch as a compressed byte array.
toByteArray(ArrayOfItemsSerDe<T>) - Method in class org.apache.datasketches.frequencies.ItemsSketch
Returns a byte array representation of this sketch
toByteArray() - Method in class org.apache.datasketches.frequencies.LongsSketch
Returns a byte array representation of this sketch
toByteArray() - Method in class org.apache.datasketches.kll.KllFloatsSketch
Returns serialized sketch in a byte array form.
toByteArray() - Method in class org.apache.datasketches.quantiles.DoublesSketch
Serialize this sketch to a byte array.
toByteArray(boolean) - Method in class org.apache.datasketches.quantiles.DoublesSketch
Serialize this sketch in a byte array form.
toByteArray() - Method in class org.apache.datasketches.quantiles.DoublesUnion
Serialize this union to a byte array.
toByteArray(ArrayOfItemsSerDe<T>) - Method in class org.apache.datasketches.quantiles.ItemsSketch
Serialize this sketch to a byte array form.
toByteArray(boolean, ArrayOfItemsSerDe<T>) - Method in class org.apache.datasketches.quantiles.ItemsSketch
Serialize this sketch to a byte array form.
toByteArray(ArrayOfItemsSerDe<T>) - Method in class org.apache.datasketches.quantiles.ItemsUnion
Serialize this union to a byte array.
toByteArray(ArrayOfItemsSerDe<? super T>) - Method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Returns a byte array representation of this sketch.
toByteArray(ArrayOfItemsSerDe<? super T>, Class<?>) - Method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Returns a byte array representation of this sketch.
toByteArray(ArrayOfItemsSerDe<T>) - Method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Returns a byte array representation of this union
toByteArray(ArrayOfItemsSerDe<T>, Class<?>) - Method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Returns a byte array representation of this union.
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(ArrayOfItemsSerDe<? super T>) - Method in class org.apache.datasketches.sampling.VarOptItemsSketch
Returns a byte array representation of this sketch.
toByteArray(ArrayOfItemsSerDe<? super T>, Class<?>) - Method in class org.apache.datasketches.sampling.VarOptItemsSketch
Returns a byte array representation of this sketch.
toByteArray(ArrayOfItemsSerDe<T>) - Method in class org.apache.datasketches.sampling.VarOptItemsUnion
Returns a byte array representation of this union
toByteArray(ArrayOfItemsSerDe<T>, Class<?>) - Method in class org.apache.datasketches.sampling.VarOptItemsUnion
Returns a byte array representation of this union.
toByteArray() - Method in class org.apache.datasketches.theta.Intersection
Serialize this intersection to a byte array form.
toByteArray() - Method in class org.apache.datasketches.theta.SingleItemSketch
 
toByteArray() - Method in class org.apache.datasketches.theta.Sketch
Serialize this sketch to a byte array form.
toByteArray() - Method in class org.apache.datasketches.theta.Union
Returns a byte array image of this Union 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.ArrayOfDoublesSketch
 
toByteArray() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUnion
 
toByteArray() - Method in class org.apache.datasketches.tuple.CompactSketch
 
toByteArray() - Method in class org.apache.datasketches.tuple.Sketch
This is to serialize an instance to a byte array.
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.
toCompactByteArray() - Method in class org.apache.datasketches.hll.HllSketch
 
toCompactByteArray() - Method in class org.apache.datasketches.hll.Union
Gets the serialization of this union operator as a byte array in compact form, which is designed to be heapified only.
toLog2(int, String) - Static method in class org.apache.datasketches.Util
Checks the given value if it is a power of 2.
toString() - 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.cpc.CpcSketch
Return a human-readable string summary of this sketch
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(Memory, boolean) - Static method in class org.apache.datasketches.cpc.CpcSketch
Returns a human readable string of the preamble of a Memory image of a CpcSketch.
toString() - Method in enum org.apache.datasketches.Family
 
toString() - Method in class org.apache.datasketches.fdt.Group
 
toString() - Method in class org.apache.datasketches.frequencies.ItemsSketch.Row
 
toString() - Method in class org.apache.datasketches.frequencies.ItemsSketch
Returns a human readable summary of this sketch.
toString(byte[]) - Static method in class org.apache.datasketches.frequencies.ItemsSketch
Returns a human readable string of the preamble of a byte array image of a ItemsSketch.
toString(Memory) - Static method in class org.apache.datasketches.frequencies.ItemsSketch
Returns a human readable string of the preamble of a Memory image of a ItemsSketch.
toString() - Method in class org.apache.datasketches.frequencies.LongsSketch.Row
 
toString() - Method in class org.apache.datasketches.frequencies.LongsSketch
Returns a human readable summary of this sketch.
toString(byte[]) - Static method in class org.apache.datasketches.frequencies.LongsSketch
Returns a human readable string of the preamble of a byte array image of a LongsSketch.
toString(Memory) - Static method in class org.apache.datasketches.frequencies.LongsSketch
Returns a human readable string of the preamble of a Memory image of a LongsSketch.
toString(boolean, boolean, boolean, boolean) - Method in class org.apache.datasketches.hll.HllSketch
 
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(Memory) - Static method in class org.apache.datasketches.hll.HllSketch
Returns a human readable string of the preamble of a Memory image of an HllSketch.
toString(boolean, boolean, boolean, boolean) - Method in class org.apache.datasketches.hll.Union
 
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.KllFloatsSketch
 
toString(boolean, boolean) - Method in class org.apache.datasketches.kll.KllFloatsSketch
Returns a summary of the sketch as a string.
toString() - Method in class org.apache.datasketches.quantiles.DoublesSketch
Returns summary information about this sketch.
toString(boolean, boolean) - Method in class org.apache.datasketches.quantiles.DoublesSketch
Returns summary information about this sketch.
toString(byte[]) - Static method in class org.apache.datasketches.quantiles.DoublesSketch
Returns a human readable string of the preamble of a byte array image of a DoublesSketch.
toString(Memory) - Static method in class org.apache.datasketches.quantiles.DoublesSketch
Returns a human readable string of the preamble of a Memory image of a DoublesSketch.
toString() - Method in class org.apache.datasketches.quantiles.DoublesSketchBuilder
Creates a human readable string that describes the current configuration of this builder.
toString() - Method in class org.apache.datasketches.quantiles.DoublesUnion
Returns summary information about the backing sketch.
toString(boolean, boolean) - Method in class org.apache.datasketches.quantiles.DoublesUnion
Returns summary information about the backing sketch.
toString() - Method in class org.apache.datasketches.quantiles.ItemsSketch
Returns summary information about this sketch.
toString(boolean, boolean) - Method in class org.apache.datasketches.quantiles.ItemsSketch
Returns summary information about this sketch.
toString(byte[]) - Static method in class org.apache.datasketches.quantiles.ItemsSketch
Returns a human readable string of the preamble of a byte array image of an ItemsSketch.
toString(Memory) - Static method in class org.apache.datasketches.quantiles.ItemsSketch
Returns a human readable string of the preamble of a Memory image of an ItemsSketch.
toString() - Method in class org.apache.datasketches.quantiles.ItemsUnion
Returns summary information about the backing sketch.
toString(boolean, boolean) - Method in class org.apache.datasketches.quantiles.ItemsUnion
Returns summary information about the backing sketch.
toString() - Method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Returns a human-readable summary of the sketch, without items.
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(Memory) - Static method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Returns a human readable string of the preamble of a Memory image of a ReservoirItemsSketch.
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(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(Memory) - Static method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Returns a human readable string of the preamble of a Memory image of a ReservoirLongsSketch.
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(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(Memory) - Static method in class org.apache.datasketches.sampling.VarOptItemsSketch
Returns a human readable string of the preamble of a Memory image of a VarOptItemsSketch.
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.theta.SetOperationBuilder
 
toString() - Method in class org.apache.datasketches.theta.Sketch
Returns a human readable summary of the sketch.
toString(boolean, boolean, int, boolean) - Method in class org.apache.datasketches.theta.Sketch
Gets a human readable listing of contents and summary of the given sketch.
toString(byte[]) - Static method in class org.apache.datasketches.theta.Sketch
Returns a human readable string of the preamble of a byte array image of a Theta Sketch.
toString(Memory) - Static method in class org.apache.datasketches.theta.Sketch
Returns a human readable string of the preamble of a Memory image of a Theta Sketch.
toString() - Method in class org.apache.datasketches.theta.UpdateSketchBuilder
 
toString() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesSketch
 
toString() - Method in class org.apache.datasketches.tuple.Sketch
 
toUpdatableByteArray() - Method in class org.apache.datasketches.hll.HllSketch
 
toUpdatableByteArray() - Method in class org.apache.datasketches.hll.Union
 
trim() - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketch
Rebuilds reducing the actual number of entries to the nominal number of entries if needed

U

Union - Class in org.apache.datasketches.hll
This performs union operations for all HllSketches.
Union() - Constructor for class org.apache.datasketches.hll.Union
Construct this Union operator with the default maximum log-base-2 of K.
Union(int) - Constructor for class org.apache.datasketches.hll.Union
Construct this Union operator with a given maximum log-base-2 of K.
Union(int, WritableMemory) - Constructor for class org.apache.datasketches.hll.Union
Construct this Union operator with a given maximum log-base-2 of K and the given WritableMemory as the destination for this Union.
union(CompactSketch, CompactSketch) - Static method in class org.apache.datasketches.theta.PairwiseSetOperations
This implements a stateless, pair-wise union operation on ordered, CompactSketches that are either Heap-based or Direct.
union(CompactSketch, CompactSketch, int) - Static method in class org.apache.datasketches.theta.PairwiseSetOperations
This implements a stateless, pair-wise union operation on ordered, CompactSketches that are either Heap-based or Direct.
Union - Class in org.apache.datasketches.theta
The API for Union operations
Union() - Constructor for class org.apache.datasketches.theta.Union
 
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(ArrayOfStringsSummary, ArrayOfStringsSummary) - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSummarySetOperations
 
union(S, S) - Method in interface org.apache.datasketches.tuple.SummarySetOperations
This is called when a union of two sketches is produced, and both sketches have the same key.
Union<S extends Summary> - Class in org.apache.datasketches.tuple
Compute a union of two or more tuple sketches.
Union(SummarySetOperations<S>) - Constructor for class org.apache.datasketches.tuple.Union
Creates new instance with default nominal entries
Union(int, SummarySetOperations<S>) - Constructor for class org.apache.datasketches.tuple.Union
Creates new instance
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.
UpdatableSketch<U,S extends UpdatableSummary<U>> - Class in org.apache.datasketches.tuple
An extension of QuickSelectSketch<S>, which can be updated with many types of keys.
UpdatableSketch(int, int, float, SummaryFactory<S>) - Constructor for class org.apache.datasketches.tuple.UpdatableSketch
This is to create a new instance of an UpdatableQuickSelectSketch.
UpdatableSketch(Memory, SummaryDeserializer<S>, SummaryFactory<S>) - Constructor for class org.apache.datasketches.tuple.UpdatableSketch
This is to create an instance of a sketch given a serialized form
UpdatableSketchBuilder<U,S extends UpdatableSummary<U>> - Class in org.apache.datasketches.tuple
For building a new generic tuple UpdatableSketch
UpdatableSketchBuilder(SummaryFactory<S>) - Constructor for class org.apache.datasketches.tuple.UpdatableSketchBuilder
Creates an instance of UpdatableSketchBuilder with default parameters
UpdatableSummary<U> - Interface in org.apache.datasketches.tuple
Interface for updating user-defined Summary
update(long) - Method in class org.apache.datasketches.cpc.CpcSketch
Present the given long as a potential unique item.
update(double) - Method in class org.apache.datasketches.cpc.CpcSketch
Present the given double (or float) datum as a potential unique item.
update(String) - Method in class org.apache.datasketches.cpc.CpcSketch
Present the given String as a potential unique item.
update(byte[]) - Method in class org.apache.datasketches.cpc.CpcSketch
Present the given byte array as a potential unique item.
update(char[]) - Method in class org.apache.datasketches.cpc.CpcSketch
Present the given char array as a potential unique item.
update(int[]) - Method in class org.apache.datasketches.cpc.CpcSketch
Present the given integer array as a potential unique item.
update(long[]) - Method in class org.apache.datasketches.cpc.CpcSketch
Present the given long array as a potential unique item.
update(CpcSketch) - Method in class org.apache.datasketches.cpc.CpcUnion
Update this union with a CpcSketch.
update(String[]) - Method in class org.apache.datasketches.fdt.FdtSketch
Update the sketch with the given string array tuple.
update(T) - Method in class org.apache.datasketches.frequencies.ItemsSketch
Update this sketch with an item and a frequency count of one.
update(T, long) - Method in class org.apache.datasketches.frequencies.ItemsSketch
Update this sketch with a item and a positive frequency count.
update(long) - Method in class org.apache.datasketches.frequencies.LongsSketch
Update this sketch with an item and a frequency count of one.
update(long, long) - Method in class org.apache.datasketches.frequencies.LongsSketch
Update this sketch with a item and a positive frequency count (or weight).
update(HllSketch) - Method in class org.apache.datasketches.hll.Union
Update this union operator with the given sketch.
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(float) - Method in class org.apache.datasketches.kll.KllFloatsSketch
Updates this sketch with the given data item.
update(DoublesSketch) - Method in class org.apache.datasketches.quantiles.DoublesUnion
Iterative union operation, which means this method can be repeatedly called.
update(Memory) - Method in class org.apache.datasketches.quantiles.DoublesUnion
Iterative union operation, which means this method can be repeatedly called.
update(double) - Method in class org.apache.datasketches.quantiles.DoublesUnion
Update this union with the given double (or float) data Item.
update(T) - Method in class org.apache.datasketches.quantiles.ItemsSketch
Updates this sketch with the given double data item
update(ItemsSketch<T>) - Method in class org.apache.datasketches.quantiles.ItemsUnion
Iterative union operation, which means this method can be repeatedly called.
update(Memory, ArrayOfItemsSerDe<T>) - Method in class org.apache.datasketches.quantiles.ItemsUnion
Iterative union operation, which means this method can be repeatedly called.
update(T) - Method in class org.apache.datasketches.quantiles.ItemsUnion
Update this union with the given double (or float) data Item.
update(double) - Method in class org.apache.datasketches.quantiles.UpdateDoublesSketch
Updates this sketch with the given double data item
update(T) - Method in class org.apache.datasketches.sampling.ReservoirItemsSketch
Randomly decide whether or not to include an item in the sample set.
update(ReservoirItemsSketch<T>) - Method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Union the given sketch.
update(Memory, ArrayOfItemsSerDe<T>) - Method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Union the given Memory image of the sketch.
update(T) - Method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Present this union with a single item to be added to the union.
update(long, int, ArrayList<T>) - Method in class org.apache.datasketches.sampling.ReservoirItemsUnion
Present this union with raw elements of a sketch.
update(long) - Method in class org.apache.datasketches.sampling.ReservoirLongsSketch
Randomly decide whether or not to include an item in the sample set.
update(ReservoirLongsSketch) - Method in class org.apache.datasketches.sampling.ReservoirLongsUnion
Union the given sketch.
update(Memory) - Method in class org.apache.datasketches.sampling.ReservoirLongsUnion
Union the given Memory image of the sketch.
update(long) - Method in class org.apache.datasketches.sampling.ReservoirLongsUnion
Present this union with a long.
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(VarOptItemsSketch<T>) - Method in class org.apache.datasketches.sampling.VarOptItemsUnion
Union the given sketch.
update(Memory, ArrayOfItemsSerDe<T>) - Method in class org.apache.datasketches.sampling.VarOptItemsUnion
Union the given Memory image of the sketch.
update(ReservoirItemsSketch<T>) - Method in class org.apache.datasketches.sampling.VarOptItemsUnion
Union a reservoir sketch.
update(Sketch, Sketch) - Method in class org.apache.datasketches.theta.AnotB
Perform A-and-not-B set operation on the two given sketches.
update(Sketch) - Method in class org.apache.datasketches.theta.Intersection
Intersect the given sketch with the internal state.
update(Sketch) - Method in class org.apache.datasketches.theta.Union
Union the given on-heap sketch.
update(Memory) - Method in class org.apache.datasketches.theta.Union
Union the given Memory image of the OpenSource Theta Sketch, which may be ordered or unordered, or the earlier versions of SetSketch, which must be compact and ordered.
update(long) - Method in class org.apache.datasketches.theta.Union
Present this union with a long.
update(double) - Method in class org.apache.datasketches.theta.Union
Present this union with the given double (or float) datum.
update(String) - Method in class org.apache.datasketches.theta.Union
Present this union with the given String.
update(byte[]) - Method in class org.apache.datasketches.theta.Union
Present this union with the given byte array.
update(int[]) - Method in class org.apache.datasketches.theta.Union
Present this union with the given integer array.
update(char[]) - Method in class org.apache.datasketches.theta.Union
Present this union with the given char array.
update(long[]) - Method in class org.apache.datasketches.theta.Union
Present this union with the given long array.
update(long) - Method in class org.apache.datasketches.theta.UpdateSketch
Present this sketch with a long.
update(double) - Method in class org.apache.datasketches.theta.UpdateSketch
Present this sketch with the given double (or float) datum.
update(String) - Method in class org.apache.datasketches.theta.UpdateSketch
Present this sketch with the given String.
update(byte[]) - Method in class org.apache.datasketches.theta.UpdateSketch
Present this sketch with the given byte array.
update(char[]) - Method in class org.apache.datasketches.theta.UpdateSketch
Present this sketch with the given char array.
update(int[]) - Method in class org.apache.datasketches.theta.UpdateSketch
Present this sketch with the given integer array.
update(long[]) - Method in class org.apache.datasketches.theta.UpdateSketch
Present this sketch with the given long array.
update(String, Double) - Method in class org.apache.datasketches.tuple.adouble.DoubleSketch
 
update(long, Double) - Method in class org.apache.datasketches.tuple.adouble.DoubleSketch
 
update(Double) - Method in class org.apache.datasketches.tuple.adouble.DoubleSummary
 
update(String, Integer) - Method in class org.apache.datasketches.tuple.aninteger.IntegerSketch
 
update(long, Integer) - Method in class org.apache.datasketches.tuple.aninteger.IntegerSketch
 
update(Integer) - Method in class org.apache.datasketches.tuple.aninteger.IntegerSummary
Updates an instance of IntegerSummary with the given value.
update(Sketch<S>, Sketch<S>) - Method in class org.apache.datasketches.tuple.AnotB
Perform A-and-not-B set operation on the two given sketches.
update(ArrayOfDoublesSketch, ArrayOfDoublesSketch) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesAnotB
Perform A-and-not-B set operation on the two given sketches.
update(ArrayOfDoublesSketch, ArrayOfDoublesCombiner) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesIntersection
Updates the internal set by intersecting it with the given sketch.
update(ArrayOfDoublesSketch) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUnion
Updates the union by adding a set of entries from a given sketch
update(long, double[]) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketch
Updates this sketch with a long key and double values.
update(double, double[]) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketch
Updates this sketch with a double key and double values.
update(String, double[]) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketch
Updates this sketch with a String key and double values.
update(byte[], double[]) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketch
Updates this sketch with a byte[] key and double values.
update(int[], double[]) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketch
Updates this sketch with a int[] key and double values.
update(long[], double[]) - Method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketch
Updates this sketch with a long[] key and double values.
update(Sketch<S>) - Method in class org.apache.datasketches.tuple.Intersection
Updates the internal set by intersecting it with the given sketch
update(String[], String[]) - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSketch
Updates the sketch with String arrays for both key and value.
update(String[]) - Method in class org.apache.datasketches.tuple.strings.ArrayOfStringsSummary
 
update(Sketch<S>) - Method in class org.apache.datasketches.tuple.Union
Updates the internal set by adding entries from the given sketch
update(long, U) - Method in class org.apache.datasketches.tuple.UpdatableSketch
Updates this sketch with a long key and U value.
update(double, U) - Method in class org.apache.datasketches.tuple.UpdatableSketch
Updates this sketch with a double key and U value.
update(String, U) - Method in class org.apache.datasketches.tuple.UpdatableSketch
Updates this sketch with a String key and U value.
update(byte[], U) - Method in class org.apache.datasketches.tuple.UpdatableSketch
Updates this sketch with a byte[] key and U value.
update(int[], U) - Method in class org.apache.datasketches.tuple.UpdatableSketch
Updates this sketch with a int[] key and U value.
update(long[], U) - Method in class org.apache.datasketches.tuple.UpdatableSketch
Updates this sketch with a long[] key and U value.
update(U) - Method in interface org.apache.datasketches.tuple.UpdatableSummary
This is to provide a method of updating summaries.
UpdateDoublesSketch - Class in org.apache.datasketches.quantiles
 
UpdateReturnState - Enum in org.apache.datasketches.theta
UpdateSketch - Class in org.apache.datasketches.theta
The parent class for the Update Sketch families, such as QuickSelect and Alpha.
updateSketchBuilder() - Static method in class org.apache.datasketches.theta.Sketches
UpdateSketchBuilder - Class in org.apache.datasketches.theta
For building a new UpdateSketch.
UpdateSketchBuilder() - Constructor for class org.apache.datasketches.theta.UpdateSketchBuilder
Constructor for building a new UpdateSketch.
Util - Class in org.apache.datasketches
Common utility functions.

V

validate() - Method in class org.apache.datasketches.cpc.CpcSketch
Convience function that this Sketch is valid.
valueOf(String) - Static method in enum org.apache.datasketches.Family
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.datasketches.frequencies.ErrorType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.datasketches.hll.TgtHllType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.datasketches.ResizeFactor
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.datasketches.theta.UpdateReturnState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.datasketches.tuple.adouble.DoubleSummary.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.datasketches.tuple.aninteger.IntegerSummary.Mode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.datasketches.Family
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.datasketches.frequencies.ErrorType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.datasketches.hll.TgtHllType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.datasketches.ResizeFactor
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.datasketches.theta.UpdateReturnState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.datasketches.tuple.adouble.DoubleSummary.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.datasketches.tuple.aninteger.IntegerSummary.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
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.

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(Memory) - Static method in class org.apache.datasketches.hll.HllSketch
Wraps the given read-only Memory that must be a image of a valid sketch, which may be in compact or updatable form, and should have data.
wrap(Memory) - Static method in class org.apache.datasketches.quantiles.DoublesSketch
Wrap this sketch around the given Memory image of a DoublesSketch, compact or non-compact.
wrap(Memory) - Static method in class org.apache.datasketches.quantiles.DoublesUnion
Returns a read-only Union object that wraps off-heap data of the given memory image of a sketch.
wrap(WritableMemory) - Static method in class org.apache.datasketches.quantiles.DoublesUnion
Returns an updatable Union object that wraps off-heap data of the given memory image of a sketch.
wrap(Memory) - Static method in class org.apache.datasketches.quantiles.DoublesUnionBuilder
Deprecated.
moved to DoublesUnion
wrap(WritableMemory) - Static method in class org.apache.datasketches.quantiles.DoublesUnionBuilder
Deprecated.
moved to DoublesUnion
wrap(WritableMemory) - Static method in class org.apache.datasketches.quantiles.UpdateDoublesSketch
Wrap this sketch around the given non-compact Memory image of a DoublesSketch.
wrap(Memory) - Static method in class org.apache.datasketches.theta.SetOperation
Wrap takes the SetOperation image in Memory and refers to it directly.
wrap(Memory, long) - Static method in class org.apache.datasketches.theta.SetOperation
Wrap takes the SetOperation image in Memory and refers to it directly.
wrap(WritableMemory) - Static method in class org.apache.datasketches.theta.SetOperation
Wrap takes the SetOperation image in Memory and refers to it directly.
wrap(WritableMemory, long) - Static method in class org.apache.datasketches.theta.SetOperation
Wrap takes the SetOperation image in Memory and refers to it directly.
wrap(Memory) - Static method in class org.apache.datasketches.theta.Sketch
Wrap takes the sketch image in Memory and refers to it directly.
wrap(Memory, long) - Static method in class org.apache.datasketches.theta.Sketch
Wrap takes the sketch image in Memory and refers to it directly.
wrap(WritableMemory) - Static method in class org.apache.datasketches.theta.UpdateSketch
Wrap takes the sketch image in Memory and refers to it directly.
wrap(WritableMemory, long) - Static method in class org.apache.datasketches.theta.UpdateSketch
Wrap takes the sketch image in Memory and refers to it directly.
wrap(Memory) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketch
Wrap the given Memory as an ArrayOfDoublesSketch
wrap(Memory, long) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketch
Wrap the given Memory and seed as a ArrayOfDoublesSketch
wrap(Memory) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesUnion
Wrap the given Memory as an ArrayOfDoublesUnion
wrap(Memory, long) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesUnion
Wrap the given Memory and seed as an ArrayOfDoublesUnion
wrap(WritableMemory) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesUnion
Wrap the given WritableMemory as an ArrayOfDoublesUnion
wrap(WritableMemory, long) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesUnion
Wrap the given WritableMemory and seed as an ArrayOfDoublesUnion
wrap(WritableMemory) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketch
Wrap the given WritableMemory as an ArrayOfDoublesUpdatableSketch
wrap(WritableMemory, long) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesUpdatableSketch
Wrap the given WritableMemory and seed as a ArrayOfDoublesUpdatableSketch
wrapIntersection(Memory) - Static method in class org.apache.datasketches.theta.Sketches
Convenience method, calls SetOperation.wrap(Memory) and casts the result to a Intersection
wrapIntersection(WritableMemory) - Static method in class org.apache.datasketches.theta.Sketches
Convenience method, calls SetOperation.wrap(Memory) and casts the result to a Intersection
wrapSetOperation(Memory) - Static method in class org.apache.datasketches.theta.Sketches
wrapSetOperation(WritableMemory) - Static method in class org.apache.datasketches.theta.Sketches
wrapSetOperation(Memory, long) - Static method in class org.apache.datasketches.theta.Sketches
wrapSetOperation(WritableMemory, long) - Static method in class org.apache.datasketches.theta.Sketches
wrapSketch(Memory) - Static method in class org.apache.datasketches.theta.Sketches
wrapSketch(Memory, long) - Static method in class org.apache.datasketches.theta.Sketches
wrapSketch(Memory) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketches
Wrap the given Memory as an ArrayOfDoublesSketch
wrapSketch(Memory, long) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketches
Wrap the given Memory and seed as a ArrayOfDoublesSketch
wrapUnion(Memory) - Static method in class org.apache.datasketches.theta.Sketches
Convenience method, calls SetOperation.wrap(Memory) and casts the result to a Union
wrapUnion(WritableMemory) - Static method in class org.apache.datasketches.theta.Sketches
Convenience method, calls SetOperation.wrap(Memory) and casts the result to a Union
wrapUnion(Memory) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketches
Wrap the given Memory as an ArrayOfDoublesUnion
wrapUnion(Memory, long) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketches
Wrap the given Memory and seed as an ArrayOfDoublesUnion
wrapUnion(WritableMemory) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketches
Wrap the given Memory as an ArrayOfDoublesUnion
wrapUnion(WritableMemory, long) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketches
Wrap the given Memory and seed as an ArrayOfDoublesUnion
wrapUpdatableSketch(WritableMemory) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketches
Wrap the given WritableMemory as an ArrayOfDoublesUpdatableSketch
wrapUpdatableSketch(WritableMemory, long) - Static method in class org.apache.datasketches.tuple.ArrayOfDoublesSketches
Wrap the given WritableMemory and seed as a ArrayOfDoublesUpdatableSketch
wrapUpdateSketch(WritableMemory) - Static method in class org.apache.datasketches.theta.Sketches
wrapUpdateSketch(WritableMemory, long) - Static method in class org.apache.datasketches.theta.Sketches
writableWrap(WritableMemory) - Static method in class org.apache.datasketches.hll.HllSketch
Wraps the given WritableMemory, which must be a image of a valid updatable sketch, and may have data.
writableWrap(WritableMemory) - Static method in class org.apache.datasketches.hll.Union
Wraps the given WritableMemory, which must be a image of a valid updatable HLL_8 sketch, and may have data.

X

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.
XxHash() - Constructor for class org.apache.datasketches.hash.XxHash
 

Z

zeroPad(String, int) - Static method in class org.apache.datasketches.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 
Skip navigation links

Copyright © 2015–2020 The Apache Software Foundation. All rights reserved.