Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChunkedData<T>

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

  • new ChunkedData(type: T, length: number, chunkVectors: Vector<T>[], offset?: undefined | number, nullCount?: undefined | number, chunkOffsets?: Uint32Array): ChunkedData
  • Parameters

    • type: T
    • length: number
    • chunkVectors: Vector<T>[]
    • Optional offset: undefined | number
    • Optional nullCount: undefined | number
    • Optional chunkOffsets: Uint32Array

    Returns ChunkedData

Properties

Protected Optional 0

0: Int32Array

Protected Optional 1

1: undefined | T["TArray"]

Protected Optional 2

2: Uint8Array

Protected Optional 3

3: Int8Array

Protected _chunkData

_chunkData: Data<T>[]

Protected _chunkOffsets

_chunkOffsets: Uint32Array

Protected _chunkVectors

_chunkVectors: Vector<T>[]

Protected _nullCount

_nullCount: number | kUnknownNullCount

childData

childData: Data<any>[]

length

length: number

offset

offset: number

type

type: T

Accessors

chunkData

  • get chunkData(): (DataTypes<T>[T["TType"]] & BaseData<T>)[]

chunkOffsets

  • get chunkOffsets(): Uint32Array

chunkVectors

  • get chunkVectors(): Vector<T>[]

nullBitmap

  • get nullBitmap(): undefined | Uint8Array

nullCount

  • get nullCount(): number

typeId

  • get typeId(): any

Methods

clone

  • clone<R>(type: R, length?: number, offset?: number, nullCount?: number): ChunkedData<R>
  • Type parameters

    • R: T

    Parameters

    • type: R
    • Default value length: number = this.length
    • Default value offset: number = this.offset
    • Default value nullCount: number = this._nullCount

    Returns ChunkedData<R>

slice

  • slice(offset: number, length: number): this

Protected sliceData

  • sliceData(data: T["TArray"] & TypedArray, offset: number, length: number): any

Protected sliceInternal

  • sliceInternal(clone: this, offset: number, length: number): this

Protected sliceOffsets

  • sliceOffsets(valueOffsets: Int32Array, offset: number, length: number): Int32Array

Static computeOffsets

  • computeOffsets<T>(childVectors: Vector<T>[]): Uint32Array

Generated using TypeDoc