T - the type of the value(s) accessible via this PCollectionViewpublic interface PCollectionView<T> extends PValue, Serializable
PCollectionView<T> is an immutable view of a PCollection
as a value of type T that can be accessed
as a side input to a ParDo transform.
A PCollectionView should always be the output of a
PTransform. It is the joint responsibility of
this transform and each PipelineRunner to implement
the view in a runner-specific manner.
The most common case is using the View transforms to prepare a PCollection
for use as a side input to ParDo. See View.asSingleton(),
View.asIterable(), and View.asMap() for more detail on specific views
available in the SDK.
| Modifier and Type | Method and Description |
|---|---|
T |
fromIterableInternal(Iterable<org.apache.beam.sdk.util.WindowedValue<?>> contents)
For internal use only.
|
Coder<Iterable<org.apache.beam.sdk.util.WindowedValue<?>>> |
getCoderInternal()
For internal use only.
|
TupleTag<Iterable<org.apache.beam.sdk.util.WindowedValue<?>>> |
getTagInternal()
A unique identifier, for internal use.
|
org.apache.beam.sdk.util.WindowingStrategy<?,?> |
getWindowingStrategyInternal()
For internal use only.
|
getName, getProducingTransformInternalexpand, finishSpecifyingOutput, getPipeline, recordAsOutputexpand, finishSpecifying, getPipelineTupleTag<Iterable<org.apache.beam.sdk.util.WindowedValue<?>>> getTagInternal()
T fromIterableInternal(Iterable<org.apache.beam.sdk.util.WindowedValue<?>> contents)
org.apache.beam.sdk.util.WindowingStrategy<?,?> getWindowingStrategyInternal()