Vector Constructors
TO_VECTOR() and VECTOR() are synonymous constructors of vectors. The functions take a string of type VARCHAR2 or CLOB as input and return a vector as output.
-
TO_VECTORis a constructor that takes a string of typeVARCHAR2,CLOB,BLOB, orJSONas input, converts it to a vector, and returns a vector as output.TO_VECTORalso takes another vector as input, adjusts its format, and returns the adjusted vector as output.TO_VECTORis synonymous withVECTOR. -
VECTORis synonymous withTO_VECTOR. -
The
VECTOR_ORIGINoperator generates a vector in which all dimensions are zero, representing the origin point in an n-dimensional graph. -
VECTOR_RANDOM and VECTOR_RANDOM_PER_ROW
The
VECTOR_RANDOMandVECTOR_RANDOM_PER_ROWoperators generate a vector with all dimension values as some random value, representing a random point in an n-dimensional graph.