Class PartitionIndex
(experimental) Properties of a Partition Index.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Glue.Alpha
Assembly: Amazon.CDK.AWS.Glue.Alpha.dll
Syntax (csharp)
public class PartitionIndex : Object, IPartitionIndex
Syntax (vb)
Public Class PartitionIndex
Inherits Object
Implements IPartitionIndex
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Table myTable;
myTable.AddPartitionIndex(new PartitionIndex {
IndexName = "my-index",
KeyNames = new [] { "year" }
});
Synopsis
Constructors
Partition |
Properties
Index |
(experimental) The name of the partition index. |
Key |
(experimental) The partition key names that comprise the partition index. |
Constructors
PartitionIndex()
public PartitionIndex()
Properties
IndexName
(experimental) The name of the partition index.
public string IndexName { get; set; }
Property Value
System.
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
System.
Remarks
The names must correspond to a name in the table's partition keys.
Stability: Experimental