Class PartitionIndex
(experimental) Properties of a Partition Index.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Glue.Alpha
Assembly: Amazon.CDK.AWS.Glue.Alpha.dll
Syntax (csharp)
public class PartitionIndex : IPartitionIndex
Syntax (vb)
Public Class PartitionIndex Implements IPartitionIndex
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Table myTable;
myTable.AddPartitionIndex(new PartitionIndex {
IndexName = "my-index",
KeyNames = new [] { "year" }
});
Synopsis
Constructors
PartitionIndex() | (experimental) Properties of a Partition Index. |
Properties
IndexName | (experimental) The name of the partition index. |
KeyNames | (experimental) The partition key names that comprise the partition index. |
Constructors
PartitionIndex()
(experimental) Properties of a Partition Index.
public PartitionIndex()
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Table myTable;
myTable.AddPartitionIndex(new PartitionIndex {
IndexName = "my-index",
KeyNames = new [] { "year" }
});
Properties
IndexName
(experimental) The name of the partition index.
public string? IndexName { get; set; }
Property Value
Remarks
Default: - a name will be generated for you.
Stability: Experimental
KeyNames
(experimental) The partition key names that comprise the partition index.
public string[] KeyNames { get; set; }
Property Value
string[]
Remarks
The names must correspond to a name in the table's partition keys.
Stability: Experimental