K - type of the keys mapping the elementsV - type of the values being combined per keypublic abstract static class SketchFrequencies.PerKeySketch<K,V> extends PTransform<PCollection<KV<K,V>>,PCollection<KV<K,SketchFrequencies.Sketch<V>>>>
SketchFrequencies.perKey().name| Constructor and Description |
|---|
PerKeySketch() |
| Modifier and Type | Method and Description |
|---|---|
PCollection<KV<K,SketchFrequencies.Sketch<V>>> |
expand(PCollection<KV<K,V>> input) |
SketchFrequencies.PerKeySketch<K,V> |
withConfidence(double conf) |
SketchFrequencies.PerKeySketch<K,V> |
withRelativeError(double eps) |
getAdditionalInputs, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, populateDisplayData, toString, validatepublic SketchFrequencies.PerKeySketch<K,V> withRelativeError(double eps)
public SketchFrequencies.PerKeySketch<K,V> withConfidence(double conf)
public PCollection<KV<K,SketchFrequencies.Sketch<V>>> expand(PCollection<KV<K,V>> input)
expand in class PTransform<PCollection<KV<K,V>>,PCollection<KV<K,SketchFrequencies.Sketch<V>>>>Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.