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
path
based on the component hierarchy - The
key
it is registered with - A
namespace
generated 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 String
getKey()
abstract Class
<?> abstract DisplayData.Path
getPath()
static DisplayData.Identifier
of
(DisplayData.Path path, Class<?> namespace, String key) final String
toString()