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 interface
Represents thePrimitiveViewT
supplied to theViewFn
when it declares to use theiterable materialization
.static interface
Represents thePrimitiveViewT
supplied to theViewFn
when it declares to use themultimap materialization
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The URN for aMaterialization
where the primitive view type is an iterable of fully specified windowed values.static final String
The URN for aMaterialization
where 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 aMaterialization
where the primitive view type is an iterable of fully specified windowed values.- See Also:
-
MULTIMAP_MATERIALIZATION_URN
The URN for aMaterialization
where 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
Materialization
where the primitive view type is a multimap with fully specified windowed values. -
iterable
For internal use only; no backwards-compatibility guarantees.A
Materialization
where the primitive view type is an iterable with fully specifed windowed values.
-