/AWS1/CL_DYNCREGLBSECINDEXACT¶
Represents a new global secondary index to be added to an existing table.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_indexname TYPE /AWS1/DYNINDEXNAME /AWS1/DYNINDEXNAME¶
The name of the global secondary index to be created.
it_keyschema TYPE /AWS1/CL_DYNKEYSCHEMAELEMENT=>TT_KEYSCHEMA TT_KEYSCHEMA¶
The key schema for the global secondary index.
io_projection TYPE REF TO /AWS1/CL_DYNPROJECTION /AWS1/CL_DYNPROJECTION¶
Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
Optional arguments:¶
io_provisionedthroughput TYPE REF TO /AWS1/CL_DYNPROVTHROUGHPUT /AWS1/CL_DYNPROVTHROUGHPUT¶
Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
io_ondemandthroughput TYPE REF TO /AWS1/CL_DYNONDEMANDTHROUGHPUT /AWS1/CL_DYNONDEMANDTHROUGHPUT¶
The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify
MaxReadRequestUnits,MaxWriteRequestUnits, or both. You must use eitherOnDemand ThroughputorProvisionedThroughputbased on your table's capacity mode.
io_warmthroughput TYPE REF TO /AWS1/CL_DYNWARMTHROUGHPUT /AWS1/CL_DYNWARMTHROUGHPUT¶
Represents the warm throughput value (in read units per second and write units per second) when creating a secondary index.
Queryable Attributes¶
IndexName¶
The name of the global secondary index to be created.
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 key schema for the global secondary index.
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 an 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 |
ProvisionedThroughput¶
Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PROVISIONEDTHROUGHPUT() |
Getter for PROVISIONEDTHROUGHPUT |
OnDemandThroughput¶
The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify
MaxReadRequestUnits,MaxWriteRequestUnits, or both. You must use eitherOnDemand ThroughputorProvisionedThroughputbased on your table's capacity mode.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ONDEMANDTHROUGHPUT() |
Getter for ONDEMANDTHROUGHPUT |
WarmThroughput¶
Represents the warm throughput value (in read units per second and write units per second) when creating a secondary index.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_WARMTHROUGHPUT() |
Getter for WARMTHROUGHPUT |