Skip to content

/AWS1/CL_DYNLOCALSECINDEXINFO

Represents the properties of a local secondary index for the table when the backup was created.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_indexname TYPE /AWS1/DYNINDEXNAME /AWS1/DYNINDEXNAME

Represents the name of the local secondary index.

it_keyschema TYPE /AWS1/CL_DYNKEYSCHEMAELEMENT=>TT_KEYSCHEMA TT_KEYSCHEMA

The complete key schema for a local secondary index, which consists of one or more pairs of attribute names and key types:

  • HASH - partition key

  • RANGE - sort key

The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.

The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.

io_projection TYPE REF TO /AWS1/CL_DYNPROJECTION /AWS1/CL_DYNPROJECTION

Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.


Queryable Attributes

IndexName

Represents the name of the local secondary index.

Accessible with the following methods

Method Description
GET_INDEXNAME() Getter for INDEXNAME, with configurable default
ASK_INDEXNAME() Getter for INDEXNAME w/ exceptions if field has no value
HAS_INDEXNAME() Determine if INDEXNAME has a value

KeySchema

The complete key schema for a local secondary index, which consists of one or more pairs of attribute names and key types:

  • HASH - partition key

  • RANGE - sort key

The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.

The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.

Accessible with the following methods

Method Description
GET_KEYSCHEMA() Getter for KEYSCHEMA, with configurable default
ASK_KEYSCHEMA() Getter for KEYSCHEMA w/ exceptions if field has no value
HAS_KEYSCHEMA() Determine if KEYSCHEMA has a value

Projection

Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.

Accessible with the following methods

Method Description
GET_PROJECTION() Getter for PROJECTION

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_LOCALSECONDARYINDEXES

TYPES TT_LOCALSECONDARYINDEXES TYPE STANDARD TABLE OF REF TO /AWS1/CL_DYNLOCALSECINDEXINFO WITH DEFAULT KEY
.