UNPKG

@uwdata/flechette

Version:

Fast, lightweight access to Apache Arrow data.

34 lines (33 loc) 865 B
/** * Abstract class for building a column data batch. */ export class BatchBuilder { constructor(type: any, ctx: any); type: any; ctx: any; batchClass: any; /** * Initialize the builder state. * @returns {this} This builder. */ init(): this; index: number; /** * Write a value to the builder. * @param {*} value * @param {number} index * @returns {boolean | void} */ set(value: any, index: number): boolean | void; /** * Returns a batch constructor options object. * Used internally to marshal batch data. * @returns {Record<string, any>} */ done(): Record<string, any>; /** * Returns a completed batch and reinitializes the builder state. * @returns {import('../../batch.js').Batch} */ batch(): import("../../batch.js").Batch<any>; }