pub struct ColumnGroup {
pub version: u32,
pub model: String,
pub product: String,
pub run_time: String,
pub run_time_seconds: i64,
pub profile: String,
pub grid: Grid,
pub unit_seconds: u32,
pub offsets: Vec<u16>,
pub arrays: Vec<ColumnArray>,
pub block_json: String,
}Expand description
A column store’s group document: the xue_columns block and every array
document it consolidates, validated against one another.
Fields§
§version: u32§model: String§product: String§run_time: String§run_time_seconds: i64run_time in Unix seconds.
profile: String§grid: Grid§unit_seconds: u32The store’s axis, in unit_seconds, strictly ascending.
offsets: Vec<u16>§arrays: Vec<ColumnArray>§block_json: StringThe xue_columns block as compact JSON.
Implementations§
Source§impl ColumnGroup
impl ColumnGroup
Sourcepub fn parse(text: &str) -> Result<ColumnGroup, DecodeError>
pub fn parse(text: &str) -> Result<ColumnGroup, DecodeError>
Parse a store root’s zarr.json: a Zarr v3 group whose attributes
carry xue_columns and no other branch’s block, at a version this
reader implements, with the consolidated document of every array the
block lists.
pub fn array(&self, id: &str) -> Result<&ColumnArray, DecodeError>
Trait Implementations§
Source§impl Clone for ColumnGroup
impl Clone for ColumnGroup
Auto Trait Implementations§
impl Forget for ColumnGroup
impl Freeze for ColumnGroupwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<u16>: Freeze,
PhantomData<ColumnArray>: Freeze,
impl Move for ColumnGroup
impl RefUnwindSafe for ColumnGroup
impl Send for ColumnGroupwhere
RawVecInner: Send,
impl Sync for ColumnGroupwhere
RawVecInner: Sync,
impl Unpin for ColumnGroup
impl UnsafeUnpin for ColumnGroupwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<u16>: UnsafeUnpin,
PhantomData<ColumnArray>: UnsafeUnpin,
impl UnwindSafe for ColumnGroupwhere
RawVecInner: UnwindSafe,
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more