Skip to content

/AWS1/CL_KNSRECORDCONF

Specifies the format of records read from the source stream.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_recordformattype TYPE /AWS1/KNSRECORDFORMATTYPE /AWS1/KNSRECORDFORMATTYPE

The format of records on the source stream. Valid values:

  • GSR_JSON - Supported only for streaming table (Amazon S3 Tables) destinations.

  • JSON - Supported for both general purpose Amazon S3 and streaming table destinations.

  • STRING - Supported only for general purpose Amazon S3 destinations.

  • BYTE_ARRAY - Supported only for general purpose Amazon S3 destinations.

Optional arguments:

iv_gsrschemaarn TYPE /AWS1/KNSGSRSCHEMAARN /AWS1/KNSGSRSCHEMAARN

The Amazon Resource Name (ARN) of the Amazon Web Services Glue Schema Registry schema used to validate records. Required when the channel destination is a streaming table (Amazon S3 Tables), for both the JSON and GSR_JSON record formats.


Queryable Attributes

RecordFormatType

The format of records on the source stream. Valid values:

  • GSR_JSON - Supported only for streaming table (Amazon S3 Tables) destinations.

  • JSON - Supported for both general purpose Amazon S3 and streaming table destinations.

  • STRING - Supported only for general purpose Amazon S3 destinations.

  • BYTE_ARRAY - Supported only for general purpose Amazon S3 destinations.

Accessible with the following methods

Method Description
GET_RECORDFORMATTYPE() Getter for RECORDFORMATTYPE, with configurable default
ASK_RECORDFORMATTYPE() Getter for RECORDFORMATTYPE w/ exceptions if field has no va
HAS_RECORDFORMATTYPE() Determine if RECORDFORMATTYPE has a value

GSRSchemaARN

The Amazon Resource Name (ARN) of the Amazon Web Services Glue Schema Registry schema used to validate records. Required when the channel destination is a streaming table (Amazon S3 Tables), for both the JSON and GSR_JSON record formats.

Accessible with the following methods

Method Description
GET_GSRSCHEMAARN() Getter for GSRSCHEMAARN, with configurable default
ASK_GSRSCHEMAARN() Getter for GSRSCHEMAARN w/ exceptions if field has no value
HAS_GSRSCHEMAARN() Determine if GSRSCHEMAARN has a value