Class DisplayData.Identifier
java.lang.Object
org.apache.beam.sdk.transforms.display.DisplayData.Identifier
- All Implemented Interfaces:
Serializable
- Enclosing class:
DisplayData
Unique identifier for a display data item within a component.
Identifiers are composed of:
- A
pathbased on the component hierarchy - The
keyit is registered with - A
namespacegenerated from the class of the component which registered the item.
Display data registered with the same key from different components will have different
namespaces and thus will both be represented in the composed DisplayData. If a single
component registers multiple metadata items with the same key, only the most recent item will
be retained; previous versions are discarded.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringgetKey()abstract Class<?> abstract DisplayData.PathgetPath()static DisplayData.Identifierof(DisplayData.Path path, Class<?> namespace, String key) final StringtoString()