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 e.g. as
a side input to a DoFn.
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<WindowedValue<?>> contents)
For internal use only.
|
Coder<Iterable<WindowedValue<?>>> |
getCoderInternal()
For internal use only.
|
TupleTag<Iterable<WindowedValue<?>>> |
getTagInternal()
A unique identifier, for internal use.
|
WindowingStrategy<?,?> |
getWindowingStrategyInternal()
For internal use only.
|
getName, getProducingTransformInternalexpand, finishSpecifyingOutput, getPipeline, recordAsOutputexpand, finishSpecifying, getPipelineTupleTag<Iterable<WindowedValue<?>>> getTagInternal()
T fromIterableInternal(Iterable<WindowedValue<?>> contents)
WindowingStrategy<?,?> getWindowingStrategyInternal()
Coder<Iterable<WindowedValue<?>>> getCoderInternal()