pub struct PartitionedRowKey {
pub storage: StorageId,
pub partition: Partition,
pub row: RowNumber,
}Fields§
§storage: StorageId§partition: Partition§row: RowNumberImplementations§
Source§impl PartitionedRowKey
impl PartitionedRowKey
pub const TAG: KeyTag = KeyTag::PartitionedRow
pub fn encode(&self) -> EncodedKey
pub fn decode(key: &EncodedKey) -> Option<Self>
Source§impl PartitionedRowKey
impl PartitionedRowKey
pub fn new( storage: impl Into<StorageId>, partition: Partition, row: RowNumber, ) -> Self
pub fn encoded( storage: impl Into<StorageId>, partition: Partition, row: RowNumber, ) -> EncodedKey
pub fn storage_start(storage: impl Into<StorageId>) -> EncodedKey
pub fn storage_end(storage: impl Into<StorageId>) -> EncodedKey
pub fn storage_of(key: &EncodedKey) -> Option<StorageId>
pub fn full_scan(storage: impl Into<StorageId>) -> TaggedKeyBoundRange
pub fn scan_range( storage: impl Into<StorageId>, last: Option<&TaggedKey>, ) -> TaggedKeyBoundRange
pub fn partition_range( storage: impl Into<StorageId>, partition: Partition, ) -> TaggedKeyBoundRange
pub fn partition_scan_range( storage: impl Into<StorageId>, partition: Partition, last: Option<&TaggedKey>, ) -> TaggedKeyBoundRange
Trait Implementations§
Source§impl Clone for PartitionedRowKey
impl Clone for PartitionedRowKey
Source§fn clone(&self) -> PartitionedRowKey
fn clone(&self) -> PartitionedRowKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PartitionedRowKey
impl Debug for PartitionedRowKey
Source§impl From<PartitionedRowKey> for TaggedKey
impl From<PartitionedRowKey> for TaggedKey
Source§fn from(key: PartitionedRowKey) -> Self
fn from(key: PartitionedRowKey) -> Self
Converts to this type from the input type.
Source§impl From<PartitionedRowKey> for StoragePartitionedRowKey
impl From<PartitionedRowKey> for StoragePartitionedRowKey
Source§fn from(key: PartitionedRowKey) -> Self
fn from(key: PartitionedRowKey) -> Self
Converts to this type from the input type.
Source§impl Hash for PartitionedRowKey
impl Hash for PartitionedRowKey
Source§impl PartialEq for PartitionedRowKey
impl PartialEq for PartitionedRowKey
impl StructuralPartialEq for PartitionedRowKey
Auto Trait Implementations§
impl Freeze for PartitionedRowKey
impl RefUnwindSafe for PartitionedRowKey
impl Send for PartitionedRowKey
impl Sync for PartitionedRowKey
impl Unpin for PartitionedRowKey
impl UnsafeUnpin for PartitionedRowKey
impl UnwindSafe for PartitionedRowKey
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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