Enum Class RewriteJobOrder

java.lang.Object
java.lang.Enum<RewriteJobOrder>
org.apache.iceberg.RewriteJobOrder
All Implemented Interfaces:
Serializable, Comparable<RewriteJobOrder>, Constable

public enum RewriteJobOrder extends 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 Details

  • Method Details

    • values

      public static RewriteJobOrder[] 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 RewriteJobOrder 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
    • orderName

      public String orderName()
    • fromName

      public static RewriteJobOrder fromName(String orderName)