Skip to content

Commit 232d462

Browse files
committed
feat: export columnar pipeline and merge functions from public API
The columnar module (QMCB encode/decode, k-way merge, batch concat/slice) and merge module (kWayMerge, mergeQueryResults) were only used internally but never exported. This is inconsistent — the library exports every operator, spill backend, and format reader as composable building blocks. Users building custom DOs, custom merge logic, or working with the zero-copy columnar pipeline directly now have access to these functions.
1 parent 899aeba commit 232d462

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ export { HnswIndex, cosineDistance, l2DistanceSq, dotDistance } from "./hnsw.js"
4141
export type { HnswOptions } from "./hnsw.js";
4242
export { MaterializationCache, queryHashKey } from "./lazy.js";
4343
export type { MaterializationCacheOptions } from "./lazy.js";
44+
export {
45+
wasmResultToQMCB, encodeColumnarBatch, decodeColumnarBatch,
46+
columnarBatchToRows, columnarKWayMerge, concatColumnarBatches,
47+
sliceColumnarBatch, concatQMCBBatches, readColumnValue,
48+
DTYPE_F64, DTYPE_I64, DTYPE_UTF8, DTYPE_BOOL, DTYPE_F32VEC,
49+
DTYPE_NULL, DTYPE_I32, DTYPE_F32,
50+
} from "./columnar.js";
51+
export type { ColumnarColumn, ColumnarBatch } from "./columnar.js";
52+
export { kWayMerge, mergeQueryResults } from "./merge.js";
4453
export type { QueryExecutor, QueryDescriptor, ProgressInfo, CollectOptions, PipeStage } from "./client.js";
4554
export type {
4655
Env,

0 commit comments

Comments
 (0)