Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data CsvOptions = CsvOptions' {}
- newCsvOptions :: CsvOptions
- csvOptions_headerRow :: Lens' CsvOptions (Maybe Bool)
- csvOptions_delimiter :: Lens' CsvOptions (Maybe Text)
Documentation
data CsvOptions Source #
Represents a set of options that define how DataBrew will read a comma-separated value (CSV) file when creating a dataset from that file.
See: newCsvOptions
smart constructor.
Instances
newCsvOptions :: CsvOptions Source #
Create a value of CsvOptions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:headerRow:CsvOptions'
, csvOptions_headerRow
- A variable that specifies whether the first row in the file is parsed as
the header. If this value is false, column names are auto-generated.
$sel:delimiter:CsvOptions'
, csvOptions_delimiter
- A single character that specifies the delimiter being used in the CSV
file.
csvOptions_headerRow :: Lens' CsvOptions (Maybe Bool) Source #
A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.
csvOptions_delimiter :: Lens' CsvOptions (Maybe Text) Source #
A single character that specifies the delimiter being used in the CSV file.