Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UnionVector<T>

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

  • Parameters

    • data: Data<T>
    • Default value view: View<T> = <any> (data.type.mode === UnionMode.Sparse ? new UnionView<SparseUnion>(data as Data<SparseUnion>) : new DenseUnionView(data as Data<DenseUnion>))

    Returns UnionVector

Properties

Protected _childData

_childData: Data<any>[]

data

data: Data<T>

length

length: number

type

type: T

view

view: NestedView<T>

Accessors

__@toStringTag

  • get __@toStringTag(): string

childData

  • get childData(): Data<any>[]

nullBitmap

  • get nullBitmap(): any

nullCount

  • get nullCount(): any

Methods

__@iterator

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

acceptTypeVisitor

acceptVectorVisitor

clone

  • clone<R>(data: Data<R>, view?: View<R>): this
  • Type parameters

    • R: T

    Parameters

    • data: Data<R>
    • Default value view: View<R> = this.view.clone(data) as any

    Returns this

concat

  • concat(...others: Vector<T>[]): this

get

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

getChildAt

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

indexOf

  • indexOf(value: T["TValue"]): number

isValid

  • isValid(index: number): boolean

set

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

slice

  • slice(begin?: undefined | number, end?: undefined | number): this
  • Parameters

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

    Returns this

toArray

toJSON

  • toJSON(): any

Static concat

Static create

Generated using TypeDoc