Enum Class MetadataObject.Type

java.lang.Object
java.lang.Enum<MetadataObject.Type>
org.apache.gravitino.MetadataObject.Type
All Implemented Interfaces:
Serializable, Comparable<MetadataObject.Type>, Constable
Enclosing interface:
MetadataObject

public static enum MetadataObject.Type extends Enum<MetadataObject.Type>
The type of object in the Gravitino system. Every type will map one kind of the entity of the underlying system.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    A catalog is a collection of metadata from a specific metadata source, like Apache Hive catalog, Apache Iceberg catalog, JDBC catalog, etc.
    A column is a sub-collection of the table that represents a group of same type data.
    A fileset is mapped to a directory on a file system like HDFS, S3, ADLS, GCS, etc.
    A job represents a data processing task in Gravitino.
    A job template represents a reusable template for creating jobs in Gravitino.
    A metalake is a concept of tenant.
    A model is mapped to the model artifact in ML.
    A policy can be associated with a metadata object for data governance and similar purposes.
    A role is an object contains specific securable objects with privileges
    A schema is a sub collection of the catalog.
    A table is mapped the table of relational data sources like Apache Hive, MySQL, etc.
    A tag is used to help manage other metadata object.
    A topic is mapped the topic of messaging data sources like Apache Kafka, Apache Pulsar, etc.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • METALAKE

      public static final MetadataObject.Type METALAKE
      A metalake is a concept of tenant. It means an organization. A metalake contains many data sources.
    • CATALOG

      public static final MetadataObject.Type CATALOG
      A catalog is a collection of metadata from a specific metadata source, like Apache Hive catalog, Apache Iceberg catalog, JDBC catalog, etc.
    • SCHEMA

      public static final MetadataObject.Type SCHEMA
      A schema is a sub collection of the catalog. The schema can contain filesets, tables, topics, etc.
    • FILESET

      public static final MetadataObject.Type FILESET
      A fileset is mapped to a directory on a file system like HDFS, S3, ADLS, GCS, etc.
    • TABLE

      public static final MetadataObject.Type TABLE
      A table is mapped the table of relational data sources like Apache Hive, MySQL, etc.
    • TOPIC

      public static final MetadataObject.Type TOPIC
      A topic is mapped the topic of messaging data sources like Apache Kafka, Apache Pulsar, etc.
    • COLUMN

      public static final MetadataObject.Type COLUMN
      A column is a sub-collection of the table that represents a group of same type data.
    • ROLE

      public static final MetadataObject.Type ROLE
      A role is an object contains specific securable objects with privileges
    • MODEL

      public static final MetadataObject.Type MODEL
      A model is mapped to the model artifact in ML.
    • TAG

      public static final MetadataObject.Type TAG
      A tag is used to help manage other metadata object.
    • POLICY

      public static final MetadataObject.Type POLICY
      A policy can be associated with a metadata object for data governance and similar purposes.
    • JOB

      public static final MetadataObject.Type JOB
      A job represents a data processing task in Gravitino.
    • JOB_TEMPLATE

      public static final MetadataObject.Type JOB_TEMPLATE
      A job template represents a reusable template for creating jobs in Gravitino.
  • Method Details

    • values

      public static MetadataObject.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MetadataObject.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null