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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allow_single_columnBoolean

Enables the processing of files that contain only one column.

Returns:

  • (Boolean)


2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'lib/aws-sdk-glue/types.rb', line 2875

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

#contains_headerString

Indicates whether the CSV file contains a header.

Returns:

  • (String)


2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'lib/aws-sdk-glue/types.rb', line 2875

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

#delimiterString

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

Returns:

  • (String)


2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'lib/aws-sdk-glue/types.rb', line 2875

class CreateCsvClassifierRequest < Struct.new(
  :name,
  :delimiter,
  :quote_symbol,
  :contains_header,
  :header,
  :disable_value_trimming,
  :allow_single_column)
  SENSITIVE = []
  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)


2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'lib/aws-sdk-glue/types.rb', line 2875

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

#headerArray<String>

A list of strings representing column names.

Returns:

  • (Array<String>)


2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'lib/aws-sdk-glue/types.rb', line 2875

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

#nameString

The name of the classifier.

Returns:

  • (String)


2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'lib/aws-sdk-glue/types.rb', line 2875

class CreateCsvClassifierRequest < Struct.new(
  :name,
  :delimiter,
  :quote_symbol,
  :contains_header,
  :header,
  :disable_value_trimming,
  :allow_single_column)
  SENSITIVE = []
  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)


2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'lib/aws-sdk-glue/types.rb', line 2875

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