Skip to content

/AWS1/CL_KYZRECORD

Represents a change data capture record for a row in an Amazon Keyspaces table, containing both the new and old states of the row.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_eventversion TYPE /AWS1/KYZSTRING /AWS1/KYZSTRING

The version of the record format, used to track the evolution of the record structure over time.

iv_createdat TYPE /AWS1/KYZDATE /AWS1/KYZDATE

The timestamp indicating when this change data capture record was created.

iv_origin TYPE /AWS1/KYZORIGINTYPE /AWS1/KYZORIGINTYPE

The origin or source of this change data capture record.

it_partitionkeys TYPE /AWS1/CL_KYZKEYSPACESCELLVALUE=>TT_KEYSPACESKEYSMAP TT_KEYSPACESKEYSMAP

The partition key columns and their values for the affected row.

it_clusteringkeys TYPE /AWS1/CL_KYZKEYSPACESCELLVALUE=>TT_KEYSPACESKEYSMAP TT_KEYSPACESKEYSMAP

The clustering key columns and their values for the affected row, which determine the order of rows within a partition.

io_newimage TYPE REF TO /AWS1/CL_KYZKEYSPACESROW /AWS1/CL_KYZKEYSPACESROW

The state of the row after the change operation that generated this record.

io_oldimage TYPE REF TO /AWS1/CL_KYZKEYSPACESROW /AWS1/CL_KYZKEYSPACESROW

The state of the row before the change operation that generated this record.

iv_sequencenumber TYPE /AWS1/KYZSEQUENCENUMBER /AWS1/KYZSEQUENCENUMBER

A unique identifier assigned to this record within the shard, used for ordering and tracking purposes.


Queryable Attributes

eventVersion

The version of the record format, used to track the evolution of the record structure over time.

Accessible with the following methods

Method Description
GET_EVENTVERSION() Getter for EVENTVERSION, with configurable default
ASK_EVENTVERSION() Getter for EVENTVERSION w/ exceptions if field has no value
HAS_EVENTVERSION() Determine if EVENTVERSION has a value

createdAt

The timestamp indicating when this change data capture record was created.

Accessible with the following methods

Method Description
GET_CREATEDAT() Getter for CREATEDAT, with configurable default
ASK_CREATEDAT() Getter for CREATEDAT w/ exceptions if field has no value
HAS_CREATEDAT() Determine if CREATEDAT has a value

origin

The origin or source of this change data capture record.

Accessible with the following methods

Method Description
GET_ORIGIN() Getter for ORIGIN, with configurable default
ASK_ORIGIN() Getter for ORIGIN w/ exceptions if field has no value
HAS_ORIGIN() Determine if ORIGIN has a value

partitionKeys

The partition key columns and their values for the affected row.

Accessible with the following methods

Method Description
GET_PARTITIONKEYS() Getter for PARTITIONKEYS, with configurable default
ASK_PARTITIONKEYS() Getter for PARTITIONKEYS w/ exceptions if field has no value
HAS_PARTITIONKEYS() Determine if PARTITIONKEYS has a value

clusteringKeys

The clustering key columns and their values for the affected row, which determine the order of rows within a partition.

Accessible with the following methods

Method Description
GET_CLUSTERINGKEYS() Getter for CLUSTERINGKEYS, with configurable default
ASK_CLUSTERINGKEYS() Getter for CLUSTERINGKEYS w/ exceptions if field has no valu
HAS_CLUSTERINGKEYS() Determine if CLUSTERINGKEYS has a value

newImage

The state of the row after the change operation that generated this record.

Accessible with the following methods

Method Description
GET_NEWIMAGE() Getter for NEWIMAGE

oldImage

The state of the row before the change operation that generated this record.

Accessible with the following methods

Method Description
GET_OLDIMAGE() Getter for OLDIMAGE

sequenceNumber

A unique identifier assigned to this record within the shard, used for ordering and tracking purposes.

Accessible with the following methods

Method Description
GET_SEQUENCENUMBER() Getter for SEQUENCENUMBER, with configurable default
ASK_SEQUENCENUMBER() Getter for SEQUENCENUMBER w/ exceptions if field has no valu
HAS_SEQUENCENUMBER() Determine if SEQUENCENUMBER has a value

Public Local Types In This Class

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

TT_RECORDLIST

TYPES TT_RECORDLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_KYZRECORD WITH DEFAULT KEY
.