Package io.delta.kernel.commit
Enum CommitMetadata.CommitType
- All Implemented Interfaces:
Serializable,Comparable<CommitMetadata.CommitType>
- Enclosing class:
CommitMetadata
Represents the different types of commits based on filesystem-managed and catalog-managed state
transitions.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCreating a new catalog-managed tableDowngrading a catalog-managed table to a filesystem-managed tableWriting to an existing catalog-managed tableCreating a new filesystem-managed tableUpgrading a filesystem-managed table to a catalog-managed tableWriting to an existing filesystem-managed table -
Method Summary
Modifier and TypeMethodDescriptionstatic CommitMetadata.CommitTypeReturns the enum constant of this type with the specified name.static CommitMetadata.CommitType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FILESYSTEM_CREATE
Creating a new filesystem-managed table -
CATALOG_CREATE
Creating a new catalog-managed table -
FILESYSTEM_WRITE
Writing to an existing filesystem-managed table -
CATALOG_WRITE
Writing to an existing catalog-managed table -
FILESYSTEM_UPGRADE_TO_CATALOG
Upgrading a filesystem-managed table to a catalog-managed table -
CATALOG_DOWNGRADE_TO_FILESYSTEM
Downgrading a catalog-managed table to a filesystem-managed table
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-