Class TableLocalSecondaryIndex


  • public final class TableLocalSecondaryIndex
    extends java.lang.Object
    • Method Detail

      • name

        public java.lang.String name()
        Returns:
        Name of the index
      • nonKeyAttributes

        public java.util.List<java.lang.String> nonKeyAttributes()
        Returns:
        Only required with `INCLUDE` as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.
      • projectionType

        public java.lang.String projectionType()
        Returns:
        One of `ALL`, `INCLUDE` or `KEYS_ONLY` where `ALL` projects every attribute into the index, `KEYS_ONLY` projects into the index only the table and index hash_key and sort_key attributes , `INCLUDE` projects into the index all of the attributes that are defined in `non_key_attributes` in addition to the attributes that that`KEYS_ONLY` project.
      • rangeKey

        public java.lang.String rangeKey()
        Returns:
        Name of the range key.