pub struct TableSchema {
pub column_count: u16,
pub root: StructSchema,
}Expand description
Schema of a ColumnTable (root RecordColumns or a StructDict).
Fields§
§column_count: u16§root: StructSchemaImplementations§
Source§impl TableSchema
impl TableSchema
pub fn encode(&self, out: &mut Vec<u8>)
pub fn decode(c: &mut Cursor<'_>) -> Result<Self, FormatError>
Sourcepub fn physical_column_kinds(
&self,
dict_count: usize,
) -> Result<Vec<PhysicalColKind>, FormatError>
pub fn physical_column_kinds( &self, dict_count: usize, ) -> Result<Vec<PhysicalColKind>, FormatError>
Resolve and validate the physical column kind for every col_id in 0..column_count.
Trait Implementations§
Source§impl Clone for TableSchema
impl Clone for TableSchema
Source§impl Debug for TableSchema
impl Debug for TableSchema
impl Eq for TableSchema
Source§impl PartialEq for TableSchema
impl PartialEq for TableSchema
impl StructuralPartialEq for TableSchema
Auto Trait Implementations§
impl Forget for TableSchema
impl Freeze for TableSchema
impl Move for TableSchema
impl RefUnwindSafe for TableSchema
impl Send for TableSchema
impl Sync for TableSchema
impl Unpin for TableSchema
impl UnsafeUnpin for TableSchemawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<StructField>: UnsafeUnpin,
PhantomData<DictGroup>: UnsafeUnpin,
impl UnwindSafe for TableSchema
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