Interface CfnPartition.IStorageDescriptorProperty
Describes the physical storage of table data.
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IStorageDescriptorProperty
Syntax (vb)
Public Interface 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.AWS.Glue;
var parameters;
var skewedColumnValueLocationMaps;
var storageDescriptorProperty = new StorageDescriptorProperty {
BucketColumns = new [] { "bucketColumns" },
Columns = new [] { new ColumnProperty {
Name = "name",
// the properties below are optional
Comment = "comment",
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",
// the properties below are optional
SortOrder = 123
} },
StoredAsSubDirectories = false
};
Synopsis
Properties
Bucket |
A list of reducer grouping columns, clustering columns, and bucketing columns in the table. |
Columns | A list of the |
Compressed |
|
Input |
The input format: |
Location | The physical location of the table. |
Number |
The number of buckets. |
Output |
The output format: |
Parameters | The user-supplied properties in key-value form. |
Schema |
An object that references a schema stored in the AWS Glue Schema Registry. |
Serde |
The serialization/deserialization (SerDe) information. |
Skewed |
The information about values that appear frequently in a column (skewed values). |
Sort |
A list specifying the sort order of each bucket in the table. |
Stored |
|
Properties
BucketColumns
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
virtual string[] BucketColumns { get; }
Property Value
System.
Remarks
Columns
A list of the Columns
in the table.
virtual object Columns { get; }
Property Value
System.
Remarks
Compressed
True
if the data in the table is compressed, or False
if not.
virtual object Compressed { get; }
Property Value
System.
Remarks
InputFormat
The input format: SequenceFileInputFormat
(binary), or TextInputFormat
, or a custom format.
virtual string InputFormat { get; }
Property Value
System.
Remarks
Location
The physical location of the table.
virtual string Location { get; }
Property Value
System.
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.
virtual Nullable<double> NumberOfBuckets { get; }
Property Value
System.
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.
virtual string OutputFormat { get; }
Property Value
System.
Remarks
Parameters
The user-supplied properties in key-value form.
virtual object Parameters { get; }
Property Value
System.
Remarks
SchemaReference
An object that references a schema stored in the AWS Glue Schema Registry.
virtual object SchemaReference { get; }
Property Value
System.
Remarks
SerdeInfo
The serialization/deserialization (SerDe) information.
virtual object SerdeInfo { get; }
Property Value
System.
Remarks
SkewedInfo
The information about values that appear frequently in a column (skewed values).
virtual object SkewedInfo { get; }
Property Value
System.
Remarks
SortColumns
A list specifying the sort order of each bucket in the table.
virtual object SortColumns { get; }
Property Value
System.
Remarks
StoredAsSubDirectories
True
if the table data is stored in subdirectories, or False
if not.
virtual object StoredAsSubDirectories { get; }
Property Value
System.