@Internal public class Materializations extends java.lang.Object
Utility methods for constructing known materializations
for a ViewFn
.
Modifier and Type | Class and Description |
---|---|
static interface |
Materializations.IterableView<V>
Represents the
PrimitiveViewT supplied to the ViewFn when it declares to use
the iterable materialization . |
static interface |
Materializations.MultimapView<K,V>
Represents the
PrimitiveViewT supplied to the ViewFn when it declares to use
the multimap materialization . |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ITERABLE_MATERIALIZATION_URN
The URN for a
Materialization where the primitive view type is an iterable of fully
specified windowed values. |
static java.lang.String |
MULTIMAP_MATERIALIZATION_URN
The URN for a
Materialization where the primitive view type is a multimap of fully
specified windowed values. |
Constructor and Description |
---|
Materializations() |
Modifier and Type | Method and Description |
---|---|
static <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.
|
public static final java.lang.String ITERABLE_MATERIALIZATION_URN
Materialization
where the primitive view type is an iterable of fully
specified windowed values.public static final java.lang.String MULTIMAP_MATERIALIZATION_URN
Materialization
where the primitive view type is a multimap of fully
specified windowed values.@Internal public static <K,V> Materialization<Materializations.MultimapView<K,V>> multimap()
A Materialization
where the primitive view type is a multimap with fully specified
windowed values.
@Internal public static <V> Materialization<Materializations.IterableView<V>> iterable()
A Materialization
where the primitive view type is an iterable with fully specifed
windowed values.