Skip to content

/AWS1/CL_S3VPUTINPUTVECTOR

The attributes of a vector to add to a vector index.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_key TYPE /AWS1/S3VVECTORKEY /AWS1/S3VVECTORKEY

The name of the vector. The key uniquely identifies the vector in a vector index.

io_data TYPE REF TO /AWS1/CL_S3VVECTORDATA /AWS1/CL_S3VVECTORDATA

The vector data of the vector.

Vector dimensions must match the dimension count that's configured for the vector index.

  • For the cosine distance metric, zero vectors (vectors containing all zeros) aren't allowed.

  • For both cosine and euclidean distance metrics, vector data must contain only valid floating-point values. Invalid values such as NaN (Not a Number) or Infinity aren't allowed.

Optional arguments:

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

Metadata about the vector. All metadata entries undergo validation to ensure they meet the format requirements for size and data types.


Queryable Attributes

key

The name of the vector. The key uniquely identifies the vector in a vector index.

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

data

The vector data of the vector.

Vector dimensions must match the dimension count that's configured for the vector index.

  • For the cosine distance metric, zero vectors (vectors containing all zeros) aren't allowed.

  • For both cosine and euclidean distance metrics, vector data must contain only valid floating-point values. Invalid values such as NaN (Not a Number) or Infinity aren't allowed.

Accessible with the following methods

Method Description
GET_DATA() Getter for DATA

metadata

Metadata about the vector. All metadata entries undergo validation to ensure they meet the format requirements for size and data types.

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_PUTVECTORSINPUTLIST

TYPES TT_PUTVECTORSINPUTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_S3VPUTINPUTVECTOR WITH DEFAULT KEY
.