UNPKG

kepler.gl

Version:

kepler.gl is a webgl based application to visualize large scale location data in the browser

14 lines (13 loc) 501 B
import * as arrow from 'apache-arrow'; export interface DatabaseConnection { query(statement: string): Promise<arrow.Table>; insertArrowTable(arrowTable: arrow.Table, { name }: { name: string; }): Promise<void>; close(): any; } export interface DatabaseAdapter { connect(): Promise<DatabaseConnection>; registerFileText(name: string, text: string): Promise<void>; registerFileHandle(name: string, handle: any, protocol: number, directIO: boolean): Promise<void>; }