Class ArrowTile

A Tile is, essentially, code to create an Arrow RecordBatch and to associate metadata with it, in the context of a larger dataset.

Hierarchy

Constructors

Properties

__schema?: schema_entry[]
_batch?: RecordBatch<any>
_buffer_manager?: TileBufferManager<ArrowTile>
_children: ArrowTile[] = []
_download?: Promise<void>
_extent?: {
    x: MinMax;
    y: MinMax;
}

Type declaration

  • x: MinMax
  • y: MinMax
_highest_known_ix?: number
_max_ix?: number
_min_ix?: number
batch_num: number
codes: [number, number, number]
dataset: Dataset<Tile>
download_state: string
full_tab: Table<any>
key: string
max_ix: number = -1
numeric_id: number
parent: ArrowTile
promise: Promise<void>
ready: boolean

Accessors

  • get _schema(): number[] | schema_entry[]
  • Returns number[] | schema_entry[]

  • get children(): this[]
  • Returns this[]

  • get highest_known_ix(): number
  • Returns number

  • set highest_known_ix(val: number): void
  • Parameters

    • val: number

    Returns void

  • get min_ix(): number
  • Returns number

  • get record_batch(): RecordBatch<any>
  • Returns RecordBatch<any>

Methods

  • Returns IterableIterator<StructRowProxy<any>>

  • Parameters

    • name: string
    • data: Float32Array

    Returns RecordBatch<any>

  • Returns

    A promise that includes the callback and all previous promises.

    Parameters

    • callback: (() => Promise<void>)

      A function (possibly async) to execute before this cell is ready.

        • (): Promise<void>
        • Returns Promise<void>

    Returns Promise<void>

  • Parameters

    • callback: ((p: StructRowProxy<any>) => void)
        • (p: StructRowProxy<any>): void
        • Parameters

          • p: StructRowProxy<any>

          Returns void

    Returns void

  • Parameters

    • colname: string

    Returns Promise<Vector<any>>

  • Parameters

    Returns Iterable<StructRowProxy<any>>

  • Returns Promise<number[] | schema_entry[]>

  • Returns Generator<StructRowProxy<any>, void, unknown>

Generated using TypeDoc