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.

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)


2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2671

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)


2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2671

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)


2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2671

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)


2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2671

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>)


2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2671

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)


2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2671

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)


2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 2671

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