Expand description
The Rerun chunk store, implemented on top of Apache Arrow
using the arrow
crate.
This crate is an in-memory time series database for Rerun log data.
It is indexed by Entity path, component, timeline, and time.
It supports out-of-order insertions, and fast O(log(N))
queries.
- See
ChunkStore
for an overview of the core data structures. - See
ChunkStore::latest_at_relevant_chunks
andChunkStore::range_relevant_chunks
for the documentation of the public read APIs. - See
ChunkStore::insert_chunk
for the documentation of the public write APIs.
§Feature flags
deadlock_detection
— Enablesparking_lot
’s deadlock detection background thread.
Re-exports§
pub use re_chunk::Chunk;
pub use re_chunk::ChunkId;
pub use re_chunk::LatestAtQuery;
pub use re_chunk::RangeQuery;
pub use re_chunk::RangeQueryOptions;
pub use re_chunk::RowId;
pub use re_chunk::Span;
pub use re_log_types::AbsoluteTimeRange;
pub use re_log_types::TimeInt;
pub use re_log_types::TimeType;
pub use re_log_types::Timeline;
Modules§
Structs§
- Chunk
Compaction Report - Reports which
Chunk
s were merged into a newChunk
during a compaction. - Chunk
Store - A complete chunk store: covers all timelines, all entities, everything.
- Chunk
Store Chunk Stats - Stats about a collection of chunks.
- Chunk
Store Config - Chunk
Store Diff - Describes an atomic change in the Rerun
ChunkStore
: a chunk has been added or deleted. - Chunk
Store Event - The atomic unit of change in the Rerun
ChunkStore
. - Chunk
Store Generation - Incremented on each edit.
- Chunk
Store Handle - A ref-counted, inner-mutable handle to a
ChunkStore
. - Chunk
Store Stats - Chunk
Store Subscriber Handle - Column
Metadata - Component
Column Descriptor - This is an
ArrowField
that contains specific meta-data. - Garbage
Collection Options - Index
Column Descriptor - Describes a time column, such as
log_time
. - Query
Expression - Describes a complete query for Rerun’s dataframe API.
- View
Contents Selector - The view contents specify which subset of the database (i.e., which columns) the query runs on.
Enums§
- Chunk
Store Diff Kind - Is it an addition or a deletion?
- Chunk
Store Error - Column
Descriptor - Describes any kind of column.
- Garbage
Collection Target - Sparse
Fill Strategy - Specifies how null values should be filled in the returned dataframe.
- Static
Column Selection - Specifies whether static columns should be included in the query.
Traits§
- Chunk
Store Subscriber - A
ChunkStoreSubscriber
subscribes to atomic changes from allChunkStore
s throughChunkStoreEvent
s. - PerStore
Chunk Subscriber - A
ChunkStoreSubscriber
that is instantiated for each uniqueStoreId
.