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
Documentation
data AlternateKey Source #
Defines an alternate key. This value is optional. A legacy data set might not have any alternate key defined but if those alternate keys definitions exist, provide them, as some applications will make use of them.
See: newAlternateKey
smart constructor.
AlternateKey' | |
|
Instances
Create a value of AlternateKey
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:allowDuplicates:AlternateKey'
, alternateKey_allowDuplicates
- Indicates whether the alternate key values are supposed to be unique for
the given data set.
$sel:name:AlternateKey'
, alternateKey_name
- The name of the alternate key.
$sel:length:AlternateKey'
, alternateKey_length
- A strictly positive integer value representing the length of the
alternate key.
$sel:offset:AlternateKey'
, alternateKey_offset
- A positive integer value representing the offset to mark the start of
the alternate key part in the record byte array.
alternateKey_allowDuplicates :: Lens' AlternateKey (Maybe Bool) Source #
Indicates whether the alternate key values are supposed to be unique for the given data set.
alternateKey_name :: Lens' AlternateKey (Maybe Text) Source #
The name of the alternate key.
alternateKey_length :: Lens' AlternateKey Int Source #
A strictly positive integer value representing the length of the alternate key.
alternateKey_offset :: Lens' AlternateKey Int Source #
A positive integer value representing the offset to mark the start of the alternate key part in the record byte array.