Enum JoinMode

  • All Implemented Interfaces:
    Serializable, Comparable<JoinMode>

    public enum JoinMode
    extends Enum<JoinMode>

    Specifies how the Join operator should handle rows with unmatched keys. These are rows from one of the inputs of the join that do not join with any row from the other input. Such rows may be dropped from the join, or retained by padding with nulls to populate fields where data is not available.

    • Enum Constant Detail

      • INNER

        public static final JoinMode INNER
        Inner join: Discard input rows with unmatched keys.
      • FULL_OUTER

        public static final JoinMode FULL_OUTER
        Full outer join: Retain rows with unmatched keys.
      • LEFT_OUTER

        public static final JoinMode LEFT_OUTER
        Left outer join: Retain rows from the left input with unmatched keys, but discard such rows from the right input.
      • RIGHT_OUTER

        public static final JoinMode RIGHT_OUTER
        Right outer join: Retain rows from the right input with unmatched keys, but discard such rows from the left input.
    • Method Detail

      • values

        public static JoinMode[] 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 (JoinMode c : JoinMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static JoinMode valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null