Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T: {} = any

Hierarchy

  • StructVector<T>
    • RecordBatch

Implements

Index

Constructors

constructor

Properties

Readonly TArray

TArray: IterableArrayLike<RowLike<T>>

Readonly TType

TType: Struct

Readonly TValue

TValue: RowLike<T>

Readonly [Symbol.isConcatSpreadable]

[Symbol.isConcatSpreadable]: boolean

Readonly data

data: Data<Struct<T>>

Readonly numChildren

numChildren: number

Accessors

ArrayType

  • get ArrayType(): T["ArrayType"]

VectorName

  • get VectorName(): string

[Symbol.toStringTag]

  • get [Symbol.toStringTag](): string

byteLength

  • get byteLength(): number

dictionaries

  • get dictionaries(): Map<number, Vector<any>>

length

  • get length(): number

nullBitmap

  • get nullBitmap(): Uint8Array

nullCount

  • get nullCount(): number

numCols

  • get numCols(): number

offset

  • get offset(): number

schema

stride

  • get stride(): number

type

  • get type(): T

typeId

  • get typeId(): T["TType"]

typeIds

  • get typeIds(): T["TArray"]

valueOffsets

  • get valueOffsets(): Int32Array

values

  • get values(): T["TArray"]

Methods

[Symbol.iterator]

  • [Symbol.iterator](): IterableIterator<null | RowLike<T>>

bind

  • bind(index: number): RowLike<T>

clone

concat

get

  • get(index: number): null | RowLike<T>

getByteWidth

  • getByteWidth(): number

getChildAt

  • getChildAt<R>(index: number): null | Vector<R>

indexOf

  • indexOf(value: null | RowLike<T>, fromIndex?: number): number
  • Parameters

    • value: null | RowLike<T>
    • Optional fromIndex: number

    Returns number

isValid

  • isValid(index: number): boolean

select

selectAt

  • selectAt<K>(...columnIndices: number[]): RecordBatch<{}>

set

  • set(index: number, value: null | RowLike<T>): void
  • Parameters

    • index: number
    • value: null | RowLike<T>

    Returns void

slice

toArray

  • toArray(): IterableArrayLike<RowLike<T>>

toJSON

  • toJSON(): (null | RowLike<T>)[]

Static from

  • from<T, TNull>(options: VectorBuilderOptions<Struct<T>, TNull>): Table<T>
  • from<T, TNull>(options: VectorBuilderOptionsAsync<Struct<T>, TNull>): Promise<Table<T>>
  • Type parameters

    • T: {} = any

    • TNull = any

    Parameters

    • options: VectorBuilderOptions<Struct<T>, TNull>

    Returns Table<T>

  • Type parameters

    • T: {} = any

    • TNull = any

    Parameters

    • options: VectorBuilderOptionsAsync<Struct<T>, TNull>

    Returns Promise<Table<T>>

Static new

  • new<T>(children: T): RecordBatch<{[ P in string | number | symbol]: T[P]["type"] }>
  • new<T>(children: ChildData<T>, fields?: keyof T[] | Field<T[keyof T]>[]): RecordBatch<T>
  • Type parameters

    • T: VectorMap = any

    Parameters

    • children: T

    Returns RecordBatch<{[ P in string | number | symbol]: T[P]["type"] }>

  • Type parameters

    • T: {} = any

    Parameters

    • children: ChildData<T>
    • Optional fields: keyof T[] | Field<T[keyof T]>[]

    Returns RecordBatch<T>

Generated using TypeDoc