public class CodedTupleTagMap
extends java.lang.Object
CodedTupleTags to associated values.
Returned by
DoFn.KeyedState.lookup(java.util.List).
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(CodedTupleTag<T> tag)
Returns the value associated with the given tag in this
CodedTupleTagMap, or null if the tag has no
asssociated value. |
static CodedTupleTagMap |
of(java.util.Map<CodedTupleTag<?>,java.lang.Object> map)
Returns a
CodedTupleTagMap containing the given mappings. |
public static CodedTupleTagMap of(java.util.Map<CodedTupleTag<?>,java.lang.Object> map)
CodedTupleTagMap containing the given mappings.
It is up to the caller to ensure that the value associated with each CodedTupleTag in the map has the static type specified by that tag.
Intended for internal use only.
public <T> T get(CodedTupleTag<T> tag)
CodedTupleTagMap, or null if the tag has no
asssociated value.