Vector
A wrapper class for JavaScript TypedArrays that makes the driver send them as a Vector type to the database.
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
asTypedArray(): Float32Array | Float64Array | Int8Array | Int16Array | Int32Array | BigInt64Array Converts the Vector back to a typedArray |
|
public |
Gets the type of the Vector |
|
public |
toString() |
Public Constructors
public constructor() source
Public Methods
public asTypedArray(): Float32Array | Float64Array | Int8Array | Int16Array | Int32Array | BigInt64Array source
Converts the Vector back to a typedArray
Return:
Float32Array | Float64Array | Int8Array | Int16Array | Int32Array | BigInt64Array | a TypedArray of the Vectors type. |