Skip navigation links
D F G H M O P W 

D

DEFAULT_PRECISION - Static variable in class org.apache.beam.sdk.extensions.zetasketch.HllCount
The default precision value used in HllCount.Init.Builder.withPrecision(int) is 15.

F

forBytes() - Static method in class org.apache.beam.sdk.extensions.zetasketch.HllCount.Init
Returns a HllCount.Init.Builder for a HllCount.Init combining PTransform that computes bytes-type HLL++ sketches.
forIntegers() - Static method in class org.apache.beam.sdk.extensions.zetasketch.HllCount.Init
Returns a HllCount.Init.Builder for a HllCount.Init combining PTransform that computes integer-type HLL++ sketches.
forLongs() - Static method in class org.apache.beam.sdk.extensions.zetasketch.HllCount.Init
Returns a HllCount.Init.Builder for a HllCount.Init combining PTransform that computes long-type HLL++ sketches.
forStrings() - Static method in class org.apache.beam.sdk.extensions.zetasketch.HllCount.Init
Returns a HllCount.Init.Builder for a HllCount.Init combining PTransform that computes string-type HLL++ sketches.

G

getSketchFromByteBuffer(ByteBuffer) - Static method in class org.apache.beam.sdk.extensions.zetasketch.HllCount
Converts the passed-in sketch from ByteBuffer to byte[], mapping null ByteBuffers (representing empty sketches) to empty byte[]s.
globally() - Static method in class org.apache.beam.sdk.extensions.zetasketch.HllCount.Extract
Returns a PTransform that takes an input PCollection<byte[]> of HLL++ sketches and returns a PCollection<Long> of the estimated count of distinct elements extracted from each sketch.
globally() - Method in class org.apache.beam.sdk.extensions.zetasketch.HllCount.Init.Builder
Returns a Combine.Globally PTransform that takes an input PCollection<InputT> and returns a PCollection<byte[]> which consists of the HLL++ sketch computed from the elements in the input PCollection.
globally() - Static method in class org.apache.beam.sdk.extensions.zetasketch.HllCount.MergePartial
Returns a Combine.Globally PTransform that takes an input PCollection<byte[]> of HLL++ sketches and returns a PCollection<byte[]> of a new sketch merged from the input sketches.

H

HllCount - Class in org.apache.beam.sdk.extensions.zetasketch
PTransforms to compute HyperLogLogPlusPlus (HLL++) sketches on data streams based on the ZetaSketch implementation.
HllCount.Extract - Class in org.apache.beam.sdk.extensions.zetasketch
Provides PTransforms to extract the estimated count of distinct elements (as Longs) from each HLL++ sketch.
HllCount.Init - Class in org.apache.beam.sdk.extensions.zetasketch
Provides PTransforms to aggregate inputs into HLL++ sketches.
HllCount.Init.Builder<InputT> - Class in org.apache.beam.sdk.extensions.zetasketch
Builder for the HllCount.Init combining PTransform.
HllCount.MergePartial - Class in org.apache.beam.sdk.extensions.zetasketch
Provides PTransforms to merge HLL++ sketches into a new sketch.

M

MAXIMUM_PRECISION - Static variable in class org.apache.beam.sdk.extensions.zetasketch.HllCount
The maximum precision value you can set in HllCount.Init.Builder.withPrecision(int) is 24.
MINIMUM_PRECISION - Static variable in class org.apache.beam.sdk.extensions.zetasketch.HllCount
The minimum precision value you can set in HllCount.Init.Builder.withPrecision(int) is 10.

O

org.apache.beam.sdk.extensions.zetasketch - package org.apache.beam.sdk.extensions.zetasketch
PTransforms to compute statistical sketches on data streams based on the ZetaSketch implementation.

P

perKey() - Static method in class org.apache.beam.sdk.extensions.zetasketch.HllCount.Extract
Returns a PTransform that takes an input PCollection<KV<K, byte[]>> of (key, HLL++ sketch) pairs and returns a PCollection<KV<K, Long>> of (key, estimated count of distinct elements extracted from each sketch).
perKey() - Method in class org.apache.beam.sdk.extensions.zetasketch.HllCount.Init.Builder
Returns a Combine.PerKey PTransform that takes an input PCollection<KV<K, InputT>> and returns a PCollection<KV<K, byte[]>> which consists of the per-key HLL++ sketch computed from the values matching each key in the input PCollection.
perKey() - Static method in class org.apache.beam.sdk.extensions.zetasketch.HllCount.MergePartial
Returns a Combine.PerKey PTransform that takes an input PCollection<KV<K, byte[]>> of (key, HLL++ sketch) pairs and returns a PCollection<KV<K, byte[]>> of (key, new sketch merged from the input sketches under the key).

W

withPrecision(int) - Method in class org.apache.beam.sdk.extensions.zetasketch.HllCount.Init.Builder
Explicitly set the precision parameter used to compute HLL++ sketch.
D F G H M O P W 
Skip navigation links