Crate rerun::dataframe::external::re_chunk_store
source · Expand description
The Rerun chunk store, implemented on top of Apache Arrow
using the arrow2
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.
Modules§
Structs§
- Dense arrow-based storage of N rows of multi-component multi-temporal data for a specific entity.
- A unique ID for a
crate::Chunk
. - A complete chunk store: covers all timelines, all entities, everything.
- Stats about a collection of chunks.
- Describes an atomic change in the Rerun
ChunkStore
: a chunk has been added or deleted. - The atomic unit of change in the Rerun
ChunkStore
. - Incremented on each edit.
- A ref-counted, inner-mutable handle to a
ChunkStore
. - Describes a data/component column, such as
Position3D
. - Select a component based on its
EntityPath
andComponentName
. - A query at a given time, for a given timeline.
- Describes a complete query for Rerun’s dataframe API.
- A query over a time range, for a given timeline.
- A unique ID for a row’s worth of data within a chunk.
- Describes a time column, such as
log_time
. - Select a time column.
- A 64-bit number describing either nanoseconds, sequence numbers or fully static data.
- A time frame/space, e.g.
log_time
orframe_nr
, coupled with the type of time it keeps. - A
ChunkShared
that is guaranteed to always contain a single row’s worth of data.
Enums§
- Is it an addition or a deletion?
- Describes a column selection to return as part of a query.
- Specifies how null values should be filled in the returned dataframe.
- How to handle version mismatches during decoding.
Traits§
Type Aliases§
- A simple type alias for an
Arc<Chunk>
. - The view contents specify which subset of the database (i.e., which columns) the query runs on, expressed as a set of
EntityPath
s and their associatedComponentName
s.