Try OpenEdge Now
skip to main content
Programming Interfaces
Change Data Capture ABL references : ABL support classes for CDC : CDCTrackingHelper class
 

CDCTrackingHelper class

The CDCTrackingHelper class provides convenience methods for accessing data in a _Cdc-Change-Tracking record and its related change table record(s). It is specific to a given CDC source table. An ETL program can create an instance of CDCTrackingHelper for the source table being processed. The ETL program creates a CDCTrackingHelper object for a _Cdc-Change-Tracking buffer, then iterates through the _Cdc-Change-Tracking records using this buffer. The ETL program can then use the convenience methods in the CDCTrackingHelper object to access the record currently in the buffer.

OpenEdge.DataAdmin.Util.CDCTrackingHelper public methods

The following public methods are defined by the interface:
*CONSTRUCTOR CDCTrackingHelper( INPUT SourceTableName AS CHARACTER, INPUT ChangeTrackingHandle AS HANDLE)
*CONSTRUCTOR CDCTrackingHelper( INPUT SourceTableName AS CHARACTER, INPUT TableOwner AS CHARACTER, INPUT ChangeTrackingHandle AS HANDLE)

OpenEdge.DataAdmin.Util.CDCTrackingHelper properties

The following properties are defined by the interface:
*SourceTableNumber
*GetChangedFields()
*FieldChanged(INPUT fieldName as CHARACTER)
*GetOperation()
*IsUpdate()
*IsCreate()
*IsDelete()
*IsRecordSplit()
*IsRecordSplit(INPUT before AS LOGICAL)
*FetchChangeRecord(INPUT hbuf AS HANDLE)
*FetchChangeRecord(INPUT hbuf AS HANDLE, INPUT before AS LOGICAL)
*CreateChangeBuffer()
*DeleteChangeTrackingRecord()
For details, see https://documentation.progress.com/output/oehttpclient/oe117.