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 SchemaColumn Source #
A key-value pair representing a column and data type that this transform
can run against. The Schema
parameter of the MLTransform
may contain
up to 100 of these structures.
See: newSchemaColumn
smart constructor.
Instances
newSchemaColumn :: SchemaColumn Source #
Create a value of SchemaColumn
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:dataType:SchemaColumn'
, schemaColumn_dataType
- The type of data in the column.
$sel:name:SchemaColumn'
, schemaColumn_name
- The name of the column.
schemaColumn_dataType :: Lens' SchemaColumn (Maybe Text) Source #
The type of data in the column.
schemaColumn_name :: Lens' SchemaColumn (Maybe Text) Source #
The name of the column.