Package gb_streams_tables_rules Support subprograms for the STREAMS_TABLES API (gb_streams_tables). |
Program units |
p_register_entity | Register the attribute value pairs to the message cache for delete operations. |
p_register_entity | Registers the attribute/value pairs to the message cache for create and update operations. |
p_validate | Validates all data in the record. |
p_register_entity
PROCEDURE p_register_entity(p_operation_type NUMBER, p_internal_record_id gb_common.internal_record_id_type)
Register the attribute value pairs to the message cache for delete operations.
This signature uses the ROWID only, for delete operations.
Parameters |
p_operation_type |
Type of DML operation: create,update,delete. NUMBER Required | |
p_internal_record_id |
Database ROWID VARCHAR2(18) required |
p_register_entity
PROCEDURE p_register_entity(p_operation_type NUMBER, p_seq_no gorctab.gorctab_seq_no%TYPE, p_sqpr_code gorctab.gorctab_sqpr_code%TYPE, p_table_name gorctab.gorctab_table_name%TYPE, p_table_owner gorctab.gorctab_table_owner%TYPE, p_apply_handler gorctab.gorctab_apply_handler%TYPE, p_user_id gorctab.gorctab_user_id%TYPE DEFAULT gb_common.f_sct_user, p_data_origin gorctab.gorctab_data_origin%TYPE, p_internal_record_id gb_common.internal_record_id_type)
Registers the attribute/value pairs to the message cache for create and update operations.
This signature registers all parameters.
Parameters |
p_operation_type |
Type of DML operation: create,update,delete. NUMBER Required | |
p_seq_no |
This is a one up sequence number. NUMBER(,) Required Key | |
p_sqpr_code |
Capture Process Code. References process code defined in gtvsqpr. VARCHAR2(30) Required | |
p_table_name |
Table name for the capture. VARCHAR2(30) Required | |
p_table_owner |
Table owner name for the capture. VARCHAR2(30) Required | |
p_apply_handler |
Callback PL/SQL Packaged procedure associated with the table for a capture process. VARCHAR2(120) Required | |
p_user_id |
User ID of the user who created or last updated the row. VARCHAR2(30) Required | |
p_data_origin |
Source system that created or updated the row. VARCHAR2(30) | |
p_internal_record_id |
Database ROWID VARCHAR2(18) required |
p_validate
PROCEDURE p_validate(p_seq_no gorctab.gorctab_seq_no%TYPE, p_sqpr_code gorctab.gorctab_sqpr_code%TYPE, p_table_name gorctab.gorctab_table_name%TYPE, p_table_owner gorctab.gorctab_table_owner%TYPE, p_apply_handler gorctab.gorctab_apply_handler%TYPE, p_user_id gorctab.gorctab_user_id%TYPE DEFAULT gb_common.f_sct_user, p_data_origin gorctab.gorctab_data_origin%TYPE DEFAULT NULL)
Validates all data in the record.
Parameters |
p_seq_no |
This is a one up sequence number. NUMBER(,) Required Key | |
p_sqpr_code |
Capture Process Code. References process code defined in GTVSQPR. VARCHAR2(30) Required | |
p_table_name |
Table name for the capture. VARCHAR2(30) Required | |
p_table_owner |
Table owner name for the capture. VARCHAR2(30) Required | |
p_apply_handler |
Callback PL/SQL Packaged procedure associated with the table for a capture process. VARCHAR2(120) Required | |
p_user_id |
User ID of the user who created or last updated the row. VARCHAR2(30) Required | |
p_data_origin |
Source system that created or updated the row. VARCHAR2(30) |