Class CfnTable.StorageDescriptorProperty
Describes the physical storage of table data.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.AWS.Glue.dll
Syntax (csharp)
public class StorageDescriptorProperty : Object, CfnTable.IStorageDescriptorProperty
Syntax (vb)
Public Class StorageDescriptorProperty
Inherits Object
Implements CfnTable.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",
SortOrder = 123
} },
StoredAsSubDirectories = false
};
Synopsis
Constructors
StorageDescriptorProperty() |
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 | Must be specified if the table contains any dimension columns. |
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()
public StorageDescriptorProperty()
Properties
BucketColumns
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
public string[] BucketColumns { get; set; }
Property Value
System.String[]
Remarks
Columns
A list of the Columns
in the table.
public object Columns { get; set; }
Property Value
System.Object
Remarks
Compressed
True
if the data in the table is compressed, or False
if not.
public object Compressed { get; set; }
Property Value
System.Object
Remarks
InputFormat
The input format: SequenceFileInputFormat
(binary), or TextInputFormat
, or a custom format.
public string InputFormat { get; set; }
Property Value
System.String
Remarks
Location
The physical location of the table.
public string Location { get; set; }
Property Value
System.String
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
Must be specified if the table contains any dimension columns.
public Nullable<double> NumberOfBuckets { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
OutputFormat
The output format: SequenceFileOutputFormat
(binary), or IgnoreKeyTextOutputFormat
, or a custom format.
public string OutputFormat { get; set; }
Property Value
System.String
Remarks
Parameters
The user-supplied properties in key-value form.
public object Parameters { get; set; }
Property Value
System.Object
Remarks
SchemaReference
An object that references a schema stored in the AWS Glue Schema Registry.
public object SchemaReference { get; set; }
Property Value
System.Object
Remarks
SerdeInfo
The serialization/deserialization (SerDe) information.
public object SerdeInfo { get; set; }
Property Value
System.Object
Remarks
SkewedInfo
The information about values that appear frequently in a column (skewed values).
public object SkewedInfo { get; set; }
Property Value
System.Object
Remarks
SortColumns
A list specifying the sort order of each bucket in the table.
public object SortColumns { get; set; }
Property Value
System.Object
Remarks
StoredAsSubDirectories
True
if the table data is stored in subdirectories, or False
if not.
public object StoredAsSubDirectories { get; set; }
Property Value
System.Object