Package org.apache.beam.sdk.transforms
Class Materializations
java.lang.Object
org.apache.beam.sdk.transforms.Materializations
For internal use only; no backwards-compatibility guarantees.
Utility methods for constructing known materializations for a ViewFn.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceRepresents thePrimitiveViewTsupplied to theViewFnwhen it declares to use theiterable materialization.static interfaceRepresents thePrimitiveViewTsupplied to theViewFnwhen it declares to use themultimap materialization. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe URN for aMaterializationwhere the primitive view type is an iterable of fully specified windowed values.static final StringThe URN for aMaterializationwhere the primitive view type is a multimap of fully specified windowed values. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <V> Materialization<Materializations.IterableView<V>> iterable()For internal use only; no backwards-compatibility guarantees.static <K,V> Materialization <Materializations.MultimapView<K, V>> multimap()For internal use only; no backwards-compatibility guarantees.
-
Field Details
-
ITERABLE_MATERIALIZATION_URN
The URN for aMaterializationwhere the primitive view type is an iterable of fully specified windowed values.- See Also:
-
MULTIMAP_MATERIALIZATION_URN
The URN for aMaterializationwhere the primitive view type is a multimap of fully specified windowed values.- See Also:
-
-
Constructor Details
-
Materializations
public Materializations()
-
-
Method Details
-
multimap
For internal use only; no backwards-compatibility guarantees.A
Materializationwhere the primitive view type is a multimap with fully specified windowed values. -
iterable
For internal use only; no backwards-compatibility guarantees.A
Materializationwhere the primitive view type is an iterable with fully specifed windowed values.
-