Enum Class JoinDatasets.JoinType

java.lang.Object
java.lang.Enum<JoinDatasets.JoinType>
edu.cmu.tetrad.data.JoinDatasets.JoinType
All Implemented Interfaces:
Serializable, Comparable<JoinDatasets.JoinType>, Constable
Enclosing class:
JoinDatasets

public static enum JoinDatasets.JoinType extends Enum<JoinDatasets.JoinType>
Which unmatched rows to keep.
  • Enum Constant Details

    • LEFT

      public static final JoinDatasets.JoinType LEFT
      Keep every left row; unmatched left rows get missing values in the right columns. Unmatched right rows are discarded. The default.
    • INNER

      public static final JoinDatasets.JoinType INNER
      Keep only rows with a match on both sides.
    • FULL_OUTER

      public static final JoinDatasets.JoinType FULL_OUTER
      Keep every row of both sides; unmatched rows get missing values in the other side's columns.
  • Method Details

    • values

      public static JoinDatasets.JoinType[] 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 JoinDatasets.JoinType 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