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

Class: Aws::Glue::Types::CsvClassifier

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

Overview

A classifier for custom CSV content.

Instance Attribute Summary collapse

Instance Attribute Details

#allow_single_columnBoolean

Enables the processing of files that contain only one column.

Returns:

  • (Boolean)


3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3511

class CsvClassifier < Struct.new(
  :name,
  :creation_time,
  :last_updated,
  :version,
  :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)


3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3511

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

#creation_timeTime

The time that this classifier was registered.

Returns:

  • (Time)


3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3511

class CsvClassifier < Struct.new(
  :name,
  :creation_time,
  :last_updated,
  :version,
  :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)


3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3511

class CsvClassifier < Struct.new(
  :name,
  :creation_time,
  :last_updated,
  :version,
  :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)


3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3511

class CsvClassifier < Struct.new(
  :name,
  :creation_time,
  :last_updated,
  :version,
  :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>)


3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3511

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

#last_updatedTime

The time that this classifier was last updated.

Returns:

  • (Time)


3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3511

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

#nameString

The name of the classifier.

Returns:

  • (String)


3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3511

class CsvClassifier < Struct.new(
  :name,
  :creation_time,
  :last_updated,
  :version,
  :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. It must be different from the column delimiter.

Returns:

  • (String)


3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3511

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

#versionInteger

The version of this classifier.

Returns:

  • (Integer)


3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 3511

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