Package org.apache.beam.sdk.extensions.sketching
package org.apache.beam.sdk.extensions.sketching
Utilities for computing statistical indicators using probabilistic sketches.
-
ClassesClassDescription
PTransforms for computing the approximate number of distinct elements in a stream.Implements theCombine.CombineFnofApproximateDistincttransforms.Implementation ofApproximateDistinct.globally().Coder forHyperLogLogPlusclass.Implementation ofApproximateDistinct.perKey().PTransforms to compute the estimate frequency of each element in a stream.Implements theCombine.CombineFnofSketchFrequenciestransforms.SketchFrequencies.GlobalSketch<InputT>Implementation ofSketchFrequencies.globally().Implementation ofSketchFrequencies.perKey().Wrap StreamLib's Count-Min Sketch to support counting all user types by hashing the encoded user type using the supplied deterministic coder.PTransforms for getting information about quantiles in a stream.Implementation ofTDigestQuantiles.globally().Implementation ofTDigestQuantiles.perKey().Implements theCombine.CombineFnofTDigestQuantilestransforms.