colstore.appender

colstore.appender(directory, *, name='shard_{index:05d}.cstore', shard_size=None, statistics=False)[source]

Open a streaming Appender for the dataset at directory.

Holds the single-writer lock for the session. shard_size rolls a new shard when the buffer reaches that many rows, that byte budget (a string like "512 MiB"), or – when None – only on an explicit Appender.flush() or on close. name and statistics are as for append().

Parameters:
Return type:

Appender