@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:09.628Z") @Stability(value=Experimental) public interface PartitionIndex extends software.amazon.jsii.JsiiSerializable
Example:
Table myTable;
myTable.addPartitionIndex(PartitionIndex.builder()
.indexName("my-index")
.keyNames(List.of("year"))
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
PartitionIndex.Builder
A builder for
PartitionIndex |
static class |
PartitionIndex.Jsii$Proxy
An implementation for
PartitionIndex |
| Modifier and Type | Method and Description |
|---|---|
static PartitionIndex.Builder |
builder() |
default String |
getIndexName()
(experimental) The name of the partition index.
|
List<String> |
getKeyNames()
(experimental) The partition key names that comprise the partition index.
|
@Stability(value=Experimental) @NotNull List<String> getKeyNames()
The names must correspond to a name in the table's partition keys.
@Stability(value=Experimental) @Nullable default String getIndexName()
Default: - a name will be generated for you.
@Stability(value=Experimental) static PartitionIndex.Builder builder()
PartitionIndex.Builder of PartitionIndexCopyright © 2022. All rights reserved.