Class CfnPartitionPropsMixin.StorageDescriptorProperty
Describes the physical storage of table data.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Glue.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnPartitionPropsMixin.StorageDescriptorProperty : CfnPartitionPropsMixin.IStorageDescriptorProperty
Syntax (vb)
Public Class CfnPartitionPropsMixin.StorageDescriptorProperty Implements CfnPartitionPropsMixin.IStorageDescriptorProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Glue.Mixins;
var parameters;
var skewedColumnValueLocationMaps;
var storageDescriptorProperty = new StorageDescriptorProperty {
BucketColumns = new [] { "bucketColumns" },
Columns = new [] { new ColumnProperty {
Comment = "comment",
Name = "name",
Type = "type"
} },
Compressed = false,
InputFormat = "inputFormat",
Location = "location",
NumberOfBuckets = 123,
OutputFormat = "outputFormat",
Parameters = parameters,
SchemaReference = new SchemaReferenceProperty {
SchemaId = new SchemaIdProperty {
RegistryName = "registryName",
SchemaArn = "schemaArn",
SchemaName = "schemaName"
},
SchemaVersionId = "schemaVersionId",
SchemaVersionNumber = 123
},
SerdeInfo = new SerdeInfoProperty {
Name = "name",
Parameters = parameters,
SerializationLibrary = "serializationLibrary"
},
SkewedInfo = new SkewedInfoProperty {
SkewedColumnNames = new [] { "skewedColumnNames" },
SkewedColumnValueLocationMaps = skewedColumnValueLocationMaps,
SkewedColumnValues = new [] { "skewedColumnValues" }
},
SortColumns = new [] { new OrderProperty {
Column = "column",
SortOrder = 123
} },
StoredAsSubDirectories = false
};
Synopsis
Constructors
| StorageDescriptorProperty() | Describes the physical storage of table data. |
Properties
| BucketColumns | A list of reducer grouping columns, clustering columns, and bucketing columns in the table. |
| Columns | A list of the |
| Compressed |
|
| InputFormat | The input format: |
| Location | The physical location of the table. |
| NumberOfBuckets | The number of buckets. |
| OutputFormat | The output format: |
| Parameters | The user-supplied properties in key-value form. |
| SchemaReference | An object that references a schema stored in the AWS Glue Schema Registry. |
| SerdeInfo | The serialization/deserialization (SerDe) information. |
| SkewedInfo | The information about values that appear frequently in a column (skewed values). |
| SortColumns | A list specifying the sort order of each bucket in the table. |
| StoredAsSubDirectories |
|
Constructors
StorageDescriptorProperty()
Describes the physical storage of table data.
public StorageDescriptorProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Glue.Mixins;
var parameters;
var skewedColumnValueLocationMaps;
var storageDescriptorProperty = new StorageDescriptorProperty {
BucketColumns = new [] { "bucketColumns" },
Columns = new [] { new ColumnProperty {
Comment = "comment",
Name = "name",
Type = "type"
} },
Compressed = false,
InputFormat = "inputFormat",
Location = "location",
NumberOfBuckets = 123,
OutputFormat = "outputFormat",
Parameters = parameters,
SchemaReference = new SchemaReferenceProperty {
SchemaId = new SchemaIdProperty {
RegistryName = "registryName",
SchemaArn = "schemaArn",
SchemaName = "schemaName"
},
SchemaVersionId = "schemaVersionId",
SchemaVersionNumber = 123
},
SerdeInfo = new SerdeInfoProperty {
Name = "name",
Parameters = parameters,
SerializationLibrary = "serializationLibrary"
},
SkewedInfo = new SkewedInfoProperty {
SkewedColumnNames = new [] { "skewedColumnNames" },
SkewedColumnValueLocationMaps = skewedColumnValueLocationMaps,
SkewedColumnValues = new [] { "skewedColumnValues" }
},
SortColumns = new [] { new OrderProperty {
Column = "column",
SortOrder = 123
} },
StoredAsSubDirectories = false
};
Properties
BucketColumns
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
public string[]? BucketColumns { get; set; }
Property Value
string[]
Remarks
Columns
A list of the Columns in the table.
public object? Columns { get; set; }
Property Value
Remarks
Compressed
True if the data in the table is compressed, or False if not.
public object? Compressed { get; set; }
Property Value
Remarks
InputFormat
The input format: SequenceFileInputFormat (binary), or TextInputFormat , or a custom format.
public string? InputFormat { get; set; }
Property Value
Remarks
Location
The physical location of the table.
public string? Location { get; set; }
Property Value
Remarks
By default, this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
NumberOfBuckets
The number of buckets.
public double? NumberOfBuckets { get; set; }
Property Value
Remarks
You must specify this property if the partition contains any dimension columns.
OutputFormat
The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat , or a custom format.
public string? OutputFormat { get; set; }
Property Value
Remarks
Parameters
The user-supplied properties in key-value form.
public object? Parameters { get; set; }
Property Value
Remarks
SchemaReference
An object that references a schema stored in the AWS Glue Schema Registry.
public object? SchemaReference { get; set; }
Property Value
Remarks
SerdeInfo
The serialization/deserialization (SerDe) information.
public object? SerdeInfo { get; set; }
Property Value
Remarks
SkewedInfo
The information about values that appear frequently in a column (skewed values).
public object? SkewedInfo { get; set; }
Property Value
Remarks
SortColumns
A list specifying the sort order of each bucket in the table.
public object? SortColumns { get; set; }
Property Value
Remarks
StoredAsSubDirectories
True if the table data is stored in subdirectories, or False if not.
public object? StoredAsSubDirectories { get; set; }