InputT - element type or value type in KVs of the input PCollection to
     the PTransform being builtpublic static final class HllCount.Init.Builder<InputT>
extends java.lang.Object
HllCount.Init combining PTransform.
 Call withPrecision(int) to customize the precision parameter of the
 sketch.
 
Call globally() or perKey() to finalize the PTransform.
| Modifier and Type | Method and Description | 
|---|---|
| Combine.Globally<InputT,byte[]> | globally()Returns a  Combine.GloballyPTransformthat takes an inputPCollection<InputT>and returns aPCollection<byte[]>which consists of the HLL++
 sketch computed from the elements in the inputPCollection. | 
| <K> Combine.PerKey<K,InputT,byte[]> | perKey()Returns a  Combine.PerKeyPTransformthat takes an inputPCollection<KV<K, InputT>>and returns aPCollection<KV<K, byte[]>>which consists
 of the per-key HLL++ sketch computed from the values matching each key in the inputPCollection. | 
| HllCount.Init.Builder<InputT> | withPrecision(int precision)Explicitly set the  precisionparameter used to compute HLL++ sketch. | 
public HllCount.Init.Builder<InputT> withPrecision(int precision)
precision parameter used to compute HLL++ sketch.
 Valid range is between HllCount.MINIMUM_PRECISION and HllCount.MAXIMUM_PRECISION. If
 this method is not called, HllCount.DEFAULT_PRECISION will be used. Sketches computed using
 different precisions cannot be merged together.
precision - the precision parameter used to compute HLL++ sketchpublic Combine.Globally<InputT,byte[]> globally()
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.
 Returns a singleton PCollection with an "empty sketch" (byte array of length 0)
 if the input PCollection is empty.
public <K> Combine.PerKey<K,InputT,byte[]> perKey()
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.