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 TypeMethodDescriptionboolean
expand()
Coder
<?> For internal use only.PCollection
<?> For internal use only.TupleTag
<?> Returns a uniqueTupleTag
identifying thisPCollectionView
.For internal use only.WindowingStrategy
<?, ?> Returns theWindowingStrategy
of thisPCollectionView
, which should be that of the underlyingPCollection
.For internal use only.int
hashCode()
toString()
Methods inherited from class org.apache.beam.sdk.values.PValueBase
finishSpecifying, finishSpecifyingOutput, getKindString, getName, getPipeline, setName
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.beam.sdk.values.PInput
getPipeline
Methods inherited from interface org.apache.beam.sdk.values.POutput
finishSpecifyingOutput, getPipeline
Methods inherited from interface org.apache.beam.sdk.values.PValue
finishSpecifying, getName
-
Method Details
-
getViewFn
Description copied from interface:PCollectionView
For internal use only.- Specified by:
getViewFn
in interfacePCollectionView<ElemT>
-
getWindowMappingFn
Description copied from interface:PCollectionView
For internal use only.Returns the
WindowMappingFn
used to map windows from a main input to the side input of thisPCollectionView
.- Specified by:
getWindowMappingFn
in interfacePCollectionView<ElemT>
-
getPCollection
Description copied from interface:PCollectionView
For internal use only.Gets the
PCollection
thisPCollectionView
was created from.The
PCollection
may not be available in all contexts.- Specified by:
getPCollection
in interfacePCollectionView<ElemT>
-
getTagInternal
Returns a uniqueTupleTag
identifying thisPCollectionView
.For internal use only by runner implementors.
- Specified by:
getTagInternal
in interfacePCollectionView<ElemT>
-
getWindowingStrategyInternal
Returns theWindowingStrategy
of thisPCollectionView
, which should be that of the underlyingPCollection
.For internal use only by runner implementors.
- Specified by:
getWindowingStrategyInternal
in interfacePCollectionView<ElemT>
-
getCoderInternal
Description copied from interface:PCollectionView
For internal use only.- Specified by:
getCoderInternal
in interfacePCollectionView<ElemT>
-
hashCode
public int hashCode() -
equals
-
toString
- Overrides:
toString
in classPValueBase
-
expand
Description copied from interface:PValue
Expands thisPOutput
into a list of its component outputPValues
.- A
PValue
expands to itself. - A tuple or list of
PValues
(such asPCollectionTuple
orPCollectionList
) expands to its componentPValue PValues
.
Not intended to be invoked directly by user code..
- A
-