AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Glue::Types::CreateCsvClassifierRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateCsvClassifierRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "NameString", # required
  delimiter: "CsvColumnDelimiter",
  quote_symbol: "CsvQuoteSymbol",
  contains_header: "UNKNOWN", # accepts UNKNOWN, PRESENT, ABSENT
  header: ["NameString"],
  disable_value_trimming: false,
  allow_single_column: false,
}

Specifies a custom CSV classifier for CreateClassifier to create.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#allow_single_columnBoolean

Enables the processing of files that contain only one column.

Returns:

  • (Boolean)

    Enables the processing of files that contain only one column.

#contains_headerString

Indicates whether the CSV file contains a header.

Possible values:

  • UNKNOWN
  • PRESENT
  • ABSENT

Returns:

  • (String)

    Indicates whether the CSV file contains a header.

#delimiterString

A custom symbol to denote what separates each column entry in the row.

Returns:

  • (String)

    A custom symbol to denote what separates each column entry in the row.

#disable_value_trimmingBoolean

Specifies not to trim values before identifying the type of column values. The default value is true.

Returns:

  • (Boolean)

    Specifies not to trim values before identifying the type of column values.

#headerArray<String>

A list of strings representing column names.

Returns:

  • (Array<String>)

    A list of strings representing column names.

#nameString

The name of the classifier.

Returns:

  • (String)

    The name of the classifier.

#quote_symbolString

A custom symbol to denote what combines content into a single column value. Must be different from the column delimiter.

Returns:

  • (String)

    A custom symbol to denote what combines content into a single column value.