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_VECTOR
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. - VECTOR
VECTORis synonymous withTO_VECTOR. - VECTOR_ORIGIN
TheVECTOR_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
TheVECTOR_RANDOMandVECTOR_RANDOM_PER_ROWoperators generate a vector with all dimension values as some random value, representing a random point in an n-dimensional graph.