Package org.apache.beam.sdk.values
Class PCollectionViews.SimplePCollectionView<ElemT,PrimitiveViewT,ViewT,W extends BoundedWindow>
java.lang.Object
org.apache.beam.sdk.values.PValueBase
org.apache.beam.sdk.values.PCollectionViews.SimplePCollectionView<ElemT,PrimitiveViewT,ViewT,W>
- All Implemented Interfaces:
Serializable,PCollectionView<ViewT>,PInput,POutput,PValue
- Enclosing class:
PCollectionViews
public static class PCollectionViews.SimplePCollectionView<ElemT,PrimitiveViewT,ViewT,W extends BoundedWindow>
extends PValueBase
implements PCollectionView<ViewT>
A class for
PCollectionView implementations, with additional type parameters that are
not visible at pipeline assembly time when the view is used as a side input.
For internal use only.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanexpand()Coder<?> For internal use only.PCollection<?> For internal use only.TupleTag<?> Returns a uniqueTupleTagidentifying thisPCollectionView.For internal use only.WindowingStrategy<?, ?> Returns theWindowingStrategyof thisPCollectionView, which should be that of the underlyingPCollection.For internal use only.inthashCode()toString()Methods inherited from class org.apache.beam.sdk.values.PValueBase
finishSpecifying, finishSpecifyingOutput, getKindString, getName, getPipeline, setNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.beam.sdk.values.PInput
getPipelineMethods inherited from interface org.apache.beam.sdk.values.POutput
finishSpecifyingOutput, getPipelineMethods inherited from interface org.apache.beam.sdk.values.PValue
finishSpecifying, getName
-
Method Details
-
getViewFn
Description copied from interface:PCollectionViewFor internal use only.- Specified by:
getViewFnin interfacePCollectionView<ElemT>
-
getWindowMappingFn
Description copied from interface:PCollectionViewFor internal use only.Returns the
WindowMappingFnused to map windows from a main input to the side input of thisPCollectionView.- Specified by:
getWindowMappingFnin interfacePCollectionView<ElemT>
-
getPCollection
Description copied from interface:PCollectionViewFor internal use only.Gets the
PCollectionthisPCollectionViewwas created from.The
PCollectionmay not be available in all contexts.- Specified by:
getPCollectionin interfacePCollectionView<ElemT>
-
getTagInternal
Returns a uniqueTupleTagidentifying thisPCollectionView.For internal use only by runner implementors.
- Specified by:
getTagInternalin interfacePCollectionView<ElemT>
-
getWindowingStrategyInternal
Returns theWindowingStrategyof thisPCollectionView, which should be that of the underlyingPCollection.For internal use only by runner implementors.
- Specified by:
getWindowingStrategyInternalin interfacePCollectionView<ElemT>
-
getCoderInternal
Description copied from interface:PCollectionViewFor internal use only.- Specified by:
getCoderInternalin interfacePCollectionView<ElemT>
-
hashCode
public int hashCode() -
equals
-
toString
- Overrides:
toStringin classPValueBase
-
expand
Description copied from interface:PValueExpands thisPOutputinto a list of its component outputPValues.- A
PValueexpands to itself. - A tuple or list of
PValues(such asPCollectionTupleorPCollectionList) expands to its componentPValue PValues.
Not intended to be invoked directly by user code..
- A
-