Struct rerun::external::re_data_store::DataStoreConfig
source · pub struct DataStoreConfig {
pub indexed_bucket_num_rows: u64,
pub store_insert_ids: bool,
pub enable_typecheck: bool,
}
Fields§
§indexed_bucket_num_rows: u64
The maximum number of rows in an indexed bucket before triggering a split. Does not apply to timeless data.
⚠ When configuring this threshold, do keep in mind that indexed tables are always scoped to a specific timeline and a specific entity.
This effectively puts an upper bound on the number of rows that need to be sorted when an indexed bucket gets out of order (e.g. because of new insertions or a GC pass). This is a tradeoff: less rows means faster sorts at the cost of more metadata overhead. In particular:
- Query performance scales inversely logarithmically to this number (i.e. it gets better the higher this number gets).
- GC performance scales quadratically with this number (i.e. it gets better the lower this number gets).
See Self::DEFAULT
for defaults.
store_insert_ids: bool
If enabled, will store the ID of the write request alongside the inserted data.
This can make inspecting the data within the store much easier, at the cost of an extra
u64
value stored per row.
Enabled by default in debug builds.
enable_typecheck: bool
If enabled, the store will throw an error if and when it notices that a single component type maps to more than one arrow datatype.
Enabled by default in debug builds.
Implementations§
source§impl DataStoreConfig
impl DataStoreConfig
pub const DEFAULT: DataStoreConfig = _
Trait Implementations§
source§impl Clone for DataStoreConfig
impl Clone for DataStoreConfig
source§fn clone(&self) -> DataStoreConfig
fn clone(&self) -> DataStoreConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataStoreConfig
impl Debug for DataStoreConfig
source§impl Default for DataStoreConfig
impl Default for DataStoreConfig
source§fn default() -> DataStoreConfig
fn default() -> DataStoreConfig
source§impl PartialEq for DataStoreConfig
impl PartialEq for DataStoreConfig
source§fn eq(&self, other: &DataStoreConfig) -> bool
fn eq(&self, other: &DataStoreConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl Eq for DataStoreConfig
impl StructuralPartialEq for DataStoreConfig
Auto Trait Implementations§
impl Freeze for DataStoreConfig
impl RefUnwindSafe for DataStoreConfig
impl Send for DataStoreConfig
impl Sync for DataStoreConfig
impl Unpin for DataStoreConfig
impl UnwindSafe for DataStoreConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.