Package org.apache.beam.sdk.extensions.sketching
Utilities for computing statistical indicators using probabilistic sketches.
-
Class Summary Class Description ApproximateDistinct PTransforms for computing the approximate number of distinct elements in a stream.ApproximateDistinct.ApproximateDistinctFn<InputT> Implements theCombine.CombineFnofApproximateDistincttransforms.ApproximateDistinct.GloballyDistinct<InputT> Implementation ofApproximateDistinct.globally().ApproximateDistinct.HyperLogLogPlusCoder Coder forHyperLogLogPlusclass.ApproximateDistinct.PerKeyDistinct<K,V> Implementation ofApproximateDistinct.perKey().SketchFrequencies PTransforms to compute the estimate frequency of each element in a stream.SketchFrequencies.CountMinSketchFn<InputT> Implements theCombine.CombineFnofSketchFrequenciestransforms.SketchFrequencies.GlobalSketch<InputT> Implementation ofSketchFrequencies.globally().SketchFrequencies.PerKeySketch<K,V> Implementation ofSketchFrequencies.perKey().SketchFrequencies.Sketch<T> Wrap StreamLib's Count-Min Sketch to support counting all user types by hashing the encoded user type using the supplied deterministic coder.TDigestQuantiles PTransforms for getting information about quantiles in a stream.TDigestQuantiles.GlobalDigest Implementation ofTDigestQuantiles.globally().TDigestQuantiles.PerKeyDigest<K> Implementation ofTDigestQuantiles.perKey().TDigestQuantiles.TDigestQuantilesFn Implements theCombine.CombineFnofTDigestQuantilestransforms.