Skip to content

/AWS1/CL_BDRDOCUMENTSOURCE

Contains the content of a document.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_bytes TYPE /AWS1/BDRBLOB /AWS1/BDRBLOB

The raw bytes for the document. If you use an Amazon Web Services SDK, you don't need to encode the bytes in base64.

io_s3location TYPE REF TO /AWS1/CL_BDRS3LOCATION /AWS1/CL_BDRS3LOCATION

The location of a document object in an Amazon S3 bucket. To see which models support S3 uploads, see Supported models and features for Converse.

iv_text TYPE /AWS1/BDRSTRING /AWS1/BDRSTRING

The text content of the document source.

it_content TYPE /AWS1/CL_BDRDOCCONTENTBLOCK=>TT_DOCUMENTCONTENTBLOCKS TT_DOCUMENTCONTENTBLOCKS

The structured content of the document source, which may include various content blocks such as text, images, or other document elements.


Queryable Attributes

bytes

The raw bytes for the document. If you use an Amazon Web Services SDK, you don't need to encode the bytes in base64.

Accessible with the following methods

Method Description
GET_BYTES() Getter for BYTES, with configurable default
ASK_BYTES() Getter for BYTES w/ exceptions if field has no value
HAS_BYTES() Determine if BYTES has a value

s3Location

The location of a document object in an Amazon S3 bucket. To see which models support S3 uploads, see Supported models and features for Converse.

Accessible with the following methods

Method Description
GET_S3LOCATION() Getter for S3LOCATION

text

The text content of the document source.

Accessible with the following methods

Method Description
GET_TEXT() Getter for TEXT, with configurable default
ASK_TEXT() Getter for TEXT w/ exceptions if field has no value
HAS_TEXT() Determine if TEXT has a value

content

The structured content of the document source, which may include various content blocks such as text, images, or other document elements.

Accessible with the following methods

Method Description
GET_CONTENT() Getter for CONTENT, with configurable default
ASK_CONTENT() Getter for CONTENT w/ exceptions if field has no value
HAS_CONTENT() Determine if CONTENT has a value