pub struct StructuredScanSplit {
pub shard: ShardSnapshotRef,
pub start: Option<Vec<u8>>,
pub end: Option<Vec<u8>>,
pub start_bucket: Option<u16>,
pub start_key_exclusive: Option<Vec<u8>>,
pub end_bucket: Option<u16>,
pub end_key_inclusive: Option<Vec<u8>>,
}Expand description
Structured version of a distributed scan split.
Fields§
§shard: ShardSnapshotRef§start: Option<Vec<u8>>§end: Option<Vec<u8>>§start_bucket: Option<u16>§start_key_exclusive: Option<Vec<u8>>§end_bucket: Option<u16>§end_key_inclusive: Option<Vec<u8>>Implementations§
Source§impl StructuredScanSplit
impl StructuredScanSplit
pub fn split_after( &self, bucket: u16, key_inclusive: Vec<u8>, ) -> Result<StructuredScanSplitPartition>
pub fn create_scanner_without_options( &self, config: Config, ) -> Result<StructuredScanSplitScanner>
pub fn create_scanner( &self, config: Config, options: &StructuredScanOptions, ) -> Result<StructuredScanSplitScanner>
pub fn create_scanner_with_resolver_without_options( &self, config: Config, resolver: Arc<dyn MergeOperatorResolver>, ) -> Result<StructuredScanSplitScanner>
pub fn create_scanner_with_resolver( &self, config: Config, resolver: Arc<dyn MergeOperatorResolver>, options: &StructuredScanOptions, ) -> Result<StructuredScanSplitScanner>
Trait Implementations§
Source§impl Clone for StructuredScanSplit
impl Clone for StructuredScanSplit
Source§impl Debug for StructuredScanSplit
impl Debug for StructuredScanSplit
Source§impl<'de> Deserialize<'de> for StructuredScanSplit
impl<'de> Deserialize<'de> for StructuredScanSplit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ScanSplit> for StructuredScanSplit
impl From<ScanSplit> for StructuredScanSplit
Source§impl From<StructuredScanSplit> for ScanSplit
impl From<StructuredScanSplit> for ScanSplit
Source§fn from(value: StructuredScanSplit) -> Self
fn from(value: StructuredScanSplit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StructuredScanSplit
impl RefUnwindSafe for StructuredScanSplit
impl Send for StructuredScanSplit
impl Sync for StructuredScanSplit
impl Unpin for StructuredScanSplit
impl UnsafeUnpin for StructuredScanSplit
impl UnwindSafe for StructuredScanSplit
Blanket Implementations§
impl<T> Allocation for T
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,
impl<T> DebugAny for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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