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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Note:

When making an API call, you may pass CreateCsvClassifierRequest data as a 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.

Instance Attribute Summary collapse

Instance Attribute Details

#allow_single_columnBoolean

Enables the processing of files that contain only one column.

Returns:

  • (Boolean)


2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2039

class CreateCsvClassifierRequest < Struct.new(
  :name,
  :delimiter,
  :quote_symbol,
  :contains_header,
  :header,
  :disable_value_trimming,
  :allow_single_column)
  include Aws::Structure
end

#contains_headerString

Indicates whether the CSV file contains a header.

Returns:

  • (String)


2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2039

class CreateCsvClassifierRequest < Struct.new(
  :name,
  :delimiter,
  :quote_symbol,
  :contains_header,
  :header,
  :disable_value_trimming,
  :allow_single_column)
  include Aws::Structure
end

#delimiterString

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

Returns:

  • (String)


2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2039

class CreateCsvClassifierRequest < Struct.new(
  :name,
  :delimiter,
  :quote_symbol,
  :contains_header,
  :header,
  :disable_value_trimming,
  :allow_single_column)
  include Aws::Structure
end

#disable_value_trimmingBoolean

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

Returns:

  • (Boolean)


2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2039

class CreateCsvClassifierRequest < Struct.new(
  :name,
  :delimiter,
  :quote_symbol,
  :contains_header,
  :header,
  :disable_value_trimming,
  :allow_single_column)
  include Aws::Structure
end

#headerArray<String>

A list of strings representing column names.

Returns:

  • (Array<String>)


2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2039

class CreateCsvClassifierRequest < Struct.new(
  :name,
  :delimiter,
  :quote_symbol,
  :contains_header,
  :header,
  :disable_value_trimming,
  :allow_single_column)
  include Aws::Structure
end

#nameString

The name of the classifier.

Returns:

  • (String)


2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2039

class CreateCsvClassifierRequest < Struct.new(
  :name,
  :delimiter,
  :quote_symbol,
  :contains_header,
  :header,
  :disable_value_trimming,
  :allow_single_column)
  include Aws::Structure
end

#quote_symbolString

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

Returns:

  • (String)


2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2039

class CreateCsvClassifierRequest < Struct.new(
  :name,
  :delimiter,
  :quote_symbol,
  :contains_header,
  :header,
  :disable_value_trimming,
  :allow_single_column)
  include Aws::Structure
end