Enum CommitMetadata.CommitType

Object
Enum<CommitMetadata.CommitType>
io.delta.kernel.commit.CommitMetadata.CommitType
All Implemented Interfaces:
Serializable, Comparable<CommitMetadata.CommitType>
Enclosing class:
CommitMetadata

public static enum CommitMetadata.CommitType extends Enum<CommitMetadata.CommitType>
Represents the different types of commits based on filesystem-managed and catalog-managed state transitions.
  • Enum Constant Details

    • FILESYSTEM_CREATE

      public static final CommitMetadata.CommitType FILESYSTEM_CREATE
      Creating a new filesystem-managed table
    • CATALOG_CREATE

      public static final CommitMetadata.CommitType CATALOG_CREATE
      Creating a new catalog-managed table
    • FILESYSTEM_WRITE

      public static final CommitMetadata.CommitType FILESYSTEM_WRITE
      Writing to an existing filesystem-managed table
    • CATALOG_WRITE

      public static final CommitMetadata.CommitType CATALOG_WRITE
      Writing to an existing catalog-managed table
    • FILESYSTEM_UPGRADE_TO_CATALOG

      public static final CommitMetadata.CommitType FILESYSTEM_UPGRADE_TO_CATALOG
      Upgrading a filesystem-managed table to a catalog-managed table
    • CATALOG_DOWNGRADE_TO_FILESYSTEM

      public static final CommitMetadata.CommitType CATALOG_DOWNGRADE_TO_FILESYSTEM
      Downgrading a catalog-managed table to a filesystem-managed table
  • Method Details

    • values

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

      public static CommitMetadata.CommitType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null