InputT - the type of the elements in the input PCollectionpublic abstract static class ApproximateDistinct.GloballyDistinct<InputT> extends PTransform<PCollection<InputT>,PCollection<Long>>
ApproximateDistinct.globally().name| Constructor and Description |
|---|
GloballyDistinct() |
| Modifier and Type | Method and Description |
|---|---|
PCollection<Long> |
expand(PCollection<InputT> input) |
ApproximateDistinct.GloballyDistinct<InputT> |
withPrecision(int p) |
ApproximateDistinct.GloballyDistinct<InputT> |
withSparsePrecision(int sp) |
getAdditionalInputs, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, populateDisplayData, toString, validatepublic ApproximateDistinct.GloballyDistinct<InputT> withPrecision(int p)
public ApproximateDistinct.GloballyDistinct<InputT> withSparsePrecision(int sp)
public PCollection<Long> expand(PCollection<InputT> input)
expand in class PTransform<PCollection<InputT>,PCollection<Long>>Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.