Package org.apache.iceberg
Enum RewriteJobOrder
- java.lang.Object
- 
- java.lang.Enum<RewriteJobOrder>
- 
- org.apache.iceberg.RewriteJobOrder
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<RewriteJobOrder>
 
 public enum RewriteJobOrder extends java.lang.Enum<RewriteJobOrder> Enum of supported rewrite job order, it defines the order in which the file groups should be written.- bytes-asc: rewrite the smallest job groups first.
- bytes-desc: rewrite the largest job groups first.
- files-asc: rewrite the job groups with the least files first.
- files-desc: rewrite the job groups with the most files first.
- none: rewrite job groups in the order they were planned (no specific ordering).
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description BYTES_ASCBYTES_DESCFILES_ASCFILES_DESCNONE
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RewriteJobOrderfromName(java.lang.String orderName)java.lang.StringorderName()static RewriteJobOrdervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RewriteJobOrder[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
BYTES_ASCpublic static final RewriteJobOrder BYTES_ASC 
 - 
BYTES_DESCpublic static final RewriteJobOrder BYTES_DESC 
 - 
FILES_ASCpublic static final RewriteJobOrder FILES_ASC 
 - 
FILES_DESCpublic static final RewriteJobOrder FILES_DESC 
 - 
NONEpublic static final RewriteJobOrder NONE 
 
- 
 - 
Method Detail- 
valuespublic static RewriteJobOrder[] 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 (RewriteJobOrder c : RewriteJobOrder.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static RewriteJobOrder 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 name
- java.lang.NullPointerException- if the argument is null
 
 - 
orderNamepublic java.lang.String orderName() 
 - 
fromNamepublic static RewriteJobOrder fromName(java.lang.String orderName) 
 
- 
 
-