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 PrimaryKey = PrimaryKey' {}
- newPrimaryKey :: Int -> Int -> PrimaryKey
- primaryKey_name :: Lens' PrimaryKey (Maybe Text)
- primaryKey_length :: Lens' PrimaryKey Int
- primaryKey_offset :: Lens' PrimaryKey Int
Documentation
data PrimaryKey Source #
The primary key for a KSDS data set.
See: newPrimaryKey
smart constructor.
Instances
Create a value of PrimaryKey
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:name:PrimaryKey'
, primaryKey_name
- A name for the Primary Key.
$sel:length:PrimaryKey'
, primaryKey_length
- A strictly positive integer value representing the length of the primary
key.
$sel:offset:PrimaryKey'
, primaryKey_offset
- A positive integer value representing the offset to mark the start of
the primary key in the record byte array.
primaryKey_name :: Lens' PrimaryKey (Maybe Text) Source #
A name for the Primary Key.
primaryKey_length :: Lens' PrimaryKey Int Source #
A strictly positive integer value representing the length of the primary key.
primaryKey_offset :: Lens' PrimaryKey Int Source #
A positive integer value representing the offset to mark the start of the primary key in the record byte array.