Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Column<T, T>

Type parameters

Hierarchy

  • Chunked<T>
    • Column

Implements

  • Clonable<Chunked<T>>
  • Sliceable<Chunked<T>>
  • Applicative<T, Chunked<T>>
  • Clonable<Column<T>>
  • Sliceable<Column<T>>
  • Applicative<T, Column<T>>

Index

Constructors

constructor

  • new Column(field: Field<T>, vectors?: Vector<T>[], offsets: Uint32Array): Column
  • Parameters

    • field: Field<T>
    • Default value vectors: Vector<T>[] = []
    • Optional offsets: Uint32Array

    Returns Column

Properties

TArray

TArray: T["TArray"]

TType

TType: T["TType"]

TValue

TValue: T["TValue"]

__@isConcatSpreadable

__@isConcatSpreadable: boolean

typeId

typeId: T["TType"]

Accessors

ArrayType

ArrayType:

VectorName

VectorName:

byteLength

byteLength:

chunks

chunks:

data

data:

dictionary

dictionary:

field

field:

indices

indices:

length

length:

metadata

metadata:

name

name:

nullCount

nullCount:

nullable

nullable:

numChildren

numChildren:

stride

stride:

type

type:

Methods

__@iterator

  • __@iterator(): IterableIterator<T["TValue"] | null>
  • Returns IterableIterator<T["TValue"] | null>

clone

  • clone(chunks: Vector<T>[], offsets: Uint32Array): Column<T>
  • Parameters

    • Optional chunks: Vector<T>[]
    • Optional offsets: Uint32Array

    Returns Column<T>

concat

  • concat(others: Vector<T>[]): Column<T>
  • Parameters

    • Rest others: Vector<T>[]

    Returns Column<T>

get

  • get(index: number): T["TValue"] | null
  • Parameters

    • index: number

    Returns T["TValue"] | null

getChildAt

  • getChildAt<R>(index: number): Column<R> | null
  • Type parameters

    Parameters

    • index: number

    Returns Column<R> | null

indexOf

  • indexOf(element: T["TValue"], offset: undefined | number): number
  • Parameters

    • element: T["TValue"]
    • Optional offset: undefined | number

    Returns number

isValid

  • isValid(index: number): boolean
  • Parameters

    • index: number

    Returns boolean

search

  • search(index: number): [number, number] | null
  • search<N>(index: number, then: N): ReturnType<N>
  • Parameters

    • index: number

    Returns [number, number] | null

  • Type parameters

    • N: SearchContinuation<Chunked<T>>

    Parameters

    • index: number
    • Optional then: N

    Returns ReturnType<N>

set

  • set(index: number, value: T["TValue"] | null): void
  • Parameters

    • index: number
    • value: T["TValue"] | null

    Returns void

slice

  • slice(begin: undefined | number, end: undefined | number): Column<T>
  • Parameters

    • Optional begin: undefined | number
    • Optional end: undefined | number

    Returns Column<T>

toArray

  • toArray(): T["TArray"]

Static concat

  • concat<T>(vectors: (AbstractVector<T> | AbstractVector<T>[])[]): Chunked<T>
  • Type parameters

    Parameters

    • Rest vectors: (AbstractVector<T> | AbstractVector<T>[])[]

    Returns Chunked<T>

Static flatten

  • flatten<T>(vectors: (AbstractVector<T> | AbstractVector<T>[])[]): AbstractVector<T>[]
  • Type parameters

    Parameters

    • Rest vectors: (AbstractVector<T> | AbstractVector<T>[])[]

    Returns AbstractVector<T>[]

Static new

  • new<T>(field: string | Field<T>, chunks: (AbstractVector<T> | AbstractVector<T>[])[]): Column<T>
  • new<T>(field: string | Field<T>, data: Data<T>, args: VectorCtorArgs<V<T>>): Column<T>
  • Type parameters

    Parameters

    • field: string | Field<T>
    • Rest chunks: (AbstractVector<T> | AbstractVector<T>[])[]

    Returns Column<T>

  • Type parameters

    Parameters

    • field: string | Field<T>
    • data: Data<T>
    • Rest args: VectorCtorArgs<V<T>>

    Returns Column<T>

Generated using TypeDoc