API reference¶
Every name below is importable directly from the top-level colstore package.
Opening & reading¶
Open an existing |
|
Memory-mapped columnar store with lazy, NumPy-style indexing. |
|
Lazy view of a single column produced by indexing with a string name. |
|
View of multiple columns produced by any non-string indexing. |
|
Return a summary of the file at |
|
Return the column schema of |
|
Summary of a colstore file's contents and on-disk shape. |
Writing¶
One-shot: write a single-record file and return an opened reader. |
|
Open a new file for streaming writes; fail if it already exists. |
|
Open a file for streaming writes, truncating any existing content. |
|
Open an existing file for append. |
|
Append-only writer for a colstore file. |
|
Collapse a multi-record file into a single-record file. |
Datasets & shards¶
One or more same-schema |
|
Combine several same-schema sources, lazily or into one written file. |
|
Append |
|
Open a streaming |
|
Streaming append: roll new shards into a dataset directory from a batch stream. |
Editing (frames)¶
A deferred editing view over an opened store's columns. |
|
A lazy reference to a column, for building filter expressions. |
Format interop¶
Convert files between colstore's format and another, one endpoint being |
|
Write a reader, dataset, or view to a file -- the function form of |
|
Write a colstore reader, dataset, or selection out to a ROOT file. |
|
Import a Parquet file into a |
|
Import a Feather file into a |
|
Import a JSON file into a |
|
Import a NumPy |
|
Import an HDF5 file into a |
|
Convert a ROOT source into a |
Configuration & diagnostics¶
Measure and select a near-optimal gather thread cap for this machine. |
|
Apply a cached cap if present, otherwise calibrate once and cache it. |
|
Set the package-wide thread count for multi-column reads. |
|
Return the package-wide default thread count for multi-column reads. |
|
Set the per-call gather thread cap ( |
|
Return the maximum OpenMP threads a single gather kernel call may use. |
|
Set the default gather backend ( |
|
Return the default gather backend for new |
|
Set the package-wide default |
|
Return the default |
|
Return the gather kernel's max thread count (1 without OpenMP). |
|
Return whether the compiled C++ gather extension is importable. |
|
Opt into |
Exceptions¶
Raised when a file does not match the expected colstore format. |
|
A query string or column expression is malformed or unsupported. |