The primitive Data
instances for this Vector's elements.
The number of elements in this Vector.
The number of child Vectors if this Vector is a nested dtype.
The number of primitive values per Vector element.
The DataType
of this Vector.
The Array or TypedAray constructor used for the JS representation
of the element's values in {@link Vector.prototype.toArray toArray()
}.
The name of this Vector.
The name that should be printed when the Vector is logged in a message.
The aggregate size (in bytes) of this Vector's buffers and/or child Vectors.
The number of null elements in this Vector.
Iterator for the Vector's elements.
Get an element value by position.
The index of the element to read.
Get the size in bytes of an element by index.
The index at which to get the byteLength.
Returns a child Vector by name, or null if this Vector has no child with the given name.
The name of the child to retrieve.
Retrieve the index of the first occurrence of a value in an Vector.
The value to locate in the Vector.
The index at which to begin the search. If offset is omitted, the search starts at index 0.
Check whether an element is null.
The index at which to read the validity bitmap.
Adds memoization to the Vector's get method. For dictionary vectors, this method return a vector that memoizes only the dictionary values.
Memoization is very useful when decoding a value is expensive such as Uft8. The memoization creates a cache of the size of the Vector and therfore increases memory usage.
A new vector that memoizes calls to get.
Set an element value by position.
The index of the element to write.
The value to set.
Return a zero-copy sub-section of this Vector.
The end of the specified portion of the Vector. This is exclusive of the element at the index 'end'.
Return a JavaScript Array or TypedArray of the Vector's elements.
An Array or TypedArray of the Vector's elements, based on the Vector's DataType.
Returns a string representation of the Vector.
A string representation of the Vector.
Generated using TypeDoc
Array-like data structure. Use the convenience method makeVector and vectorFromArray to create vectors.