Enum ReplacePolicy

java.lang.Object
java.lang.Enum<ReplacePolicy>
ai.rapids.cudf.ReplacePolicy
All Implemented Interfaces:
Serializable, Comparable<ReplacePolicy>, java.lang.constant.Constable

public enum ReplacePolicy extends Enum<ReplacePolicy>
Policy to specify the position of replacement values relative to null rows.
  • Enum Constant Details

    • PRECEDING

      public static final ReplacePolicy PRECEDING
      The replacement value is the first non-null value preceding the null row.
    • FOLLOWING

      public static final ReplacePolicy FOLLOWING
      The replacement value is the first non-null value following the null row.
  • Method Details

    • values

      public static ReplacePolicy[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ReplacePolicy 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
    • onColumn

      public ReplacePolicyWithColumn onColumn(int columnNumber)
      Indicate which column the replacement should happen on.