kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
19 lines (18 loc) • 942 B
TypeScript
import { Filter, Field, FilterDatasetOpt } from '@kepler.gl/types';
import { DataContainerInterface } from './data-container-interface';
export interface KeplerTableModel<K, L, F extends Field = any> {
id: string;
fields: F[];
getColumnFieldIdx(columnName: string): number;
filterTable(filters: Filter[], layers: L[], opt?: FilterDatasetOpt): K;
getColumnFilterProps(columnName: string): Field['filterProps'] | null | undefined;
dataContainer: DataContainerInterface;
filterTableCPU(filters: Filter[], layers: L[]): K;
getColumnField(fieldName: string): Field | undefined;
gpuFilter: {
filterRange: number[][];
filterValueUpdateTriggers: any;
filterValueAccessor: (dc: DataContainerInterface) => (getIndex?: (any: any) => number, getData?: (dc_: DataContainerInterface, d: any, fieldIndex: number) => any) => (d: any) => (number | number[])[];
};
filteredIndex: number[];
}