/AWS1/CL_KYSCDCSPECSUMMARY¶
The settings of the CDC stream of the table. For more information about CDC streams, see Working with change data capture (CDC) streams in Amazon Keyspaces in the Amazon Keyspaces Developer Guide.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_status
TYPE /AWS1/KYSCDCSTATUS
/AWS1/KYSCDCSTATUS
¶
The status of the CDC stream. Specifies if the table has a CDC stream.
Optional arguments:¶
iv_viewtype
TYPE /AWS1/KYSVIEWTYPE
/AWS1/KYSVIEWTYPE
¶
The view type specifies the changes Amazon Keyspaces records for each changed row in the stream. This setting can't be changed, after the stream has been created.
The options are:
NEW_AND_OLD_IMAGES
- both versions of the row, before and after the change. This is the default.
NEW_IMAGE
- the version of the row after the change.
OLD_IMAGE
- the version of the row before the change.
KEYS_ONLY
- the partition and clustering keys of the row that was changed.
Queryable Attributes¶
status¶
The status of the CDC stream. Specifies if the table has a CDC stream.
Accessible with the following methods¶
Method | Description |
---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
viewType¶
The view type specifies the changes Amazon Keyspaces records for each changed row in the stream. This setting can't be changed, after the stream has been created.
The options are:
NEW_AND_OLD_IMAGES
- both versions of the row, before and after the change. This is the default.
NEW_IMAGE
- the version of the row after the change.
OLD_IMAGE
- the version of the row before the change.
KEYS_ONLY
- the partition and clustering keys of the row that was changed.
Accessible with the following methods¶
Method | Description |
---|---|
GET_VIEWTYPE() |
Getter for VIEWTYPE, with configurable default |
ASK_VIEWTYPE() |
Getter for VIEWTYPE w/ exceptions if field has no value |
HAS_VIEWTYPE() |
Determine if VIEWTYPE has a value |