re_chunk/
lib.rs

1//! A chunk of Rerun data, encoded using Arrow. Used for logging, transport, storage and compute.
2//!
3//! ## Feature flags
4#![doc = document_features::document_features!()]
5//!
6
7mod builder;
8mod chunk;
9mod helpers;
10mod iter;
11mod latest_at;
12mod merge;
13mod migration;
14mod range;
15mod shuffle;
16mod slice;
17mod transport;
18
19#[cfg(not(target_arch = "wasm32"))]
20mod batcher;
21
22pub use self::builder::{ChunkBuilder, TimeColumnBuilder};
23pub use self::chunk::{
24    Chunk, ChunkComponents, ChunkError, ChunkResult, TimeColumn, TimeColumnError,
25};
26pub use self::helpers::{ChunkShared, UnitChunkShared};
27pub use self::iter::{
28    ChunkComponentIter, ChunkComponentIterItem, ChunkComponentSlicer, ChunkIndicesIter,
29};
30pub use self::latest_at::LatestAtQuery;
31pub use self::range::{RangeQuery, RangeQueryOptions};
32
33#[cfg(not(target_arch = "wasm32"))]
34pub use self::batcher::{
35    ChunkBatcher, ChunkBatcherConfig, ChunkBatcherError, ChunkBatcherResult, PendingRow,
36};
37
38// Re-exports
39
40#[doc(no_inline)]
41pub use arrow::array::Array as ArrowArray;
42#[doc(no_inline)]
43pub use re_log_types::{EntityPath, TimeInt, TimePoint, Timeline, TimelineName};
44#[doc(no_inline)]
45pub use re_types_core::{ArchetypeFieldName, ArchetypeName, ChunkId, ComponentName, RowId};
46
47pub mod external {
48    pub use arrow;
49    pub use nohash_hasher;
50
51    pub use re_byte_size;
52    pub use re_log_types;
53
54    #[cfg(not(target_arch = "wasm32"))]
55    pub use crossbeam;
56}