Interface PartitionIndex

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
PartitionIndex.Jsii$Proxy

@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-31T18:44:14.176Z") @Stability(Experimental) public interface PartitionIndex extends software.amazon.jsii.JsiiSerializable
(experimental) Properties of a Partition Index.

Example:

 Table myTable;
 myTable.addPartitionIndex(PartitionIndex.builder()
         .indexName("my-index")
         .keyNames(List.of("year"))
         .build());
 
  • Method Details

    • getKeyNames

      @Stability(Experimental) @NotNull List<String> getKeyNames()
      (experimental) The partition key names that comprise the partition index.

      The names must correspond to a name in the table's partition keys.

    • getIndexName

      @Stability(Experimental) @Nullable default String getIndexName()
      (experimental) The name of the partition index.

      Default: - a name will be generated for you.

    • builder

      @Stability(Experimental) static PartitionIndex.Builder builder()
      Returns:
      a PartitionIndex.Builder of PartitionIndex