Skip to main content

ColumnOptions

Struct ColumnOptions 

Source
pub struct ColumnOptions {
    pub block_size: u64,
    pub memory_budget: u64,
    pub read_chunk_size: u64,
    pub share_identical_time: bool,
}
Expand description

Fields§

§block_size: u64

Target payload size of one data block, in bytes. Each block holds a whole number of records; a signal larger than this is split into several equally sized blocks written back to back and listed by a ##DL block. Default DEFAULT_BLOCK_SIZE (4 MiB).

§memory_budget: u64

Upper bound for the per-channel write buffers in bytes (each channel gets memory_budget / channels_in_group, at least 4 KiB and at most one block). Default DEFAULT_MEMORY_BUDGET (64 MiB).

Because of the 4 KiB floor, a data group with more than memory_budget / 4096 channels uses more than memory_budget (4 KiB per channel).

§read_chunk_size: u64

Size of each sequential read from the source. Default 4 MiB.

§share_identical_time: bool

Merge time channels of different source groups when they hold exactly the same raw timestamps (same layout, conversion and bytes), so all their signals reference a single time group. Costs one extra read of the candidate groups’ data. Default true.

Trait Implementations§

Source§

impl Clone for ColumnOptions

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ColumnOptions

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ColumnOptions

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.