public class PCollections extends Object
PCollections to and from Runner API protos.| Modifier and Type | Method and Description |
|---|---|
static Coder<?> |
getCoder(RunnerApi.PCollection pCollection,
RunnerApi.Components components) |
static WindowingStrategy<?,?> |
getWindowingStrategy(RunnerApi.PCollection pCollection,
RunnerApi.Components components) |
static PCollection.IsBounded |
isBounded(RunnerApi.PCollection pCollection) |
static RunnerApi.PCollection |
toProto(PCollection<?> pCollection,
org.apache.beam.runners.core.construction.SdkComponents components) |
public static RunnerApi.PCollection toProto(PCollection<?> pCollection, org.apache.beam.runners.core.construction.SdkComponents components) throws IOException
IOExceptionpublic static PCollection.IsBounded isBounded(RunnerApi.PCollection pCollection)
public static Coder<?> getCoder(RunnerApi.PCollection pCollection, RunnerApi.Components components) throws IOException
IOExceptionpublic static WindowingStrategy<?,?> getWindowingStrategy(RunnerApi.PCollection pCollection, RunnerApi.Components components) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.