Skip to content

/AWS1/CL_S3VQUERYOUTPUTVECTOR

The attributes of a vector in the approximate nearest neighbor search.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_key TYPE /AWS1/S3VVECTORKEY /AWS1/S3VVECTORKEY

The key of the vector in the approximate nearest neighbor search.

Optional arguments:

iv_distance TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING

The measure of similarity between the vector in the response and the query vector.

io_metadata TYPE REF TO /AWS1/CL_RT_DOCUMENT /AWS1/CL_RT_DOCUMENT

The metadata associated with the vector, if requested.


Queryable Attributes

distance

The measure of similarity between the vector in the response and the query vector.

Accessible with the following methods

Method Description
GET_DISTANCE() Getter for DISTANCE, with configurable default
ASK_DISTANCE() Getter for DISTANCE w/ exceptions if field has no value
STR_DISTANCE() String format for DISTANCE, with configurable default
HAS_DISTANCE() Determine if DISTANCE has a value

key

The key of the vector in the approximate nearest neighbor search.

Accessible with the following methods

Method Description
GET_KEY() Getter for KEY, with configurable default
ASK_KEY() Getter for KEY w/ exceptions if field has no value
HAS_KEY() Determine if KEY has a value

metadata

The metadata associated with the vector, if requested.

Accessible with the following methods

Method Description
GET_METADATA() Getter for METADATA, with configurable default
ASK_METADATA() Getter for METADATA w/ exceptions if field has no value
HAS_METADATA() Determine if METADATA has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_QUERYVECTORSOUTPUTLIST

TYPES TT_QUERYVECTORSOUTPUTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_S3VQUERYOUTPUTVECTOR WITH DEFAULT KEY
.