Annotation Interface MetadataEntry


@Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface MetadataEntry
A single typed run-metadata key-value pair for DatasetSource.entries().

Prefer this over the alternating-string DatasetSource.metadata() form: the key and value are named explicitly, so a malformed pairing cannot slip past compilation.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The metadata key.
    The metadata value.
  • Element Details

    • key

      String key
      The metadata key.
    • value

      String value
      The metadata value.