Show / Hide Table of Contents

Class CfnPartitionPropsMixin.StorageDescriptorProperty

Describes the physical storage of table data.

Inheritance
object
CfnPartitionPropsMixin.StorageDescriptorProperty
Implements
CfnPartitionPropsMixin.IStorageDescriptorProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html

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 Columns in the table.

Compressed

True if the data in the table is compressed, or False if not.

InputFormat

The input format: SequenceFileInputFormat (binary), or TextInputFormat , or a custom format.

Location

The physical location of the table.

NumberOfBuckets

The number of buckets.

OutputFormat

The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat , or a custom 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

True if the table data is stored in subdirectories, or False if not.

Constructors

StorageDescriptorProperty()

Describes the physical storage of table data.

public StorageDescriptorProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-bucketcolumns

Columns

A list of the Columns in the table.

public object? Columns { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-columns

Type union: either IResolvable or (either IResolvable or CfnPartitionPropsMixin.IColumnProperty)[]

Compressed

True if the data in the table is compressed, or False if not.

public object? Compressed { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-compressed

Type union: either bool or IResolvable

InputFormat

The input format: SequenceFileInputFormat (binary), or TextInputFormat , or a custom format.

public string? InputFormat { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-inputformat

Location

The physical location of the table.

public string? Location { get; set; }
Property Value

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-location

NumberOfBuckets

The number of buckets.

public double? NumberOfBuckets { get; set; }
Property Value

double?

Remarks

You must specify this property if the partition contains any dimension columns.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-numberofbuckets

OutputFormat

The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat , or a custom format.

public string? OutputFormat { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-outputformat

Parameters

The user-supplied properties in key-value form.

public object? Parameters { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-parameters

SchemaReference

An object that references a schema stored in the AWS Glue Schema Registry.

public object? SchemaReference { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-schemareference

Type union: either IResolvable or CfnPartitionPropsMixin.ISchemaReferenceProperty

SerdeInfo

The serialization/deserialization (SerDe) information.

public object? SerdeInfo { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-serdeinfo

Type union: either IResolvable or CfnPartitionPropsMixin.ISerdeInfoProperty

SkewedInfo

The information about values that appear frequently in a column (skewed values).

public object? SkewedInfo { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-skewedinfo

Type union: either IResolvable or CfnPartitionPropsMixin.ISkewedInfoProperty

SortColumns

A list specifying the sort order of each bucket in the table.

public object? SortColumns { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-sortcolumns

Type union: either IResolvable or (either IResolvable or CfnPartitionPropsMixin.IOrderProperty)[]

StoredAsSubDirectories

True if the table data is stored in subdirectories, or False if not.

public object? StoredAsSubDirectories { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-storedassubdirectories

Type union: either bool or IResolvable

Implements

CfnPartitionPropsMixin.IStorageDescriptorProperty
Back to top Generated by DocFX