Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data StorageDescriptor = StorageDescriptor' {
- sortColumns :: Maybe [Order]
- compressed :: Maybe Bool
- location :: Maybe Text
- bucketColumns :: Maybe [Text]
- serdeInfo :: Maybe SerDeInfo
- outputFormat :: Maybe Text
- numberOfBuckets :: Maybe Int
- schemaReference :: Maybe SchemaReference
- storedAsSubDirectories :: Maybe Bool
- parameters :: Maybe (HashMap Text Text)
- inputFormat :: Maybe Text
- skewedInfo :: Maybe SkewedInfo
- columns :: Maybe [Column]
- newStorageDescriptor :: StorageDescriptor
- storageDescriptor_sortColumns :: Lens' StorageDescriptor (Maybe [Order])
- storageDescriptor_compressed :: Lens' StorageDescriptor (Maybe Bool)
- storageDescriptor_location :: Lens' StorageDescriptor (Maybe Text)
- storageDescriptor_bucketColumns :: Lens' StorageDescriptor (Maybe [Text])
- storageDescriptor_serdeInfo :: Lens' StorageDescriptor (Maybe SerDeInfo)
- storageDescriptor_outputFormat :: Lens' StorageDescriptor (Maybe Text)
- storageDescriptor_numberOfBuckets :: Lens' StorageDescriptor (Maybe Int)
- storageDescriptor_schemaReference :: Lens' StorageDescriptor (Maybe SchemaReference)
- storageDescriptor_storedAsSubDirectories :: Lens' StorageDescriptor (Maybe Bool)
- storageDescriptor_parameters :: Lens' StorageDescriptor (Maybe (HashMap Text Text))
- storageDescriptor_inputFormat :: Lens' StorageDescriptor (Maybe Text)
- storageDescriptor_skewedInfo :: Lens' StorageDescriptor (Maybe SkewedInfo)
- storageDescriptor_columns :: Lens' StorageDescriptor (Maybe [Column])
Documentation
data StorageDescriptor Source #
Describes the physical storage of table data.
See: newStorageDescriptor
smart constructor.
StorageDescriptor' | |
|
Instances
newStorageDescriptor :: StorageDescriptor Source #
Create a value of StorageDescriptor
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:sortColumns:StorageDescriptor'
, storageDescriptor_sortColumns
- A list specifying the sort order of each bucket in the table.
$sel:compressed:StorageDescriptor'
, storageDescriptor_compressed
- True
if the data in the table is compressed, or False
if not.
$sel:location:StorageDescriptor'
, storageDescriptor_location
- The physical location of the table. By default, this takes the form of
the warehouse location, followed by the database location in the
warehouse, followed by the table name.
$sel:bucketColumns:StorageDescriptor'
, storageDescriptor_bucketColumns
- A list of reducer grouping columns, clustering columns, and bucketing
columns in the table.
$sel:serdeInfo:StorageDescriptor'
, storageDescriptor_serdeInfo
- The serialization/deserialization (SerDe) information.
$sel:outputFormat:StorageDescriptor'
, storageDescriptor_outputFormat
- The output format: SequenceFileOutputFormat
(binary), or
IgnoreKeyTextOutputFormat
, or a custom format.
$sel:numberOfBuckets:StorageDescriptor'
, storageDescriptor_numberOfBuckets
- Must be specified if the table contains any dimension columns.
$sel:schemaReference:StorageDescriptor'
, storageDescriptor_schemaReference
- An object that references a schema stored in the Glue Schema Registry.
When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference.
$sel:storedAsSubDirectories:StorageDescriptor'
, storageDescriptor_storedAsSubDirectories
- True
if the table data is stored in subdirectories, or False
if not.
$sel:parameters:StorageDescriptor'
, storageDescriptor_parameters
- The user-supplied properties in key-value form.
$sel:inputFormat:StorageDescriptor'
, storageDescriptor_inputFormat
- The input format: SequenceFileInputFormat
(binary), or
TextInputFormat
, or a custom format.
$sel:skewedInfo:StorageDescriptor'
, storageDescriptor_skewedInfo
- The information about values that appear frequently in a column (skewed
values).
$sel:columns:StorageDescriptor'
, storageDescriptor_columns
- A list of the Columns
in the table.
storageDescriptor_sortColumns :: Lens' StorageDescriptor (Maybe [Order]) Source #
A list specifying the sort order of each bucket in the table.
storageDescriptor_compressed :: Lens' StorageDescriptor (Maybe Bool) Source #
True
if the data in the table is compressed, or False
if not.
storageDescriptor_location :: Lens' StorageDescriptor (Maybe Text) Source #
The physical location of the table. By default, this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
storageDescriptor_bucketColumns :: Lens' StorageDescriptor (Maybe [Text]) Source #
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
storageDescriptor_serdeInfo :: Lens' StorageDescriptor (Maybe SerDeInfo) Source #
The serialization/deserialization (SerDe) information.
storageDescriptor_outputFormat :: Lens' StorageDescriptor (Maybe Text) Source #
The output format: SequenceFileOutputFormat
(binary), or
IgnoreKeyTextOutputFormat
, or a custom format.
storageDescriptor_numberOfBuckets :: Lens' StorageDescriptor (Maybe Int) Source #
Must be specified if the table contains any dimension columns.
storageDescriptor_schemaReference :: Lens' StorageDescriptor (Maybe SchemaReference) Source #
An object that references a schema stored in the Glue Schema Registry.
When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference.
storageDescriptor_storedAsSubDirectories :: Lens' StorageDescriptor (Maybe Bool) Source #
True
if the table data is stored in subdirectories, or False
if not.
storageDescriptor_parameters :: Lens' StorageDescriptor (Maybe (HashMap Text Text)) Source #
The user-supplied properties in key-value form.
storageDescriptor_inputFormat :: Lens' StorageDescriptor (Maybe Text) Source #
The input format: SequenceFileInputFormat
(binary), or
TextInputFormat
, or a custom format.
storageDescriptor_skewedInfo :: Lens' StorageDescriptor (Maybe SkewedInfo) Source #
The information about values that appear frequently in a column (skewed values).
storageDescriptor_columns :: Lens' StorageDescriptor (Maybe [Column]) Source #
A list of the Columns
in the table.