Package org.apache.iceberg
Enum ManifestContent
- java.lang.Object
-
- java.lang.Enum<ManifestContent>
-
- org.apache.iceberg.ManifestContent
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ManifestContent>
public enum ManifestContent extends java.lang.Enum<ManifestContent>
Content type stored in a manifest file, either DATA or DELETES.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManifestContent
fromId(int id)
int
id()
static ManifestContent
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ManifestContent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATA
public static final ManifestContent DATA
-
DELETES
public static final ManifestContent DELETES
-
-
Method Detail
-
values
public static ManifestContent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ManifestContent c : ManifestContent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ManifestContent valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
id
public int id()
-
fromId
public static ManifestContent fromId(int id)
-
-