Enum Class TieBreak

java.lang.Object
java.lang.Enum<TieBreak>
com.darkcollective.relix.ast.TieBreak
All Implemented Interfaces:
Serializable, Comparable<TieBreak>, Constable

public enum TieBreak extends Enum<TieBreak>
Tie-break rule for AS-OF join (ASOF) when multiple right rows share the nearest match value.
  • Enum Constant Details

    • LAST

      public static final TieBreak LAST
      Keep the last right row in input order (default).
    • FIRST

      public static final TieBreak FIRST
      Keep the first right row in input order.
  • Method Details

    • values

      public static TieBreak[] 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 TieBreak 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