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 ReadOptions = ReadOptions' {}
- newReadOptions :: ReadOptions
- readOptions_comment :: Lens' ReadOptions (Maybe Text)
- readOptions_encoding :: Lens' ReadOptions (Maybe Text)
- readOptions_escape :: Lens' ReadOptions (Maybe Text)
- readOptions_escapeQuotes :: Lens' ReadOptions (Maybe Bool)
- readOptions_header :: Lens' ReadOptions (Maybe Bool)
- readOptions_lineSep :: Lens' ReadOptions (Maybe Text)
- readOptions_quote :: Lens' ReadOptions (Maybe Text)
- readOptions_quoteAll :: Lens' ReadOptions (Maybe Bool)
- readOptions_sep :: Lens' ReadOptions (Maybe Text)
Documentation
data ReadOptions Source #
Read options for an annotation import job.
See: newReadOptions
smart constructor.
ReadOptions' | |
|
Instances
newReadOptions :: ReadOptions Source #
Create a value of ReadOptions
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:comment:ReadOptions'
, readOptions_comment
- The file's comment character.
$sel:encoding:ReadOptions'
, readOptions_encoding
- The file's encoding.
$sel:escape:ReadOptions'
, readOptions_escape
- A character for escaping quotes in the file.
$sel:escapeQuotes:ReadOptions'
, readOptions_escapeQuotes
- Whether quotes need to be escaped in the file.
$sel:header:ReadOptions'
, readOptions_header
- Whether the file has a header row.
$sel:lineSep:ReadOptions'
, readOptions_lineSep
- A line separator for the file.
$sel:quote:ReadOptions'
, readOptions_quote
- The file's quote character.
$sel:quoteAll:ReadOptions'
, readOptions_quoteAll
- Whether all values need to be quoted, or just those that contain quotes.
$sel:sep:ReadOptions'
, readOptions_sep
- The file's field separator.
readOptions_comment :: Lens' ReadOptions (Maybe Text) Source #
The file's comment character.
readOptions_encoding :: Lens' ReadOptions (Maybe Text) Source #
The file's encoding.
readOptions_escape :: Lens' ReadOptions (Maybe Text) Source #
A character for escaping quotes in the file.
readOptions_escapeQuotes :: Lens' ReadOptions (Maybe Bool) Source #
Whether quotes need to be escaped in the file.
readOptions_header :: Lens' ReadOptions (Maybe Bool) Source #
Whether the file has a header row.
readOptions_lineSep :: Lens' ReadOptions (Maybe Text) Source #
A line separator for the file.
readOptions_quote :: Lens' ReadOptions (Maybe Text) Source #
The file's quote character.
readOptions_quoteAll :: Lens' ReadOptions (Maybe Bool) Source #
Whether all values need to be quoted, or just those that contain quotes.
readOptions_sep :: Lens' ReadOptions (Maybe Text) Source #
The file's field separator.