Struct lance_core::utils::address::RowAddress
source · pub struct RowAddress(/* private fields */);Implementations§
source§impl RowAddress
impl RowAddress
pub const FRAGMENT_SIZE: u64 = 4_294_967_296u64
pub const TOMBSTONE_FRAG: u32 = 4_294_967_295u32
pub const TOMBSTONE_ROW: u64 = 18_446_744_073_709_551_615u64
pub fn new_from_id(row_id: u64) -> Self
pub fn new_from_parts(fragment_id: u32, row_id: u32) -> Self
pub fn first_row(fragment_id: u32) -> Self
pub fn fragment_range(fragment_id: u32) -> Range<u64>
pub fn fragment_id(&self) -> u32
pub fn row_id(&self) -> u32
Trait Implementations§
source§impl Debug for RowAddress
impl Debug for RowAddress
source§impl Display for RowAddress
impl Display for RowAddress
source§impl From<RowAddress> for u64
impl From<RowAddress> for u64
source§fn from(row_id: RowAddress) -> Self
fn from(row_id: RowAddress) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RowAddress
impl RefUnwindSafe for RowAddress
impl Send for RowAddress
impl Sync for RowAddress
impl Unpin for RowAddress
impl UnwindSafe for RowAddress
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