class Amazonite::DynamoDB::CsvOptions

Overview

Processing options for the CSV file being imported.

Included Modules

Defined in:

dynamodb/csv_options.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(delimiter : String | Nil = nil, header_list : Array(String) | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def delimiter : String | Nil #

The delimiter used for separating items in the CSV file being imported.


[View source]
def delimiter=(delimiter : String | Nil) #

The delimiter used for separating items in the CSV file being imported.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def header_list : Array(String) | Nil #

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.


[View source]
def header_list=(header_list : Array(String) | Nil) #

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.


[View source]
def validate! : Nil #

[View source]