Constructors
constructor
- new Data<T>(type, offset, length, nullCount?, buffers?, children?, dictionary?): Data<T>
Parameters
- type: T
- offset: number
- length: number
Optional
nullCount: numberOptional
buffers: Data<T> | Partial<Buffers<T>>- children: Data<DataType<Type, any>>[] = []
Optional
dictionary: Vector<any>
Properties
Readonly
length
length: number
Readonly
nullBitmap
nullBitmap: Uint8Array
Readonly
offset
offset: number
Readonly
stride
stride: number
Readonly
valueOffsets
valueOffsets: T["TOffsetArray"] Accessors
ArrayType
- get ArrayType(): T["ArrayType"]
Returns T["ArrayType"]
buffers
- get buffers(): Buffers<T>
Returns Buffers<T>
byteLength
- get byteLength(): number
Returns number
nullCount
- get nullCount(): number
Returns number
nullable
- get nullable(): boolean
Returns boolean
typeId
- get typeId(): T["TType"]
Returns T["TType"]
Methods
_changeLengthAndBackfillNullBitmap
- _changeLengthAndBackfillNullBitmap(newLength): Data<T>
clone
- clone<R>(type?, offset?, length?, nullCount?, buffers?, children?): Data<R>
Parameters
- type: R = ...
- offset: number = ...
- length: number = ...
- nullCount: number = ...
- buffers: Buffers<R> = ...
- children: Data<DataType<Type, any>>[] = ...
getValid
- getValid(index): boolean
Returns boolean
setValid
- setValid(index, value): boolean
Parameters
- index: number
- value: boolean
Returns boolean
slice
- slice(offset, length): Data<T>
Parameters
- offset: number
- length: number
Data structure underlying Vectors. Use the convenience method makeData.