colstore.ColStoreInfo¶
- class colstore.ColStoreInfo(path, format_version, n_rows, n_records, columns, file_size)[source]¶
Bases:
objectSummary of a colstore file’s contents and on-disk shape.
Returned by
info(). Fields are populated from the file header without scanning any record bodies, so the call is fast even on large files.- Parameters:
- path¶
Filesystem path the info was read from.
- Type:
- n_records¶
Number of records in the file. A one-shot write or a fully compacted file has
n_records == 1.- Type:
- columns¶
Schema: one
{"name": ..., "dtype": ..., "encoding": ..., "nullable": ...}per column, in declaration order.