Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data FormatOptions = FormatOptions' {
- csv :: Maybe CsvOptions
- excel :: Maybe ExcelOptions
- json :: Maybe JsonOptions
- newFormatOptions :: FormatOptions
- formatOptions_csv :: Lens' FormatOptions (Maybe CsvOptions)
- formatOptions_excel :: Lens' FormatOptions (Maybe ExcelOptions)
- formatOptions_json :: Lens' FormatOptions (Maybe JsonOptions)
Documentation
data FormatOptions Source #
Represents a set of options that define the structure of either comma-separated value (CSV), Excel, or JSON input.
See: newFormatOptions
smart constructor.
FormatOptions' | |
|
Instances
newFormatOptions :: FormatOptions Source #
Create a value of FormatOptions
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:csv:FormatOptions'
, formatOptions_csv
- Options that define how CSV input is to be interpreted by DataBrew.
$sel:excel:FormatOptions'
, formatOptions_excel
- Options that define how Excel input is to be interpreted by DataBrew.
$sel:json:FormatOptions'
, formatOptions_json
- Options that define how JSON input is to be interpreted by DataBrew.
formatOptions_csv :: Lens' FormatOptions (Maybe CsvOptions) Source #
Options that define how CSV input is to be interpreted by DataBrew.
formatOptions_excel :: Lens' FormatOptions (Maybe ExcelOptions) Source #
Options that define how Excel input is to be interpreted by DataBrew.
formatOptions_json :: Lens' FormatOptions (Maybe JsonOptions) Source #
Options that define how JSON input is to be interpreted by DataBrew.