class
Amazonite::DynamoDB::CsvOptions
- Amazonite::DynamoDB::CsvOptions
- Reference
- Object
Overview
Processing options for the CSV file being imported.
Included Modules
- JSON::Serializable
Defined in:
dynamodb/csv_options.crConstructors
- .new(pull : JSON::PullParser)
- .new(delimiter : String | Nil = nil, header_list : Array(String) | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#delimiter : String | Nil
The delimiter used for separating items in the CSV file being imported.
-
#delimiter=(delimiter : String | Nil)
The delimiter used for separating items in the CSV file being imported.
-
#hash(hasher)
See
Object#hash(hasher) -
#header_list : Array(String) | Nil
List of the headers used to specify a common header for all source CSV files being imported.
-
#header_list=(header_list : Array(String) | Nil)
List of the headers used to specify a common header for all source CSV files being imported.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The delimiter used for separating items in the CSV file being imported.
The delimiter used for separating items in the CSV file being imported.
List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.
List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.