Annotation Type MetastoreFieldDefinition


@Retention(RUNTIME) @Target(FIELD) public @interface MetastoreFieldDefinition
Annotation used to determine to which metadata types Metastore units fields belong. Mainly used when obtaining field information using reflection. Only fields annotated with this annotation are considered to be part of component metadata unit, non-annotated fields will be ignored.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Indicates Metastore column which can be used in select or filter.
    Indicated metadata types to which field belongs to.
  • Element Details

    • column

      Indicates Metastore column which can be used in select or filter.
      Returns:
      column enum value
    • scopes

      MetadataType[] scopes
      Indicated metadata types to which field belongs to.
      Returns:
      array of metadata types field belongs to