/AWS1/CL_QQCSPAN¶
A span represents a unit of work during AI agent execution, capturing timing, status, and contextual attributes.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_spanid TYPE /AWS1/QQCUUID /AWS1/QQCUUID¶
Unique span identifier
iv_assistantid TYPE /AWS1/QQCUUID /AWS1/QQCUUID¶
UUID of the Connect AI Assistant resource
iv_sessionid TYPE /AWS1/QQCUUID /AWS1/QQCUUID¶
UUID of the Connect AI Session resource
iv_spanname TYPE /AWS1/QQCNAME /AWS1/QQCNAME¶
Service-defined operation name
iv_spantype TYPE /AWS1/QQCSPANTYPE /AWS1/QQCSPANTYPE¶
Operation relationship type
iv_starttimestamp TYPE /AWS1/QQCTIMESTAMP /AWS1/QQCTIMESTAMP¶
Operation start time in milliseconds since epoch
iv_endtimestamp TYPE /AWS1/QQCTIMESTAMP /AWS1/QQCTIMESTAMP¶
Operation end time in milliseconds since epoch
iv_status TYPE /AWS1/QQCSPANSTATUS /AWS1/QQCSPANSTATUS¶
Span completion status
iv_requestid TYPE /AWS1/QQCUUID /AWS1/QQCUUID¶
The service request ID that initiated the operation
io_attributes TYPE REF TO /AWS1/CL_QQCSPANATTRIBUTES /AWS1/CL_QQCSPANATTRIBUTES¶
Span-specific contextual attributes
Optional arguments:¶
iv_parentspanid TYPE /AWS1/QQCUUID /AWS1/QQCUUID¶
Parent span identifier for hierarchy. Null for root spans.
iv_originrequestid TYPE /AWS1/QQCNONEMPTYSTRING /AWS1/QQCNONEMPTYSTRING¶
The origin request identifier for end-to-end tracing.
Queryable Attributes¶
spanId¶
Unique span identifier
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SPANID() |
Getter for SPANID, with configurable default |
ASK_SPANID() |
Getter for SPANID w/ exceptions if field has no value |
HAS_SPANID() |
Determine if SPANID has a value |
assistantId¶
UUID of the Connect AI Assistant resource
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ASSISTANTID() |
Getter for ASSISTANTID, with configurable default |
ASK_ASSISTANTID() |
Getter for ASSISTANTID w/ exceptions if field has no value |
HAS_ASSISTANTID() |
Determine if ASSISTANTID has a value |
sessionId¶
UUID of the Connect AI Session resource
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SESSIONID() |
Getter for SESSIONID, with configurable default |
ASK_SESSIONID() |
Getter for SESSIONID w/ exceptions if field has no value |
HAS_SESSIONID() |
Determine if SESSIONID has a value |
parentSpanId¶
Parent span identifier for hierarchy. Null for root spans.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PARENTSPANID() |
Getter for PARENTSPANID, with configurable default |
ASK_PARENTSPANID() |
Getter for PARENTSPANID w/ exceptions if field has no value |
HAS_PARENTSPANID() |
Determine if PARENTSPANID has a value |
spanName¶
Service-defined operation name
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SPANNAME() |
Getter for SPANNAME, with configurable default |
ASK_SPANNAME() |
Getter for SPANNAME w/ exceptions if field has no value |
HAS_SPANNAME() |
Determine if SPANNAME has a value |
spanType¶
Operation relationship type
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SPANTYPE() |
Getter for SPANTYPE, with configurable default |
ASK_SPANTYPE() |
Getter for SPANTYPE w/ exceptions if field has no value |
HAS_SPANTYPE() |
Determine if SPANTYPE has a value |
startTimestamp¶
Operation start time in milliseconds since epoch
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STARTTIMESTAMP() |
Getter for STARTTIMESTAMP, with configurable default |
ASK_STARTTIMESTAMP() |
Getter for STARTTIMESTAMP w/ exceptions if field has no valu |
HAS_STARTTIMESTAMP() |
Determine if STARTTIMESTAMP has a value |
endTimestamp¶
Operation end time in milliseconds since epoch
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENDTIMESTAMP() |
Getter for ENDTIMESTAMP, with configurable default |
ASK_ENDTIMESTAMP() |
Getter for ENDTIMESTAMP w/ exceptions if field has no value |
HAS_ENDTIMESTAMP() |
Determine if ENDTIMESTAMP has a value |
status¶
Span completion status
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
requestId¶
The service request ID that initiated the operation
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_REQUESTID() |
Getter for REQUESTID, with configurable default |
ASK_REQUESTID() |
Getter for REQUESTID w/ exceptions if field has no value |
HAS_REQUESTID() |
Determine if REQUESTID has a value |
originRequestId¶
The origin request identifier for end-to-end tracing.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ORIGINREQUESTID() |
Getter for ORIGINREQUESTID, with configurable default |
ASK_ORIGINREQUESTID() |
Getter for ORIGINREQUESTID w/ exceptions if field has no val |
HAS_ORIGINREQUESTID() |
Determine if ORIGINREQUESTID has a value |
attributes¶
Span-specific contextual attributes
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ATTRIBUTES() |
Getter for ATTRIBUTES |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_SPANLIST¶
TYPES TT_SPANLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_QQCSPAN WITH DEFAULT KEY
.