Enum SurplusCharHandlingAction

java.lang.Object
java.lang.Enum<SurplusCharHandlingAction>
software.amazon.awscdk.services.glue.alpha.SurplusCharHandlingAction
All Implemented Interfaces:
Serializable, Comparable<SurplusCharHandlingAction>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-17T14:54:30.230Z") @Stability(Deprecated) @Deprecated public enum SurplusCharHandlingAction extends Enum<SurplusCharHandlingAction>
Deprecated.
(deprecated) Specifies how to handle data being loaded that exceeds the length of the data type defined for columns containing VARCHAR, CHAR, or string data.

By default, Redshift Spectrum sets the value to null for data that exceeds the width of the column.

See Also:
  • Enum Constant Details

    • SET_TO_NULL

      @Stability(Deprecated) @Deprecated public static final SurplusCharHandlingAction SET_TO_NULL
      Deprecated.
      (deprecated) Replaces data that exceeds the column width with null.
    • DISABLED

      @Stability(Deprecated) @Deprecated public static final SurplusCharHandlingAction DISABLED
      Deprecated.
      (deprecated) Doesn't perform surplus character handling.
    • FAIL

      @Stability(Deprecated) @Deprecated public static final SurplusCharHandlingAction FAIL
      Deprecated.
      (deprecated) Cancels queries that return data exceeding the column width.
    • DROP_ROW

      @Stability(Deprecated) @Deprecated public static final SurplusCharHandlingAction DROP_ROW
      Deprecated.
      (deprecated) Replaces each value in the row with null.
    • TRUNCATE

      @Stability(Deprecated) @Deprecated public static final SurplusCharHandlingAction TRUNCATE
      Deprecated.
      (deprecated) Removes the characters that exceed the maximum number of characters defined for the column.
  • Method Details

    • values

      public static SurplusCharHandlingAction[] values()
      Deprecated.
      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 SurplusCharHandlingAction valueOf(String name)
      Deprecated.
      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