Crate re_chunk_store

Crate re_chunk_store 

Source
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.

§Feature flags

  • deadlock_detection — Enables parking_lot’s deadlock detection background thread.

Re-exports§

pub use re_chunk::Chunk;
pub use re_chunk::ChunkId;
pub use re_chunk::ChunkShared;
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_chunk::UnitChunkShared;
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§

external

Structs§

ChunkCompactionReport
Reports which Chunks were merged into a new Chunk during a compaction.
ChunkStore
A complete chunk store: covers all timelines, all entities, everything.
ChunkStoreChunkStats
Stats about a collection of chunks.
ChunkStoreConfig
ChunkStoreDiff
Describes an atomic change in the Rerun ChunkStore: a chunk has been added or deleted.
ChunkStoreEvent
The atomic unit of change in the Rerun ChunkStore.
ChunkStoreGeneration
Incremented on each edit.
ChunkStoreHandle
A ref-counted, inner-mutable handle to a ChunkStore.
ChunkStoreStats
ChunkStoreSubscriberHandle
ColumnMetadata
ComponentColumnDescriptor
This is an ArrowField that contains specific meta-data.
GarbageCollectionOptions
IndexColumnDescriptor
Describes a time column, such as log_time.
QueryExpression
Describes a complete query for Rerun’s dataframe API.
ViewContentsSelector
The view contents specify which subset of the database (i.e., which columns) the query runs on.

Enums§

ChunkStoreDiffKind
Is it an addition or a deletion?
ChunkStoreError
ColumnDescriptor
Describes any kind of column.
GarbageCollectionTarget
SparseFillStrategy
Specifies how null values should be filled in the returned dataframe.
StaticColumnSelection
Specifies whether static columns should be included in the query.

Traits§

ChunkStoreSubscriber
A ChunkStoreSubscriber subscribes to atomic changes from all ChunkStores through ChunkStoreEvents.
PerStoreChunkSubscriber
A ChunkStoreSubscriber that is instantiated for each unique StoreId.

Type Aliases§

ChunkStoreResult
Index
IndexRange
IndexValue