Enum Class CaseNormalizationOption

java.lang.Object
java.lang.Enum<CaseNormalizationOption>
com.palantir.transforms.excel.table.CaseNormalizationOption
All Implemented Interfaces:
Serializable, Comparable<CaseNormalizationOption>, Constable

public enum CaseNormalizationOption extends Enum<CaseNormalizationOption>
A setting to control the behavior for normalizing case in column names automatically inferred from a header in the input Excel data. Because Spark is not case-sensitive by default and Foundry schemas do not allow columns differing only in case, it is recommended to use either the CONVERT_TO_UPPERCASE or CONVERT_TO_LOWERCASE options to avoid issues when column names differing only in case are present in the data, especially for incremental pipelines where new data needs to be merged with existing data and the schemas need to be reconciled.
  • Enum Constant Details

  • Method Details

    • values

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