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
ChunkStorefor an overview of the core data structures. - See
ChunkStore::latest_at_relevant_chunksandChunkStore::range_relevant_chunksfor the documentation of the public read APIs. - See
ChunkStore::insert_chunkfor 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;pub use re_sorbet::ColumnDescriptor;pub use re_sorbet::ComponentColumnDescriptor;pub use re_sorbet::IndexColumnDescriptor;
Modules§
Structs§
- Chunk
Component Meta - Per-component information for chunks.
- Chunk
Meta - Chunk meta originating from either a virtual or physical chunk.
- 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 Addition - Chunk
Store Diff Deletion - An atomic deletion event.
- Chunk
Store Diff Virtual Addition - 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 - Garbage
Collection Options - Missing
Chunk Reporter - Used to report if we missed some chunks.
- Queried
Chunk IdTracker - This keeps track of all missing virtual
ChunkIds and all used physicalChunkIds. - Query
Expression - Describes a complete query for Rerun’s dataframe API.
- Query
Results - The results of a latest-at and/or range relevancy query.
- View
Contents Selector - The view contents specify which subset of the database (i.e., which columns) the query runs on.
Enums§
- Chunk
Direct Lineage - How a chunk relates its direct ancestor(s).
- Chunk
Direct Lineage Report - How a chunk relates its direct ancestor(s).
- Chunk
Store Diff - Describes an atomic change in the Rerun
ChunkStore: - Chunk
Store Error - Chunk
Tracking Mode - What to do when a virtual chunk is missing from the store.
- Extract
Properties Error - 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
ChunkStoreSubscribersubscribes to atomic changes from allChunkStores throughChunkStoreEvents. - PerStore
Chunk Subscriber - A
ChunkStoreSubscriberthat is instantiated for each uniqueStoreId.