| 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 |
Amazonka.Glue.Types.StorageDescriptor
Description
Synopsis
- data StorageDescriptor = StorageDescriptor' {
- additionalLocations :: Maybe [Text]
- bucketColumns :: Maybe [Text]
- columns :: Maybe [Column]
- compressed :: Maybe Bool
- inputFormat :: Maybe Text
- location :: Maybe Text
- numberOfBuckets :: Maybe Int
- outputFormat :: Maybe Text
- parameters :: Maybe (HashMap Text Text)
- schemaReference :: Maybe SchemaReference
- serdeInfo :: Maybe SerDeInfo
- skewedInfo :: Maybe SkewedInfo
- sortColumns :: Maybe [Order]
- storedAsSubDirectories :: Maybe Bool
- newStorageDescriptor :: StorageDescriptor
- storageDescriptor_additionalLocations :: Lens' StorageDescriptor (Maybe [Text])
- storageDescriptor_bucketColumns :: Lens' StorageDescriptor (Maybe [Text])
- storageDescriptor_columns :: Lens' StorageDescriptor (Maybe [Column])
- storageDescriptor_compressed :: Lens' StorageDescriptor (Maybe Bool)
- storageDescriptor_inputFormat :: Lens' StorageDescriptor (Maybe Text)
- storageDescriptor_location :: Lens' StorageDescriptor (Maybe Text)
- storageDescriptor_numberOfBuckets :: Lens' StorageDescriptor (Maybe Int)
- storageDescriptor_outputFormat :: Lens' StorageDescriptor (Maybe Text)
- storageDescriptor_parameters :: Lens' StorageDescriptor (Maybe (HashMap Text Text))
- storageDescriptor_schemaReference :: Lens' StorageDescriptor (Maybe SchemaReference)
- storageDescriptor_serdeInfo :: Lens' StorageDescriptor (Maybe SerDeInfo)
- storageDescriptor_skewedInfo :: Lens' StorageDescriptor (Maybe SkewedInfo)
- storageDescriptor_sortColumns :: Lens' StorageDescriptor (Maybe [Order])
- storageDescriptor_storedAsSubDirectories :: Lens' StorageDescriptor (Maybe Bool)
Documentation
data StorageDescriptor Source #
Describes the physical storage of table data.
See: newStorageDescriptor smart constructor.
Constructors
| StorageDescriptor' | |
Fields
| |
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:additionalLocations:StorageDescriptor', storageDescriptor_additionalLocations - A list of locations that point to the path where a Delta table is
located.
$sel:bucketColumns:StorageDescriptor', storageDescriptor_bucketColumns - A list of reducer grouping columns, clustering columns, and bucketing
columns in the table.
$sel:columns:StorageDescriptor', storageDescriptor_columns - A list of the Columns in the table.
$sel:compressed:StorageDescriptor', storageDescriptor_compressed - True if the data in the table is compressed, or False if not.
$sel:inputFormat:StorageDescriptor', storageDescriptor_inputFormat - The input format: SequenceFileInputFormat (binary), or
TextInputFormat, or a custom format.
$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:numberOfBuckets:StorageDescriptor', storageDescriptor_numberOfBuckets - Must be specified if the table contains any dimension columns.
$sel:outputFormat:StorageDescriptor', storageDescriptor_outputFormat - The output format: SequenceFileOutputFormat (binary), or
IgnoreKeyTextOutputFormat, or a custom format.
StorageDescriptor, storageDescriptor_parameters - The user-supplied properties in key-value form.
$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:serdeInfo:StorageDescriptor', storageDescriptor_serdeInfo - The serialization/deserialization (SerDe) information.
$sel:skewedInfo:StorageDescriptor', storageDescriptor_skewedInfo - The information about values that appear frequently in a column (skewed
values).
$sel:sortColumns:StorageDescriptor', storageDescriptor_sortColumns - A list specifying the sort order of each bucket in the table.
$sel:storedAsSubDirectories:StorageDescriptor', storageDescriptor_storedAsSubDirectories - True if the table data is stored in subdirectories, or False if not.
storageDescriptor_additionalLocations :: Lens' StorageDescriptor (Maybe [Text]) Source #
A list of locations that point to the path where a Delta table is located.
storageDescriptor_bucketColumns :: Lens' StorageDescriptor (Maybe [Text]) Source #
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
storageDescriptor_columns :: Lens' StorageDescriptor (Maybe [Column]) Source #
A list of the Columns in the table.
storageDescriptor_compressed :: Lens' StorageDescriptor (Maybe Bool) Source #
True if the data in the table is compressed, or False if not.
storageDescriptor_inputFormat :: Lens' StorageDescriptor (Maybe Text) Source #
The input format: SequenceFileInputFormat (binary), or
TextInputFormat, or a custom format.
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_numberOfBuckets :: Lens' StorageDescriptor (Maybe Int) Source #
Must be specified if the table contains any dimension columns.
storageDescriptor_outputFormat :: Lens' StorageDescriptor (Maybe Text) Source #
The output format: SequenceFileOutputFormat (binary), or
IgnoreKeyTextOutputFormat, or a custom format.
storageDescriptor_parameters :: Lens' StorageDescriptor (Maybe (HashMap Text Text)) Source #
The user-supplied properties in key-value form.
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_serdeInfo :: Lens' StorageDescriptor (Maybe SerDeInfo) Source #
The serialization/deserialization (SerDe) information.
storageDescriptor_skewedInfo :: Lens' StorageDescriptor (Maybe SkewedInfo) Source #
The information about values that appear frequently in a column (skewed values).
storageDescriptor_sortColumns :: Lens' StorageDescriptor (Maybe [Order]) Source #
A list specifying the sort order of each bucket in the table.
storageDescriptor_storedAsSubDirectories :: Lens' StorageDescriptor (Maybe Bool) Source #
True if the table data is stored in subdirectories, or False if not.