UNPKG

hyparquet-writer

Version:

Parquet file writer for JavaScript

17 lines 758 B
/** * Write values using BYTE_STREAM_SPLIT encoding. * This encoding writes all first bytes of values, then all second bytes, etc. * Can improve compression for floating-point and fixed-width numeric data. * * @import {DecodedArray, ParquetType} from 'hyparquet' * @import {Writer} from '../src/types.js' * @param {Writer} writer * @param {DecodedArray} values * @param {ParquetType} type * @param {number | undefined} typeLength */ export function writeByteStreamSplit(writer: Writer, values: DecodedArray, type: ParquetType, typeLength: number | undefined): void; import type { Writer } from '../src/types.js'; import type { DecodedArray } from 'hyparquet'; import type { ParquetType } from 'hyparquet'; //# sourceMappingURL=splitstream.d.ts.map