Show / Hide Table of Contents

Class PartitionIndex

(experimental) Properties of a Partition Index.

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

string

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

Implements

IPartitionIndex
Back to top Generated by DocFX