Interface CfnClassifier.CsvClassifierProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnClassifier.CsvClassifierProperty.Jsii$Proxy
Enclosing class:
CfnClassifier

@Stability(Stable) public static interface CfnClassifier.CsvClassifierProperty extends software.amazon.jsii.JsiiSerializable
A classifier for custom CSV content.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.glue.*;
 CsvClassifierProperty csvClassifierProperty = CsvClassifierProperty.builder()
         .allowSingleColumn(false)
         .containsHeader("containsHeader")
         .delimiter("delimiter")
         .disableValueTrimming(false)
         .header(List.of("header"))
         .name("name")
         .quoteSymbol("quoteSymbol")
         .build();
 
  • Method Details

    • getAllowSingleColumn

      @Stability(Stable) @Nullable default Object getAllowSingleColumn()
      Enables the processing of files that contain only one column.
    • getContainsHeader

      @Stability(Stable) @Nullable default String getContainsHeader()
      Indicates whether the CSV file contains a header.

      A value of UNKNOWN specifies that the classifier will detect whether the CSV file contains headings.

      A value of PRESENT specifies that the CSV file contains headings.

      A value of ABSENT specifies that the CSV file does not contain headings.

    • getDelimiter

      @Stability(Stable) @Nullable default String getDelimiter()
      A custom symbol to denote what separates each column entry in the row.
    • getDisableValueTrimming

      @Stability(Stable) @Nullable default Object getDisableValueTrimming()
      Specifies not to trim values before identifying the type of column values.

      The default value is true .

    • getHeader

      @Stability(Stable) @Nullable default List<String> getHeader()
      A list of strings representing column names.
    • getName

      @Stability(Stable) @Nullable default String getName()
      The name of the classifier.
    • getQuoteSymbol

      @Stability(Stable) @Nullable default String getQuoteSymbol()
      A custom symbol to denote what combines content into a single column value.

      It must be different from the column delimiter.

    • builder

      @Stability(Stable) static CfnClassifier.CsvClassifierProperty.Builder builder()
      Returns:
      a CfnClassifier.CsvClassifierProperty.Builder of CfnClassifier.CsvClassifierProperty