pub struct RowShape(/* private fields */);Implementations§
Source§impl RowShape
impl RowShape
pub fn set_blob(&self, row: &mut impl RowBuilder, index: usize, value: &Blob)
pub fn set_blob_from_slice( &self, row: &mut impl RowBuilder, index: usize, bytes: &[u8], )
pub fn get_blob(&self, row: &[u8], index: usize) -> Blob
pub fn get_blob_slice<'a>(&self, row: &'a [u8], index: usize) -> &'a [u8] ⓘ
pub fn get_blob_slice_builder<'a>( &self, row: &'a impl RowBuilder, index: usize, ) -> &'a [u8] ⓘ
pub fn get_blob_slice_mut<'a>( &self, row: &'a mut [u8], index: usize, ) -> &'a mut [u8] ⓘ
pub fn try_get_blob(&self, row: &[u8], index: usize) -> Option<Blob>
Source§impl RowShape
impl RowShape
pub fn set_decimal( &self, row: &mut impl RowBuilder, index: usize, value: &Decimal, )
pub fn get_decimal(&self, row: &[u8], index: usize) -> Decimal
pub fn try_get_decimal(&self, row: &[u8], index: usize) -> Option<Decimal>
Source§impl RowShape
impl RowShape
pub fn set_dictionary_id( &self, row: &mut impl RowBuilder, index: usize, entry: &DictionaryEntryId, )
pub fn get_dictionary_id(&self, row: &[u8], index: usize) -> DictionaryEntryId
pub fn try_get_dictionary_id( &self, row: &[u8], index: usize, ) -> Option<DictionaryEntryId>
Source§impl RowShape
impl RowShape
pub fn set_values(&self, row: &mut impl RowBuilder, values: &[Value])
pub fn set_value(&self, row: &mut impl RowBuilder, index: usize, val: &Value)
pub fn get_value(&self, row: &[u8], index: usize) -> Value
Source§impl RowShape
impl RowShape
pub fn new(family: RowFamily, fields: Vec<RowShapeField>) -> Self
pub fn from_parts( family: RowFamily, fingerprint: RowShapeFingerprint, fields: Vec<RowShapeField>, ) -> Self
pub fn family(&self) -> RowFamily
pub fn header_size(&self) -> usize
pub fn fingerprint(&self) -> RowShapeFingerprint
pub fn fields(&self) -> &[RowShapeField]
pub fn field_count(&self) -> usize
pub fn find_field(&self, name: &str) -> Option<&RowShapeField>
pub fn find_field_index(&self, name: &str) -> Option<usize>
pub fn get_field(&self, index: usize) -> Option<&RowShapeField>
pub fn get_field_name(&self, index: usize) -> Option<&str>
pub fn field_names(&self) -> impl Iterator<Item = &str>
pub fn bitvec_size(&self) -> usize
pub fn data_offset(&self) -> usize
pub fn is_defined(&self, row: &[u8], index: usize) -> bool
pub fn time(&self, row: &[u8]) -> Option<DateTime>
pub fn created_at(&self, row: &[u8]) -> DateTime
pub fn updated_at(&self, row: &[u8]) -> DateTime
pub fn total_static_size(&self) -> usize
pub fn dynamic_section_start(&self) -> usize
pub fn dynamic_section_size(&self, row: &[u8]) -> usize
pub fn allocate_catalog(&self) -> EncodedCatalogRowBuilder
pub fn allocate_operator(&self) -> EncodedOperatorRowBuilder
pub fn allocate_pod(&self) -> EncodedPodRowBuilder
pub fn allocate_table(&self) -> EncodedTableRowBuilder
pub fn allocate_series(&self) -> EncodedSeriesRowBuilder
pub fn allocate_ringbuffer(&self) -> EncodedRingBufferRowBuilder
pub fn allocate_queue(&self) -> EncodedQueueRowBuilder
pub fn set_none(&self, row: &mut impl RowBuilder, index: usize)
pub fn testing(family: RowFamily, types: &[ValueType]) -> Self
Trait Implementations§
impl Eq for RowShape
Auto Trait Implementations§
impl Freeze for RowShape
impl RefUnwindSafe for RowShape
impl Send for RowShape
impl Sync for RowShape
impl Unpin for RowShape
impl UnsafeUnpin for RowShape
impl UnwindSafe for RowShape
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