Chevron Down
Table of Contents
Chevron DownAPI Reference

ArrowLoader

The Arrow loaders are still under development.

The ArrowLoader parses the Apache Arrow columnar table format.

LoaderCharacteristic
File Extension.arrow
File TypeBinary
File FormatIPC: Encapsulated Message Format
Data FormatColumnar Table
Decoder TypeSynchronous
Worker Thread SupportYes
Streaming SupportYes

Usage

import {ArrowLoader, ArrowWorkerLoader} from '@loaders.gl/arrow';
import {load} from '@loaders.gl/core';

// Decode on main thread
const data = await load(url, ArrowLoader, options);
// Decode on worker thread
const data = await load(url, ArrowWorkerLoader, options);

Options

OptionTypeDefaultDescription