- gadget_ - Variable in class com.yahoo.sketches.quantiles.ItemsUnion
-
- getActiveEntries() - Method in class com.yahoo.sketches.hll.UniqueCountMap
-
Returns the number of active, unique keys across all internal maps
- getAverageSketchMemoryPerKey() - Method in class com.yahoo.sketches.hll.UniqueCountMap
-
Returns the average memory storage per key that is dedicated to sketching the unique counts.
- getBucketIterator() - Method in interface com.yahoo.sketches.hll.Fields
-
Returns a BucketIterator over the buckets in this Fields object.
- getCDF(double[]) - Method in class com.yahoo.sketches.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 com.yahoo.sketches.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).
- getCompactStorageBytes() - Method in class com.yahoo.sketches.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 com.yahoo.sketches.quantiles.DoublesSketch
-
Returns the number of bytes a DoublesSketch would require to store in compact form
given the values of k and n.
- getConfigK() - Method in class com.yahoo.sketches.hll.Preamble
-
Gets the configured K
- getCountLessThanTheta(double) - Method in class com.yahoo.sketches.theta.Sketch
-
Gets the number of hash values less than the given theta.
- getCurrentBytes(boolean) - Method in class com.yahoo.sketches.theta.Sketch
-
Returns the number of storage bytes required for this Sketch in its current state.
- getCurrentMapCapacity() - Method in class com.yahoo.sketches.frequencies.ItemsSketch
-
Returns the current number of counters the sketch is configured to support.
- getCurrentMapCapacity() - Method in class com.yahoo.sketches.frequencies.LongsSketch
-
Returns the current number of counters the sketch is configured to support.
- getEffectiveK() - Method in class com.yahoo.sketches.quantiles.DoublesUnion
-
Returns the effective k of this Union.
- getEffectiveK() - Method in class com.yahoo.sketches.quantiles.ItemsUnion
-
Returns the effective k of this Union.
- getEstimate(T) - Method in class com.yahoo.sketches.frequencies.ItemsSketch
-
Gets the estimate of the frequency of the given item.
- getEstimate() - Method in class com.yahoo.sketches.frequencies.ItemsSketch.Row
-
- getEstimate(long) - Method in class com.yahoo.sketches.frequencies.LongsSketch
-
Gets the estimate of the frequency of the given item.
- getEstimate() - Method in class com.yahoo.sketches.frequencies.LongsSketch.Row
-
- getEstimate() - Method in class com.yahoo.sketches.hll.HllSketch
-
Gets the unique count estimate.
- getEstimate(byte[]) - Method in class com.yahoo.sketches.hll.UniqueCountMap
-
Retrieves the current estimate of unique count for a given key.
- getEstimate() - Method in class com.yahoo.sketches.theta.Sketch
-
Gets the unique count estimate.
- getEstimate(Memory) - Static method in class com.yahoo.sketches.theta.Sketches
-
Gets the unique count estimate from a valid memory image of a Sketch
- getEstimate() - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesSketch
-
Estimates the cardinality of the set (number of unique values presented to the sketch)
- getEstimate() - Method in class com.yahoo.sketches.tuple.Sketch
-
Estimates the cardinality of the set (number of unique values presented to the sketch)
- getEstimateOfA(long, double) - Static method in class com.yahoo.sketches.BoundsOnRatiosInSampledSets
-
Return the estimate of A.
- getEstimateOfB(long, double) - Static method in class com.yahoo.sketches.BoundsOnRatiosInSampledSets
-
Return the estimate of B.
- getEstimateOfBoverA(long, long) - Static method in class com.yahoo.sketches.BoundsOnRatiosInSampledSets
-
Return the estimate of b over a
- getEstimateOfBoverA(Sketch, Sketch) - Static method in class com.yahoo.sketches.BoundsOnRatiosInThetaSketchedSets
-
Gets the estimate for B over A
- getFamily() - Method in class com.yahoo.sketches.theta.CompactSketch
-
- getFamily() - Method in class com.yahoo.sketches.theta.SetOperation
-
Gets the Family of this SetOperation
- getFamily() - Method in class com.yahoo.sketches.theta.Sketch
-
Returns the Family that this sketch belongs to
- getFamily() - Method in class com.yahoo.sketches.theta.UpdateSketchBuilder
-
Returns the Family
- getFamilyId() - Method in class com.yahoo.sketches.hll.Preamble
-
Gets the Family ID
- getFamilyName() - Method in enum com.yahoo.sketches.Family
-
Returns the name for this family
- getFlags() - Method in class com.yahoo.sketches.hll.Preamble
-
Gets the flags byte
- getFrequentItems(long, ErrorType) - Method in class com.yahoo.sketches.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 com.yahoo.sketches.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 com.yahoo.sketches.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 com.yahoo.sketches.frequencies.LongsSketch
-
Returns an array of Rows that include frequent items, estimates, upper and lower bounds
given an ErrorCondition and the default threshold.
- getId() - Method in class com.yahoo.sketches.ArrayOfItemsSerDe
-
Deprecated.
- getID() - Method in enum com.yahoo.sketches.Family
-
Returns the byte ID for this family
- getInstance(Memory, ArrayOfItemsSerDe<T>) - Static method in class com.yahoo.sketches.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 com.yahoo.sketches.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 com.yahoo.sketches.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 com.yahoo.sketches.quantiles.ItemsSketch
-
Obtains a new instance of an ItemsSketch using the DEFAULT_K.
- getInstance(int, Comparator<? super T>) - Static method in class com.yahoo.sketches.quantiles.ItemsSketch
-
Obtains a new instance of an ItemsSketch.
- getInstance(Memory, Comparator<? super T>, ArrayOfItemsSerDe<T>) - Static method in class com.yahoo.sketches.quantiles.ItemsSketch
-
Heapifies the given srcMem, which must be a Memory image of a ItemsSketch
- getInstance(Comparator<? super T>) - Static method in class com.yahoo.sketches.quantiles.ItemsUnion
-
Create an instance of ItemsUnion with the default k
- getInstance(int, Comparator<? super T>) - Static method in class com.yahoo.sketches.quantiles.ItemsUnion
-
Create an instance of ItemsUnion
- getInstance(Memory, Comparator<? super T>, ArrayOfItemsSerDe<T>) - Static method in class com.yahoo.sketches.quantiles.ItemsUnion
-
Heapify the given srcMem into a Union object.
- getInstance(ItemsSketch<T>) - Static method in class com.yahoo.sketches.quantiles.ItemsUnion
-
Create an instance of ItemsUnion based on ItemsSketch
- getInstance(int) - Static method in class com.yahoo.sketches.sampling.ReservoirItemsSketch
-
Construct a mergeable sampling sketch with up to k samples using the default resize
factor (8).
- getInstance(int, ResizeFactor) - Static method in class com.yahoo.sketches.sampling.ReservoirItemsSketch
-
Construct a mergeable sampling sketch with up to k samples using a specified resize factor.
- getInstance(Memory, ArrayOfItemsSerDe<T>) - Static method in class com.yahoo.sketches.sampling.ReservoirItemsSketch
-
Returns a sketch instance of this class from the given srcMem,
which must be a Memory representation of this sketch class.
- getInstance(int) - Static method in class com.yahoo.sketches.sampling.ReservoirItemsUnion
-
Creates an empty Union with a maximum reservoir capacity of size k, subject to the precision of
ReservoirSize
- getInstance(Memory, ArrayOfItemsSerDe<T>) - Static method in class com.yahoo.sketches.sampling.ReservoirItemsUnion
-
Instantiates a Union from Memory
- getInstance(int) - Static method in class com.yahoo.sketches.sampling.ReservoirLongsSketch
-
Construct a mergeable reservoir sampling sketch with up to k samples using the default resize
factor (8).
- getInstance(int, ResizeFactor) - Static method in class com.yahoo.sketches.sampling.ReservoirLongsSketch
-
Construct a mergeable reservoir sampling sketch with up to k samples using the default resize
factor (8).
- getInstance(Memory) - Static method in class com.yahoo.sketches.sampling.ReservoirLongsSketch
-
Returns a sketch instance of this class from the given srcMem, which must be a Memory
representation of this sketch class.
- getInstance(int) - Static method in class com.yahoo.sketches.sampling.ReservoirLongsUnion
-
Creates an empty Union with a maximum reservoir capacity of size k, subject to the precision of
ReservoirSize
- getInstance(Memory) - Static method in class com.yahoo.sketches.sampling.ReservoirLongsUnion
-
Instantiates a Union from Memory
- getItem() - Method in class com.yahoo.sketches.frequencies.ItemsSketch.Row
-
- getItem() - Method in class com.yahoo.sketches.frequencies.LongsSketch.Row
-
- getK() - Method in class com.yahoo.sketches.quantiles.DoublesSketch
-
Returns the configured value of K
- getK() - Method in class com.yahoo.sketches.quantiles.DoublesSketchBuilder
-
Gets the current configured value of k
- getK() - Method in class com.yahoo.sketches.quantiles.ItemsSketch
-
Returns the configured value of K
- getK() - Method in class com.yahoo.sketches.sampling.ReservoirItemsSketch
-
Returns the sketch's value of k, the maximum number of samples stored in the
reservoir.
- getK() - Method in class com.yahoo.sketches.sampling.ReservoirLongsSketch
-
Returns the sketch's value of k, the maximum number of samples stored in the reservoir.
- getKey() - Method in interface com.yahoo.sketches.hll.BucketIterator
-
Gets the index of the current bucket
- getKey() - Method in class com.yahoo.sketches.hll.CompositeBucketIterator
-
- getKey() - Method in interface com.yahoo.sketches.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 com.yahoo.sketches.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 com.yahoo.sketches.hll.UniqueCountMap
-
Returns total bytes used for key storage
- getLgNominalEntries() - Method in class com.yahoo.sketches.theta.SetOperationBuilder
-
Returns Log-base 2 Nominal Entries
- getLgNominalEntries() - Method in class com.yahoo.sketches.theta.UpdateSketchBuilder
-
Returns Log-base 2 Nominal Entries
- getLogBuckets() - Method in class com.yahoo.sketches.hll.HllSketchBuilder
-
Gets the currently configured log_base2 of the number of buckets (k)
- getLogConfigK() - Method in class com.yahoo.sketches.hll.Preamble
-
Gets the log_base2 of the configured K
- getLowerBound(long, double, int, boolean) - Static method in class com.yahoo.sketches.BinomialBoundsN
-
Returns the approximate lower bound value
- getLowerBound(T) - Method in class com.yahoo.sketches.frequencies.ItemsSketch
-
Gets the guaranteed lower bound frequency of the given item, which can never be
negative.
- getLowerBound() - Method in class com.yahoo.sketches.frequencies.ItemsSketch.Row
-
- getLowerBound(long) - Method in class com.yahoo.sketches.frequencies.LongsSketch
-
Gets the guaranteed lower bound frequency of the given item, which can never be
negative.
- getLowerBound() - Method in class com.yahoo.sketches.frequencies.LongsSketch.Row
-
- getLowerBound(double) - Method in class com.yahoo.sketches.hll.HllSketch
-
Gets the lower bound with respect to the Estimate
- getLowerBound(byte[]) - Method in class com.yahoo.sketches.hll.UniqueCountMap
-
- getLowerBound(int) - Method in class com.yahoo.sketches.theta.Sketch
-
Gets the approximate lower error bound given the specified number of Standard Deviations.
- getLowerBound(int, Memory) - Static method in class com.yahoo.sketches.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 com.yahoo.sketches.tuple.ArrayOfDoublesSketch
-
Gets the approximate lower error bound given the specified number of Standard Deviations.
- getLowerBound(int) - Method in class com.yahoo.sketches.tuple.Sketch
-
Gets the approximate lower error bound given the specified number of Standard Deviations.
- getLowerBoundForBoverA(long, long, double) - Static method in class com.yahoo.sketches.BoundsOnRatiosInSampledSets
-
Return the approximate lower bound based on a 95% confidence interval
- getLowerBoundForBoverA(Sketch, Sketch) - Static method in class com.yahoo.sketches.BoundsOnRatiosInThetaSketchedSets
-
Gets the approximate lower bound for B over A based on a 95% confidence interval
- getMaxAuxSize() - Method in class com.yahoo.sketches.hll.Preamble
-
Gets the maximum auxiliary size
- getMaxBytes(int, int) - Static method in class com.yahoo.sketches.tuple.ArrayOfDoublesUnion
-
- getMaxCompactSketchBytes(int) - Static method in class com.yahoo.sketches.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 com.yahoo.sketches.theta.Sketches
-
- getMaximumError() - Method in class com.yahoo.sketches.frequencies.ItemsSketch
-
- getMaximumError() - Method in class com.yahoo.sketches.frequencies.LongsSketch
-
- getMaximumMapCapacity() - Method in class com.yahoo.sketches.frequencies.ItemsSketch
-
Returns the maximum number of counters the sketch is configured to support.
- getMaximumMapCapacity() - Method in class com.yahoo.sketches.frequencies.LongsSketch
-
Returns the maximum number of counters the sketch is configured to support.
- getMaxIntersectionBytes(int) - Static method in class com.yahoo.sketches.theta.SetOperation
-
Returns the maximum required storage bytes given a nomEntries parameter for Intersection
operations
- getMaxIntersectionBytes(int) - Static method in class com.yahoo.sketches.theta.Sketches
-
- getMaxK() - Method in class com.yahoo.sketches.quantiles.DoublesUnion
-
Returns the configured maxK of this Union.
- getMaxK() - Method in class com.yahoo.sketches.quantiles.DoublesUnionBuilder
-
Gets the current configured value of maxK
- getMaxK() - Method in class com.yahoo.sketches.quantiles.ItemsUnion
-
Returns the configured maxK of this Union.
- getMaxK() - Method in class com.yahoo.sketches.sampling.ReservoirItemsUnion
-
Returns the maximum allowed reservoir capacity in this union.
- getMaxK() - Method in class com.yahoo.sketches.sampling.ReservoirLongsUnion
-
Returns the maximum allowed reservoir capacity in this union.
- getMaxPreLongs() - Method in enum com.yahoo.sketches.Family
-
Returns the maximum preamble size for this family in longs
- getMaxUnionBytes(int) - Static method in class com.yahoo.sketches.theta.SetOperation
-
Returns the maximum required storage bytes given a nomEntries parameter for Union operations
- getMaxUnionBytes(int) - Static method in class com.yahoo.sketches.theta.Sketches
-
- getMaxUpdateSketchBytes(int) - Static method in class com.yahoo.sketches.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 com.yahoo.sketches.theta.Sketches
-
- getMaxValue() - Method in class com.yahoo.sketches.quantiles.DoublesSketch
-
Returns the max value of the stream.
- getMaxValue() - Method in class com.yahoo.sketches.quantiles.ItemsSketch
-
Returns the max value of the stream
- getMemory() - Method in class com.yahoo.sketches.quantiles.DoublesSketchBuilder
-
Gets the configured Memory to be initialized by the sketch for off-heap use.
- getMemory() - Method in class com.yahoo.sketches.quantiles.DoublesUnionBuilder
-
Gets the configured Memory to be initialized by the union for off-heap use.
- getMemory() - Method in class com.yahoo.sketches.theta.SetOperationBuilder
-
- getMemory() - Method in class com.yahoo.sketches.theta.UpdateSketchBuilder
-
- getMemoryUsageBytes() - Method in class com.yahoo.sketches.hll.UniqueCountMap
-
Returns total bytes used by all internal maps
- getMinPreLongs() - Method in enum com.yahoo.sketches.Family
-
Returns the minimum preamble size for this family in longs
- getMinValue() - Method in class com.yahoo.sketches.quantiles.DoublesSketch
-
Returns the min value of the stream.
- getMinValue() - Method in class com.yahoo.sketches.quantiles.ItemsSketch
-
Returns the min value of the stream
- getN() - Method in class com.yahoo.sketches.quantiles.DoublesSketch
-
Returns the length of the input stream so far.
- getN() - Method in class com.yahoo.sketches.quantiles.ItemsSketch
-
Returns the length of the input stream so far.
- getN() - Method in class com.yahoo.sketches.sampling.ReservoirItemsSketch
-
Returns the number of items processed from the input stream
- getN() - Method in class com.yahoo.sketches.sampling.ReservoirLongsSketch
-
Returns the number of items processed from the input stream
- getNominalEntries() - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUpdatableSketch
-
Gets the configured nominal number of entries
- getNormalizedRankError() - Method in class com.yahoo.sketches.quantiles.DoublesSketch
-
Get the rank error normalized as a fraction between zero and one.
- getNormalizedRankError(int) - Static method in class com.yahoo.sketches.quantiles.DoublesSketch
-
- getNormalizedRankError() - Method in class com.yahoo.sketches.quantiles.ItemsSketch
-
Get the rank error normalized as a fraction between zero and one.
- getNormalizedRankError(int) - Static method in class com.yahoo.sketches.quantiles.ItemsSketch
-
- getNumActiveItems() - Method in class com.yahoo.sketches.frequencies.ItemsSketch
-
- getNumActiveItems() - Method in class com.yahoo.sketches.frequencies.LongsSketch
-
- getNumSamples() - Method in class com.yahoo.sketches.sampling.ReservoirItemsSketch
-
Returns the current number of items in the reservoir, which may be smaller than the
reservoir capacity.
- getNumSamples() - Method in class com.yahoo.sketches.sampling.ReservoirLongsSketch
-
Returns the current number of items in the reservoir, which may be smaller than the reservoir
capacity.
- getNumValues() - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesSketch
-
- getObject() - Method in class com.yahoo.sketches.tuple.DeserializeResult
-
- getP() - Method in class com.yahoo.sketches.theta.SetOperationBuilder
-
Returns the pre-sampling probability p
- getP() - Method in class com.yahoo.sketches.theta.UpdateSketchBuilder
-
Returns the pre-sampling probability p
- getPMF(double[]) - Method in class com.yahoo.sketches.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 com.yahoo.sketches.quantiles.ItemsSketch
-
Returns an approximation to the Probability Mass Function (PMF) of the input stream
given a set of splitPoints (values).
- getPreamble() - Method in interface com.yahoo.sketches.hll.Fields
-
Gets the Preamble
- getPreamble() - Method in class com.yahoo.sketches.hll.HllSketch
-
Gets the Preamble of this sketch
- getPreamble() - Method in class com.yahoo.sketches.hll.HllSketchBuilder
-
Gets the configured Preamble
- getPreambleLongs() - Method in class com.yahoo.sketches.hll.Preamble
-
Gets the size of the Preamble in longs
- getQuantile(double) - Method in class com.yahoo.sketches.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 com.yahoo.sketches.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.
- getQuantiles(double[]) - Method in class com.yahoo.sketches.quantiles.DoublesSketch
-
This is a more efficient multiple-query version of getQuantile().
- getQuantiles(int) - Method in class com.yahoo.sketches.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 com.yahoo.sketches.quantiles.ItemsSketch
-
This is a more efficient multiple-query version of getQuantile().
- getQuantiles(int) - Method in class com.yahoo.sketches.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.
- getRawSamplesAsList() - Method in class com.yahoo.sketches.sampling.ReservoirItemsSketch
-
Returns the actual List backing the reservoir.
- getResizeFactor() - Method in class com.yahoo.sketches.theta.SetOperationBuilder
-
Returns the Resize Factor
- getResizeFactor() - Method in class com.yahoo.sketches.theta.UpdateSketch
-
Returns the configured ResizeFactor
- getResizeFactor() - Method in class com.yahoo.sketches.theta.UpdateSketchBuilder
-
Returns the Resize Factor
- getResult() - Method in class com.yahoo.sketches.quantiles.DoublesUnion
-
Gets the result of this Union operation as a copy of the internal state.
- getResult() - Method in class com.yahoo.sketches.quantiles.ItemsUnion
-
Gets the result of this Union operation as a copy of the internal state.
- getResult() - Method in class com.yahoo.sketches.sampling.ReservoirItemsUnion
-
Returns a sketch representing the current state of the union.
- getResult() - Method in class com.yahoo.sketches.sampling.ReservoirLongsUnion
-
Returns a sketch representing the current state of the union.
- getResult(boolean, Memory) - Method in interface com.yahoo.sketches.theta.AnotB
-
Gets the result of this operation as a CompactSketch of the chosen form
- getResult() - Method in interface com.yahoo.sketches.theta.AnotB
-
Gets the result of this operation as an ordered CompactSketch on the Java heap
- getResult(boolean, Memory) - Method in interface com.yahoo.sketches.theta.Intersection
-
Gets the result of this operation as a CompactSketch of the chosen form.
- getResult() - Method in interface com.yahoo.sketches.theta.Intersection
-
Gets the result of this operation as an ordered CompactSketch on the Java heap.
- getResult(boolean, Memory) - Method in interface com.yahoo.sketches.theta.Union
-
Gets the result of this operation as a CompactSketch of the chosen form.
- getResult() - Method in interface com.yahoo.sketches.theta.Union
-
Gets the result of this operation as an ordered CompactSketch on the Java heap.
- getResult() - Method in class com.yahoo.sketches.tuple.AnotB
-
Gets the result of this operation
- getResult() - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesAnotB
-
Gets the result of this operation in the form of a ArrayOfDoublesCompactSketch
- getResult(Memory) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesAnotB
-
Gets the result of this operation in the form of a ArrayOfDoublesCompactSketch
- getResult(Memory) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesIntersection
-
Gets the internal set as an off-heap compact sketch using the given memory.
- getResult() - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesIntersection
-
Gets the internal set as an on-heap compact sketch.
- getResult(Memory) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUnion
-
Returns the resulting union in the form of a compact sketch
- getResult() - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUnion
-
Returns the resulting union in the form of a compact sketch
- getResult() - Method in class com.yahoo.sketches.tuple.Intersection
-
Gets the internal set as a CompactSketch
- getResult() - Method in class com.yahoo.sketches.tuple.Union
-
Gets the internal set as a CompactSketch
- getResultAndReset() - Method in class com.yahoo.sketches.quantiles.DoublesUnion
-
Gets the result of this Union operation (without a copy) and resets this Union to the
virgin state.
- getResultAndReset() - Method in class com.yahoo.sketches.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 com.yahoo.sketches.theta.CompactSketch
-
- getRetainedEntries() - Method in class com.yahoo.sketches.theta.Sketch
-
Returns the number of valid entries that have been retained by the sketch.
- getRetainedEntries(boolean) - Method in class com.yahoo.sketches.theta.Sketch
-
Returns the number of entries that have been retained by the sketch.
- getRetainedEntries() - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesSketch
-
- getRetainedEntries() - Method in class com.yahoo.sketches.tuple.CompactSketch
-
- getRetainedEntries() - Method in class com.yahoo.sketches.tuple.Sketch
-
- getRetainedItems() - Method in class com.yahoo.sketches.quantiles.DoublesSketch
-
Computes the number of retained items (samples) in the sketch
- getRetainedItems() - Method in class com.yahoo.sketches.quantiles.ItemsSketch
-
Computes the number of retained entries (samples) in the sketch
- getRF(int) - Static method in enum com.yahoo.sketches.ResizeFactor
-
Returns the Resize Factor given the Log-base 2 of the Resize Factor
- getRowHeader() - Static method in class com.yahoo.sketches.frequencies.ItemsSketch.Row
-
- getRowHeader() - Static method in class com.yahoo.sketches.frequencies.LongsSketch.Row
-
- getSamples() - Method in class com.yahoo.sketches.sampling.ReservoirItemsSketch
-
Returns a copy of the items in the reservoir, or null if empty.
- getSamples(Class<?>) - Method in class com.yahoo.sketches.sampling.ReservoirItemsSketch
-
Returns a copy of the items in the reservoir as members of Class clazz, or null
if empty.
- getSamples() - Method in class com.yahoo.sketches.sampling.ReservoirLongsSketch
-
Returns a copy of the items in the reservoir.
- getSeed() - Method in class com.yahoo.sketches.theta.SetOperationBuilder
-
Returns the seed
- getSeed() - Method in class com.yahoo.sketches.theta.UpdateSketchBuilder
-
Returns the seed
- getSeedHash() - Method in class com.yahoo.sketches.hll.Preamble
-
Gets the seed hash
- getSerializationVersion(Memory) - Static method in class com.yahoo.sketches.theta.Sketch
-
Returns the serialization version from the given Memory
- getSerializationVersion(Memory) - Static method in class com.yahoo.sketches.theta.Sketches
-
- getSize() - Method in class com.yahoo.sketches.tuple.DeserializeResult
-
- getStorageBytes() - Method in class com.yahoo.sketches.frequencies.LongsSketch
-
Returns the number of bytes required to store this sketch as an array of bytes.
- getStorageBytes() - Method in class com.yahoo.sketches.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 com.yahoo.sketches.frequencies.ItemsSketch
-
Returns the sum of the frequencies in the stream seen so far by the sketch
- getStreamLength() - Method in class com.yahoo.sketches.frequencies.LongsSketch
-
Returns the sum of the frequencies (weights or counts) in the stream seen so far by the sketch
- getSummaries() - Method in class com.yahoo.sketches.tuple.CompactSketch
-
- getSummaries() - Method in class com.yahoo.sketches.tuple.Sketch
-
- getSummary() - Method in class com.yahoo.sketches.tuple.SketchIterator
-
Gets a Summary object from the current entry in the sketch.
- getSummarySetOperations() - Method in class com.yahoo.sketches.tuple.DoubleSummaryFactory
-
- getSummarySetOperations() - Method in interface com.yahoo.sketches.tuple.SummaryFactory
-
This is to obtain methods of producing unions and intersections of two Summary objects
- getTheta() - Method in class com.yahoo.sketches.theta.Sketch
-
Gets the value of theta as a double with a value between zero and one
- getTheta() - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesSketch
-
Gets the value of theta as a double between zero and one
- getTheta() - Method in class com.yahoo.sketches.tuple.Sketch
-
Gets the value of theta as a double between zero and one
- getUpdatableStorageBytes() - Method in class com.yahoo.sketches.quantiles.DoublesSketch
-
Returns the number of bytes this sketch would require to store in updatable form.
- getUpdatableStorageBytes(int, long) - Static method in class com.yahoo.sketches.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 com.yahoo.sketches.BinomialBoundsN
-
Returns the approximate upper bound value
- getUpperBound(T) - Method in class com.yahoo.sketches.frequencies.ItemsSketch
-
Gets the guaranteed upper bound frequency of the given item.
- getUpperBound() - Method in class com.yahoo.sketches.frequencies.ItemsSketch.Row
-
- getUpperBound(long) - Method in class com.yahoo.sketches.frequencies.LongsSketch
-
Gets the guaranteed upper bound frequency of the given item.
- getUpperBound() - Method in class com.yahoo.sketches.frequencies.LongsSketch.Row
-
- getUpperBound(double) - Method in class com.yahoo.sketches.hll.HllSketch
-
Gets the upper bound with respect to the Estimate
- getUpperBound(byte[]) - Method in class com.yahoo.sketches.hll.UniqueCountMap
-
- getUpperBound(int) - Method in class com.yahoo.sketches.theta.Sketch
-
Gets the approximate upper error bound given the specified number of Standard Deviations.
- getUpperBound(int, Memory) - Static method in class com.yahoo.sketches.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 com.yahoo.sketches.tuple.ArrayOfDoublesSketch
-
Gets the approximate upper error bound given the specified number of Standard Deviations.
- getUpperBound(int) - Method in class com.yahoo.sketches.tuple.Sketch
-
Gets the approximate upper error bound given the specified number of Standard Deviations.
- getUpperBoundForBoverA(long, long, double) - Static method in class com.yahoo.sketches.BoundsOnRatiosInSampledSets
-
Return the approximate upper bound based on a 95% confidence interval
- getUpperBoundForBoverA(Sketch, Sketch) - Static method in class com.yahoo.sketches.BoundsOnRatiosInThetaSketchedSets
-
Gets the approximate upper bound for B over A based on a 95% confidence interval
- getValue() - Method in interface com.yahoo.sketches.hll.BucketIterator
-
Gets the value of the current bucket
- getValue() - Method in class com.yahoo.sketches.hll.CompositeBucketIterator
-
- getValue() - Method in enum com.yahoo.sketches.ResizeFactor
-
Returns the Resize Factor
- getValue() - Method in class com.yahoo.sketches.tuple.DoubleSummary
-
- getValues() - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesSketch
-
- getValues() - Method in interface com.yahoo.sketches.tuple.ArrayOfDoublesSketchIterator
-
Gets an array of values from the current entry in the sketch.
- getVersion() - Method in class com.yahoo.sketches.hll.Preamble
-
Gets the serialization version of this Preamble
- hash(long[], long) - Static method in class com.yahoo.sketches.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 com.yahoo.sketches.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 com.yahoo.sketches.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 com.yahoo.sketches.hash.MurmurHash3
-
Returns a long array of size 2, which is a 128-bit hash of the input.
- HASH_SPARSE_VERSION - Static variable in interface com.yahoo.sketches.hll.Fields
-
Hash sparse version
- hashArrayInsert(long[], long[], int, long) - Static method in class com.yahoo.sketches.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 com.yahoo.sketches.frequencies.ItemsSketch.Row
-
This hashCode is computed only from the Row.getEstimate() value.
- hashCode() - Method in class com.yahoo.sketches.frequencies.LongsSketch.Row
-
This hashCode is computed only from the Row.getEstimate() value.
- hashCode() - Method in class com.yahoo.sketches.hll.Preamble
-
- hashInsertOnly(long[], int, long) - Static method in class com.yahoo.sketches.HashOperations
-
This is a classical Knuth-style Open Addressing, Double Hash insert scheme for on-heap.
- hashInsertOnly(Memory, int, long, int) - Static method in class com.yahoo.sketches.HashOperations
-
This is a classical Knuth-style Open Addressing, Double Hash insert scheme for off-heap,
but inserts values directly into a Memory.
- HashOperations - Class in com.yahoo.sketches
-
Helper class for the common hash table methods.
- hashSearch(long[], int, long) - Static method in class com.yahoo.sketches.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 com.yahoo.sketches.HashOperations
-
This is a classical Knuth-style Open Addressing, Double Hash search scheme for off-heap.
- hashSearchOrInsert(long[], int, long) - Static method in class com.yahoo.sketches.HashOperations
-
This is a classical Knuth-style Open Addressing, Double Hash insert scheme for on-heap.
- hashSearchOrInsert(Memory, int, long, int) - Static method in class com.yahoo.sketches.HashOperations
-
This is a classical Knuth-style Open Addressing, Double Hash insert scheme for off-heap,
but inserts values directly into a Memory.
- hashToBytes(long, long) - Static method in class com.yahoo.sketches.hash.MurmurHash3Adaptor
-
Hash a long and long seed.
- hashToBytes(long[], long) - Static method in class com.yahoo.sketches.hash.MurmurHash3Adaptor
-
Hash a long[] and long seed.
- hashToBytes(int[], long) - Static method in class com.yahoo.sketches.hash.MurmurHash3Adaptor
-
Hash an int[] and long seed.
- hashToBytes(char[], long) - Static method in class com.yahoo.sketches.hash.MurmurHash3Adaptor
-
Hash a char[] and long seed.
- hashToBytes(byte[], long) - Static method in class com.yahoo.sketches.hash.MurmurHash3Adaptor
-
Hash a byte[] and long seed.
- hashToBytes(double, long) - Static method in class com.yahoo.sketches.hash.MurmurHash3Adaptor
-
Hash a double and long seed.
- hashToBytes(String, long) - Static method in class com.yahoo.sketches.hash.MurmurHash3Adaptor
-
Hash a String and long seed.
- hashToLongs(long, long) - Static method in class com.yahoo.sketches.hash.MurmurHash3Adaptor
-
Hash a long and long seed.
- hashToLongs(long[], long) - Static method in class com.yahoo.sketches.hash.MurmurHash3Adaptor
-
Hash a long[] and long seed.
- hashToLongs(int[], long) - Static method in class com.yahoo.sketches.hash.MurmurHash3Adaptor
-
Hash a int[] and long seed.
- hashToLongs(char[], long) - Static method in class com.yahoo.sketches.hash.MurmurHash3Adaptor
-
Hash a char[] and long seed.
- hashToLongs(byte[], long) - Static method in class com.yahoo.sketches.hash.MurmurHash3Adaptor
-
Hash a byte[] and long seed.
- hashToLongs(double, long) - Static method in class com.yahoo.sketches.hash.MurmurHash3Adaptor
-
Hash a double and long seed.
- hashToLongs(String, long) - Static method in class com.yahoo.sketches.hash.MurmurHash3Adaptor
-
Hash a String and long seed.
- hasResult() - Method in interface com.yahoo.sketches.theta.Intersection
-
Returns true if there is an intersection result available
- heapify(Memory) - Static method in class com.yahoo.sketches.quantiles.CompactDoublesSketch
-
- heapify(Memory) - Static method in class com.yahoo.sketches.quantiles.DoublesSketch
-
Heapify takes the sketch image in Memory and instantiates an on-heap Sketch.
- heapify(DoublesSketch) - Static method in class com.yahoo.sketches.quantiles.DoublesUnionBuilder
-
Returns a Heap Union object that has been initialized with the data from the given sketch.
- heapify(Memory) - Static method in class com.yahoo.sketches.quantiles.DoublesUnionBuilder
-
Returns a Heap Union object that has been initialized with the data from the given memory
image of a sketch.
- heapify(Memory) - Static method in class com.yahoo.sketches.quantiles.UpdateDoublesSketch
-
- heapify(Memory) - Static method in class com.yahoo.sketches.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 com.yahoo.sketches.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 com.yahoo.sketches.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 com.yahoo.sketches.theta.Sketch
-
Heapify takes the sketch image in Memory and instantiates an on-heap
Sketch using the given seed.
- heapifySetOperation(Memory) - Static method in class com.yahoo.sketches.theta.Sketches
-
- heapifySetOperation(Memory, long) - Static method in class com.yahoo.sketches.theta.Sketches
-
- heapifySketch(Memory) - Static method in class com.yahoo.sketches.theta.Sketches
-
- heapifySketch(Memory, long) - Static method in class com.yahoo.sketches.theta.Sketches
-
- heapifySketch(Memory) - Static method in class com.yahoo.sketches.tuple.ArrayOfDoublesSketches
-
Heapify the given Memory as an ArrayOfDoublesSketch
- heapifySketch(Memory, long) - Static method in class com.yahoo.sketches.tuple.ArrayOfDoublesSketches
-
Heapify the given Memory and seed as a ArrayOfDoublesSketch
- heapifySketch(Memory) - Static method in class com.yahoo.sketches.tuple.Sketches
-
Instantiate Sketch from a given Memory
- heapifyUnion(Memory) - Static method in class com.yahoo.sketches.tuple.ArrayOfDoublesSketches
-
Heapify the given Memory as an ArrayOfDoublesUnion
- heapifyUnion(Memory, long) - Static method in class com.yahoo.sketches.tuple.ArrayOfDoublesSketches
-
Heapify the given Memory and seed as an ArrayOfDoublesUnion
- heapifyUpdatableSketch(Memory) - Static method in class com.yahoo.sketches.tuple.Sketches
-
Instantiate UpdatableSketch from a given Memory
- HllSketch - Class in com.yahoo.sketches.hll
-
Top-level class for the HLL family of sketches.
- HllSketch(Fields) - Constructor for class com.yahoo.sketches.hll.HllSketch
-
Construct this class with the given Fields
- HllSketchBuilder - Class in com.yahoo.sketches.hll
-
- HllSketchBuilder() - Constructor for class com.yahoo.sketches.hll.HllSketchBuilder
-
Default constructor using default nominal entries (4096).
- select(long[], int, int, int) - Static method in class com.yahoo.sketches.QuickSelect
-
Gets the 0-based kth order statistic from the array.
- select(double[], int, int, int) - Static method in class com.yahoo.sketches.QuickSelect
-
Gets the 0-based kth order statistic from the array.
- selectExcludingZeros(long[], int, int) - Static method in class com.yahoo.sketches.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 com.yahoo.sketches.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 com.yahoo.sketches.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 com.yahoo.sketches.QuickSelect
-
Gets the 1-based kth order statistic from the array including any zero values in the
array.
- serializeToByteArray(Double[]) - Method in class com.yahoo.sketches.ArrayOfDoublesSerDe
-
- serializeToByteArray(T[]) - Method in class com.yahoo.sketches.ArrayOfItemsSerDe
-
Serialize an array of items to byte array.
- serializeToByteArray(Long[]) - Method in class com.yahoo.sketches.ArrayOfLongsSerDe
-
- serializeToByteArray(Number[]) - Method in class com.yahoo.sketches.ArrayOfNumbersSerDe
-
- serializeToByteArray(String[]) - Method in class com.yahoo.sketches.ArrayOfStringsSerDe
-
- serializeToByteArray(String[]) - Method in class com.yahoo.sketches.ArrayOfUtf16StringsSerDe
-
- serializeToString() - Method in class com.yahoo.sketches.frequencies.LongsSketch
-
Returns a String representation of this sketch
- setAllFlags(byte, boolean, boolean, boolean, boolean, boolean, boolean, boolean) - Static method in class com.yahoo.sketches.hll.PreambleFlags
-
Sets the flags of the flags byte
- setBigEndian(boolean) - Method in class com.yahoo.sketches.hll.PreambleFlags.Builder
-
Sets the Endianness state
- setCompressedDense(boolean) - Method in class com.yahoo.sketches.hll.HllSketchBuilder
-
Sets the Compressed Dense flag
- setDenseMode(boolean) - Method in class com.yahoo.sketches.hll.HllSketchBuilder
-
Sets the Dense Mode flag
- setEightBytePadding(boolean) - Method in class com.yahoo.sketches.hll.PreambleFlags.Builder
-
Sets the Eight-Byte-Padding state
- setEmpty(boolean) - Method in class com.yahoo.sketches.hll.PreambleFlags.Builder
-
Sets the Empty state
- setFamily(Family) - Method in class com.yahoo.sketches.theta.UpdateSketchBuilder
-
Set the Family.
- setFamilyId(byte) - Method in class com.yahoo.sketches.hll.Preamble.Builder
-
Sets the Family ID for this Preamble
- setFlags(byte) - Method in class com.yahoo.sketches.hll.Preamble.Builder
-
Sets the flags byte for this Preamble
- setHipEstimator(boolean) - Method in class com.yahoo.sketches.hll.HllSketchBuilder
-
Sets the Hip Estimator option
- setK(int) - Method in class com.yahoo.sketches.quantiles.DoublesSketchBuilder
-
Sets the parameter k that determines the accuracy and size of the sketch.
- setK(int) - Method in class com.yahoo.sketches.quantiles.DoublesUnionBuilder
-
- setLogBuckets(int) - Method in class com.yahoo.sketches.hll.HllSketchBuilder
-
Sets the number of buckets (k) from the log_base2 of the desired value.
- setLogConfigK(byte) - Method in class com.yahoo.sketches.hll.Preamble.Builder
-
Sets the value of k by using the log_base2 of K
- setMaxK(int) - Method in class com.yahoo.sketches.quantiles.DoublesUnionBuilder
-
Sets the parameter masK that determines the maximum size of the sketch that
results from a union and its accuracy.
- setMemory(Memory) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesSetOperationBuilder
-
This is to set destination memory to be used by the sketch
- setMemory(Memory) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUpdatableSketchBuilder
-
This is to set destination memory to be used by the sketch
- setNominalEntries(int) - Method in class com.yahoo.sketches.theta.SetOperationBuilder
-
Sets the Nominal Entries for this set operation.
- setNominalEntries(int) - Method in class com.yahoo.sketches.theta.UpdateSketchBuilder
-
Sets the Nominal Entries for this sketch.
- setNominalEntries(int) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesSetOperationBuilder
-
This is to set the nominal number of entries.
- setNominalEntries(int) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUpdatableSketchBuilder
-
This is to set the nominal number of entries.
- setNominalEntries(int) - Method in class com.yahoo.sketches.tuple.UpdatableSketchBuilder
-
This is to set the nominal number of entries.
- setNumberOfValues(int) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesSetOperationBuilder
-
This is to set the number of double values associated with each key
- setNumberOfValues(int) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUpdatableSketchBuilder
-
This is to set the number of double values associated with each key
- SetOperation - Class in com.yahoo.sketches.theta
-
The parent API for all Set Operations
- SetOperationBuilder - Class in com.yahoo.sketches.theta
-
For building a new SetOperation.
- SetOperationBuilder() - Constructor for class com.yahoo.sketches.theta.SetOperationBuilder
-
Constructor for building a new SetOperation.
- setOperationBuilder() - Static method in class com.yahoo.sketches.theta.Sketches
-
- setP(float) - Method in class com.yahoo.sketches.theta.SetOperationBuilder
-
Sets the upfront uniform sampling probability, p.
- setP(float) - Method in class com.yahoo.sketches.theta.UpdateSketchBuilder
-
Sets the upfront uniform sampling probability, p
- setPreamble(Preamble) - Method in class com.yahoo.sketches.hll.HllSketchBuilder
-
Sets the Preamble
- setPreambleLongs(byte) - Method in class com.yahoo.sketches.hll.Preamble.Builder
-
Sets the preamble longs byte
- setReadOnly(boolean) - Method in class com.yahoo.sketches.hll.PreambleFlags.Builder
-
Sets the Read Only state
- setResizeFactor(ResizeFactor) - Method in class com.yahoo.sketches.theta.SetOperationBuilder
-
Sets the cache Resize Factor
- setResizeFactor(ResizeFactor) - Method in class com.yahoo.sketches.theta.UpdateSketchBuilder
-
Sets the cache Resize Factor.
- setResizeFactor(ResizeFactor) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUpdatableSketchBuilder
-
This is to set the resize factor.
- setResizeFactor(ResizeFactor) - Method in class com.yahoo.sketches.tuple.UpdatableSketchBuilder
-
This is to set the resize factor.
- setSamplingProbability(float) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUpdatableSketchBuilder
-
This is to set sampling probability.
- setSamplingProbability(float) - Method in class com.yahoo.sketches.tuple.UpdatableSketchBuilder
-
This is to set sampling probability.
- setSeed(long) - Method in class com.yahoo.sketches.hll.Preamble.Builder
-
Sets the seed hash from the given seed
- setSeed(long) - Method in class com.yahoo.sketches.theta.SetOperationBuilder
-
Sets the long seed value that is require by the hashing function.
- setSeed(long) - Method in class com.yahoo.sketches.theta.UpdateSketchBuilder
-
Sets the long seed value that is required by the hashing function.
- setSeed(long) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesSetOperationBuilder
-
Sets the long seed value that is required by the hashing function.
- setSeed(long) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUpdatableSketchBuilder
-
Sets the long seed value that is required by the hashing function.
- setSeedHash(short) - Method in class com.yahoo.sketches.hll.Preamble.Builder
-
Sets the seed hash directly from the given seed hash
- setSharedPreambleMode(boolean) - Method in class com.yahoo.sketches.hll.PreambleFlags.Builder
-
Sets the Shared Preamble Mode
- setSparseMode(boolean) - Method in class com.yahoo.sketches.hll.PreambleFlags.Builder
-
Sets the Sparse Mode
- setUnionMode(boolean) - Method in class com.yahoo.sketches.hll.PreambleFlags.Builder
-
Sets the Union Mode
- setUpdateCallback(Fields.UpdateCallback) - Method in class com.yahoo.sketches.hll.HllSketch
-
Set the update callback.
- setVersion(byte) - Method in class com.yahoo.sketches.hll.Preamble.Builder
-
Sets the serialization version of this Preamble
- similarityTest(Sketch, Sketch, double) - Static method in class com.yahoo.sketches.theta.JaccardSimilarity
-
Tests similarity of a measured Sketch against an expected Sketch.
- Sketch - Class in com.yahoo.sketches.theta
-
The top-level class for all sketches.
- Sketch<S extends Summary> - Class in com.yahoo.sketches.tuple
-
This is an equivalent to com.yahoo.sketches.theta.Sketch with
addition of a user-defined Summary object associated with every unique entry
in the sketch.
- Sketches - Class in com.yahoo.sketches.theta
-
This class brings together the common sketch and set operation creation methods and
the public static methods into one place.
- Sketches - Class in com.yahoo.sketches.tuple
-
Convenient static methods to instantiate generic tuple sketches.
- Sketches() - Constructor for class com.yahoo.sketches.tuple.Sketches
-
- SketchesArgumentException - Exception in com.yahoo.sketches
-
Illegal Arguments Exception class for the library
- SketchesArgumentException(String) - Constructor for exception com.yahoo.sketches.SketchesArgumentException
-
Constructs a new runtime exception with the specified detail message.
- SketchesException - Exception in com.yahoo.sketches
-
Exception class for the library
- SketchesException(String) - Constructor for exception com.yahoo.sketches.SketchesException
-
Constructs a new runtime exception with the specified detail message.
- SketchesException(String, Throwable) - Constructor for exception com.yahoo.sketches.SketchesException
-
Constructs a new runtime exception with the specified detail message and cause.
- SketchesStateException - Exception in com.yahoo.sketches
-
Illegal State Exception class for the library
- SketchesStateException(String) - Constructor for exception com.yahoo.sketches.SketchesStateException
-
Constructs a new runtime exception with the specified detail message.
- SketchIterator<S extends Summary> - Class in com.yahoo.sketches.tuple
-
Iterator over a generic tuple sketch
- SORTED_SPARSE_VERSION - Static variable in interface com.yahoo.sketches.hll.Fields
-
Sorted sparse version
- startingSubMultiple(int, ResizeFactor, int) - Static method in class com.yahoo.sketches.Util
-
Gets the smallest allowed exponent of 2 that it is a sub-multiple of the target by zero,
one or more resize factors.
- STRIDE_MASK - Static variable in class com.yahoo.sketches.HashOperations
-
The stride mask for the Open Address, Double Hashing (OADH) hash table algorithm.
- stringToFamily(String) - Static method in enum com.yahoo.sketches.Family
-
Returns the Family given the family name
- Summary - Interface in com.yahoo.sketches.tuple
-
Interface for user-defined Summary, which is associated with every key in a tuple sketch
- SummaryFactory<S extends Summary> - Interface in com.yahoo.sketches.tuple
-
Interface for user-defined SummaryFactory
- summaryFromMemory(Memory) - Method in class com.yahoo.sketches.tuple.DoubleSummaryFactory
-
- summaryFromMemory(Memory) - Method in interface com.yahoo.sketches.tuple.SummaryFactory
-
This is to create an instance of a Summary given a serialized representation
- SummarySetOperations<S extends Summary> - Interface in com.yahoo.sketches.tuple
-
This is to provide methods of producing unions and intersections of two Summary objects.
- TAB - Static variable in class com.yahoo.sketches.Util
-
The tab character
- toByteArray(ArrayOfItemsSerDe<T>) - Method in class com.yahoo.sketches.frequencies.ItemsSketch
-
Returns a byte array representation of this sketch
- toByteArray() - Method in class com.yahoo.sketches.frequencies.LongsSketch
-
Returns a byte array representation of this sketch
- toByteArray() - Method in class com.yahoo.sketches.hll.HllSketch
-
Serializes this sketch to a byte array
- toByteArray() - Method in class com.yahoo.sketches.hll.Preamble
-
Serializes this Preamble to a byte array.
- toByteArray() - Method in class com.yahoo.sketches.quantiles.DoublesSketch
-
Serialize this sketch to a byte array.
- toByteArray(boolean) - Method in class com.yahoo.sketches.quantiles.DoublesSketch
-
Serialize this sketch in a byte array form.
- toByteArray(ArrayOfItemsSerDe<T>) - Method in class com.yahoo.sketches.quantiles.ItemsSketch
-
Serialize this sketch to a byte array form.
- toByteArray(boolean, ArrayOfItemsSerDe<T>) - Method in class com.yahoo.sketches.quantiles.ItemsSketch
-
Serialize this sketch to a byte array form.
- toByteArray(ArrayOfItemsSerDe<? super T>) - Method in class com.yahoo.sketches.sampling.ReservoirItemsSketch
-
Returns a byte array representation of this sketch.
- toByteArray(ArrayOfItemsSerDe<? super T>, Class<?>) - Method in class com.yahoo.sketches.sampling.ReservoirItemsSketch
-
Returns a byte array representation of this sketch.
- toByteArray(ArrayOfItemsSerDe<T>) - Method in class com.yahoo.sketches.sampling.ReservoirItemsUnion
-
Returns a byte array representation of this union
- toByteArray(ArrayOfItemsSerDe<T>, Class<?>) - Method in class com.yahoo.sketches.sampling.ReservoirItemsUnion
-
Returns a byte array representation of this union.
- toByteArray() - Method in class com.yahoo.sketches.sampling.ReservoirLongsSketch
-
Returns a byte array representation of this sketch
- toByteArray() - Method in class com.yahoo.sketches.sampling.ReservoirLongsUnion
-
Returns a byte array representation of this union
- toByteArray() - Method in interface com.yahoo.sketches.theta.Intersection
-
Serialize this intersection to a byte array form.
- toByteArray() - Method in class com.yahoo.sketches.theta.Sketch
-
Serialize this sketch to a byte array form.
- toByteArray() - Method in interface com.yahoo.sketches.theta.Union
-
Returns a byte array image of this Union object
- toByteArray() - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesSketch
-
- toByteArray() - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUnion
-
- toByteArray() - Method in class com.yahoo.sketches.tuple.CompactSketch
-
- toByteArray() - Method in class com.yahoo.sketches.tuple.DoubleSummary
-
- toByteArray() - Method in class com.yahoo.sketches.tuple.DoubleSummaryFactory
-
- toByteArray() - Method in class com.yahoo.sketches.tuple.Sketch
-
This is to serialize an instance to a byte array.
- toByteArray() - Method in interface com.yahoo.sketches.tuple.Summary
-
This is to serialize an instance to a byte array.
- toByteArray() - Method in interface com.yahoo.sketches.tuple.SummaryFactory
-
This is to serialize an instance to a byte array.
- toByteArrayNoPreamble() - Method in class com.yahoo.sketches.hll.HllSketch
-
Serializes this sketch without the Preamble as a byte array
- toCompact() - Method in interface com.yahoo.sketches.hll.Fields
-
Return the compact form of this fields object.
- toLog2(int, String) - Static method in class com.yahoo.sketches.Util
-
Checks the given value if it is a power of 2.
- toString() - Method in enum com.yahoo.sketches.Family
-
- toString() - Method in class com.yahoo.sketches.frequencies.ItemsSketch.Row
-
- toString() - Method in class com.yahoo.sketches.frequencies.ItemsSketch
-
Returns a human readable summary of this sketch.
- toString() - Method in class com.yahoo.sketches.frequencies.LongsSketch.Row
-
- toString() - Method in class com.yahoo.sketches.frequencies.LongsSketch
-
Returns a human readable summary of this sketch.
- toString() - Method in class com.yahoo.sketches.hll.HllSketchBuilder
-
- toString() - Method in class com.yahoo.sketches.hll.UniqueCountMap
-
Returns a string with a human-readable summary of the UniqueCountMap and all the internal maps
- toString() - Method in class com.yahoo.sketches.quantiles.DoublesSketch
-
Returns summary information about this sketch.
- toString(boolean, boolean) - Method in class com.yahoo.sketches.quantiles.DoublesSketch
-
Returns summary information about this sketch.
- toString() - Method in class com.yahoo.sketches.quantiles.DoublesSketchBuilder
-
Creates a human readable string that describes the current configuration of this builder.
- toString() - Method in class com.yahoo.sketches.quantiles.DoublesUnion
-
Returns summary information about the backing sketch.
- toString(boolean, boolean) - Method in class com.yahoo.sketches.quantiles.DoublesUnion
-
Returns summary information about the backing sketch.
- toString() - Method in class com.yahoo.sketches.quantiles.ItemsSketch
-
Returns summary information about this sketch.
- toString(boolean, boolean) - Method in class com.yahoo.sketches.quantiles.ItemsSketch
-
Returns summary information about this sketch.
- toString() - Method in class com.yahoo.sketches.quantiles.ItemsUnion
-
Returns summary information about the backing sketch.
- toString(boolean, boolean) - Method in class com.yahoo.sketches.quantiles.ItemsUnion
-
Returns summary information about the backing sketch.
- toString() - Method in class com.yahoo.sketches.sampling.ReservoirItemsSketch
-
Returns a human-readable summary of the sketch, without data.
- toString() - Method in class com.yahoo.sketches.sampling.ReservoirItemsUnion
-
Returns a human-readable summary of the sketch, without data.
- toString() - Method in class com.yahoo.sketches.sampling.ReservoirLongsSketch
-
Returns a human-readable summary of the sketch, without data.
- toString() - Method in class com.yahoo.sketches.sampling.ReservoirLongsUnion
-
Returns a human-readable summary of the sketch, without data.
- toString() - Method in class com.yahoo.sketches.theta.SetOperationBuilder
-
- toString() - Method in class com.yahoo.sketches.theta.Sketch
-
Returns a human readable summary of the sketch.
- toString(boolean, boolean, int, boolean) - Method in class com.yahoo.sketches.theta.Sketch
-
Gets a human readable listing of contents and summary of the given sketch.
- toString() - Method in class com.yahoo.sketches.theta.UpdateSketchBuilder
-
- trim() - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUpdatableSketch
-
Rebuilds reducing the actual number of entries to the nominal number of entries if needed
- union(HllSketch) - Method in class com.yahoo.sketches.hll.HllSketch
-
Union this sketch with that one
- union(CompactSketch, CompactSketch) - Static method in class com.yahoo.sketches.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 com.yahoo.sketches.theta.PairwiseSetOperations
-
This implements a stateless, pair-wise union operation on ordered,
CompactSketches that are either Heap-based or Direct.
- Union - Interface in com.yahoo.sketches.theta
-
The API for Union operations
- union(DoubleSummary, DoubleSummary) - Method in class com.yahoo.sketches.tuple.DoubleSummarySetOperations
-
- union(S, S) - Method in interface com.yahoo.sketches.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 com.yahoo.sketches.tuple
-
Compute a union of two or more tuple sketches.
- Union(SummaryFactory<S>) - Constructor for class com.yahoo.sketches.tuple.Union
-
Creates new instance with default nominal entries
- Union(int, SummaryFactory<S>) - Constructor for class com.yahoo.sketches.tuple.Union
-
Creates new instance
- unionBucketIterator(BucketIterator, Fields.UpdateCallback) - Method in interface com.yahoo.sketches.hll.Fields
-
Unions the provided BucketIterator into the current Fields object.
- unionCompressedAndExceptions(byte[], int, OnHeapHash, Fields.UpdateCallback) - Method in interface com.yahoo.sketches.hll.Fields
-
Unions the provided compressed byte[] and exceptions hash into the current Fields object.
- unionInto(Fields, Fields.UpdateCallback) - Method in interface com.yahoo.sketches.hll.Fields
-
Unions the current Fields into the Fields presented as an argument.
- UniqueCountMap - Class in com.yahoo.sketches.hll
-
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 com.yahoo.sketches.hll.UniqueCountMap
-
Constructs a UniqueCountMap with an initial capacity of one million entries.
- UniqueCountMap(int, int) - Constructor for class com.yahoo.sketches.hll.UniqueCountMap
-
Constructs a UniqueCountMap with a given initial number of entries.
- UpdatableSketch<U,S extends UpdatableSummary<U>> - Class in com.yahoo.sketches.tuple
-
An extension of QuickSelectSketch, which can be updated with many types of keys.
- UpdatableSketchBuilder<U,S extends UpdatableSummary<U>> - Class in com.yahoo.sketches.tuple
-
For building a new generic tuple UpdatableSketch
- UpdatableSketchBuilder(SummaryFactory<S>) - Constructor for class com.yahoo.sketches.tuple.UpdatableSketchBuilder
-
Creates an instance of UpdatableSketchBuilder with default parameters
- UpdatableSummary<U> - Interface in com.yahoo.sketches.tuple
-
Interface for updating user-defined Summary
- update(T) - Method in class com.yahoo.sketches.frequencies.ItemsSketch
-
Update this sketch with an item and a frequency count of one.
- update(T, long) - Method in class com.yahoo.sketches.frequencies.ItemsSketch
-
Update this sketch with a item and a positive frequency count.
- update(long) - Method in class com.yahoo.sketches.frequencies.LongsSketch
-
Update this sketch with an item and a frequency count of one.
- update(long, long) - Method in class com.yahoo.sketches.frequencies.LongsSketch
-
Update this sketch with a item and a positive frequency count (or weight).
- update(long) - Method in class com.yahoo.sketches.hll.HllSketch
-
Present this sketch with a long.
- update(double) - Method in class com.yahoo.sketches.hll.HllSketch
-
Present this sketch with the given double (or float) datum.
- update(String) - Method in class com.yahoo.sketches.hll.HllSketch
-
Present this sketch with the given String.
- update(byte[]) - Method in class com.yahoo.sketches.hll.HllSketch
-
Present this sketch with the given byte array.
- update(int[]) - Method in class com.yahoo.sketches.hll.HllSketch
-
Present this sketch with the given integer array.
- update(long[]) - Method in class com.yahoo.sketches.hll.HllSketch
-
Present this sketch with the given long array.
- update(byte[], byte[]) - Method in class com.yahoo.sketches.hll.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(DoublesSketch) - Method in class com.yahoo.sketches.quantiles.DoublesUnion
-
Iterative union operation, which means this method can be repeatedly called.
- update(Memory) - Method in class com.yahoo.sketches.quantiles.DoublesUnion
-
Iterative union operation, which means this method can be repeatedly called.
- update(double) - Method in class com.yahoo.sketches.quantiles.DoublesUnion
-
Update this union with the given double (or float) data Item.
- update(T) - Method in class com.yahoo.sketches.quantiles.ItemsSketch
-
Updates this sketch with the given double data item
- update(ItemsSketch<T>) - Method in class com.yahoo.sketches.quantiles.ItemsUnion
-
Iterative union operation, which means this method can be repeatedly called.
- update(Memory, ArrayOfItemsSerDe<T>) - Method in class com.yahoo.sketches.quantiles.ItemsUnion
-
Iterative union operation, which means this method can be repeatedly called.
- update(T) - Method in class com.yahoo.sketches.quantiles.ItemsUnion
-
Update this union with the given double (or float) data Item.
- update(double) - Method in class com.yahoo.sketches.quantiles.UpdateDoublesSketch
-
Updates this sketch with the given double data item
- update(T) - Method in class com.yahoo.sketches.sampling.ReservoirItemsSketch
-
Randomly decide whether or not to include an item in the sample set.
- update(ReservoirItemsSketch<T>) - Method in class com.yahoo.sketches.sampling.ReservoirItemsUnion
-
Union the given sketch.
- update(Memory, ArrayOfItemsSerDe<T>) - Method in class com.yahoo.sketches.sampling.ReservoirItemsUnion
-
Union the given Memory image of the sketch.
- update(T) - Method in class com.yahoo.sketches.sampling.ReservoirItemsUnion
-
Present this union with a single item to be added to the union.
- update(long, int, ArrayList<T>) - Method in class com.yahoo.sketches.sampling.ReservoirItemsUnion
-
Present this union with raw elements of a sketch.
- update(long) - Method in class com.yahoo.sketches.sampling.ReservoirLongsSketch
-
Randomly decide whether or not to include an item in the sample set.
- update(ReservoirLongsSketch) - Method in class com.yahoo.sketches.sampling.ReservoirLongsUnion
-
Union the given sketch.
- update(Memory) - Method in class com.yahoo.sketches.sampling.ReservoirLongsUnion
-
Union the given Memory image of the sketch.
- update(long) - Method in class com.yahoo.sketches.sampling.ReservoirLongsUnion
-
Present this union with a long.
- update(Sketch, Sketch) - Method in interface com.yahoo.sketches.theta.AnotB
-
Perform A-and-not-B set operation on the two given sketches.
- update(Sketch) - Method in interface com.yahoo.sketches.theta.Intersection
-
Intersect the given sketch with the internal state.
- update(Sketch) - Method in interface com.yahoo.sketches.theta.Union
-
Union the given on-heap sketch.
- update(Memory) - Method in interface com.yahoo.sketches.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 interface com.yahoo.sketches.theta.Union
-
Present this union with a long.
- update(double) - Method in interface com.yahoo.sketches.theta.Union
-
Present this union with the given double (or float) datum.
- update(String) - Method in interface com.yahoo.sketches.theta.Union
-
Present this union with the given String.
- update(byte[]) - Method in interface com.yahoo.sketches.theta.Union
-
Present this union with the given byte array.
- update(int[]) - Method in interface com.yahoo.sketches.theta.Union
-
Present this union with the given integer array.
- update(char[]) - Method in interface com.yahoo.sketches.theta.Union
-
Present this union with the given char array.
- update(long[]) - Method in interface com.yahoo.sketches.theta.Union
-
Present this union with the given long array.
- update(long) - Method in class com.yahoo.sketches.theta.UpdateSketch
-
Present this sketch with a long.
- update(double) - Method in class com.yahoo.sketches.theta.UpdateSketch
-
Present this sketch with the given double (or float) datum.
- update(String) - Method in class com.yahoo.sketches.theta.UpdateSketch
-
Present this sketch with the given String.
- update(byte[]) - Method in class com.yahoo.sketches.theta.UpdateSketch
-
Present this sketch with the given byte array.
- update(char[]) - Method in class com.yahoo.sketches.theta.UpdateSketch
-
Present this sketch with the given char array.
- update(int[]) - Method in class com.yahoo.sketches.theta.UpdateSketch
-
Present this sketch with the given integer array.
- update(long[]) - Method in class com.yahoo.sketches.theta.UpdateSketch
-
Present this sketch with the given long array.
- update(Sketch<S>, Sketch<S>) - Method in class com.yahoo.sketches.tuple.AnotB
-
Perform A-and-not-B set operation on the two given sketches.
- update(ArrayOfDoublesSketch, ArrayOfDoublesSketch) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesAnotB
-
Perform A-and-not-B set operation on the two given sketches.
- update(ArrayOfDoublesSketch, ArrayOfDoublesCombiner) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesIntersection
-
Updates the internal set by intersecting it with the given sketch.
- update(ArrayOfDoublesSketch) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUnion
-
Updates the union by adding a set of entries from a given sketch
- update(long, double[]) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUpdatableSketch
-
Updates this sketch with a long key and double values.
- update(double, double[]) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUpdatableSketch
-
Updates this sketch with a double key and double values.
- update(String, double[]) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUpdatableSketch
-
Updates this sketch with a String key and double values.
- update(byte[], double[]) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUpdatableSketch
-
Updates this sketch with a byte[] key and double values.
- update(int[], double[]) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUpdatableSketch
-
Updates this sketch with a int[] key and double values.
- update(long[], double[]) - Method in class com.yahoo.sketches.tuple.ArrayOfDoublesUpdatableSketch
-
Updates this sketch with a long[] key and double values.
- update(Double) - Method in class com.yahoo.sketches.tuple.DoubleSummary
-
- update(Sketch<S>) - Method in class com.yahoo.sketches.tuple.Intersection
-
Updates the internal set by intersecting it with the given sketch
- update(Sketch<S>) - Method in class com.yahoo.sketches.tuple.Union
-
Updates the internal set by adding entries from the given sketch
- update(long, U) - Method in class com.yahoo.sketches.tuple.UpdatableSketch
-
Updates this sketch with a long key and U value.
- update(double, U) - Method in class com.yahoo.sketches.tuple.UpdatableSketch
-
Updates this sketch with a double key and U value.
- update(String, U) - Method in class com.yahoo.sketches.tuple.UpdatableSketch
-
Updates this sketch with a String key and U value.
- update(byte[], U) - Method in class com.yahoo.sketches.tuple.UpdatableSketch
-
Updates this sketch with a byte[] key and U value.
- update(int[], U) - Method in class com.yahoo.sketches.tuple.UpdatableSketch
-
Updates this sketch with a int[] key and U value.
- update(long[], U) - Method in class com.yahoo.sketches.tuple.UpdatableSketch
-
Updates this sketch with a long[] key and U value.
- update(U) - Method in interface com.yahoo.sketches.tuple.UpdatableSummary
-
This is to provide a method of updating summaries
- updateBucket(int, byte, Fields.UpdateCallback) - Method in interface com.yahoo.sketches.hll.Fields
-
Potentially updates a bucket in the underlying storage.
- UpdateDoublesSketch - Class in com.yahoo.sketches.quantiles
-
- UpdateReturnState - Enum in com.yahoo.sketches.theta
-
- UpdateSketch - Class in com.yahoo.sketches.theta
-
The parent class for the Update Sketch families, such as QuickSelect and Alpha.
- updateSketchBuilder() - Static method in class com.yahoo.sketches.theta.Sketches
-
- UpdateSketchBuilder - Class in com.yahoo.sketches.theta
-
For building a new UpdateSketch.
- UpdateSketchBuilder() - Constructor for class com.yahoo.sketches.theta.UpdateSketchBuilder
-
Constructor for building a new UpdateSketch.
- Util - Class in com.yahoo.sketches
-
Common utility functions.