pub struct StructuredReaderBuilder { /* private fields */ }Expand description
Builder for a structured snapshot reader with runtime schema wiring.
Implementations§
Source§impl StructuredReaderBuilder
impl StructuredReaderBuilder
pub fn new(config: ReaderConfig) -> Self
pub fn merge_operator_resolver( self, resolver: Arc<dyn MergeOperatorResolver>, ) -> Self
Sourcepub fn register_schema_transform<F, T>(
self,
transform_type: impl Into<String>,
factory: F,
) -> Result<Self>
pub fn register_schema_transform<F, T>( self, transform_type: impl Into<String>, factory: F, ) -> Result<Self>
Register a factory for raw single-column transform specifications.
pub fn open(self, global_snapshot_id: u64) -> Result<StructuredReader>
Sourcepub fn open_from_global_snapshot(
self,
global_snapshot: GlobalSnapshotManifest,
) -> Result<StructuredReader>
pub fn open_from_global_snapshot( self, global_snapshot: GlobalSnapshotManifest, ) -> Result<StructuredReader>
Opens a fixed view from an already resolved global snapshot without reloading its manifest.
pub fn open_current(self) -> Result<StructuredReader>
Auto Trait Implementations§
impl !RefUnwindSafe for StructuredReaderBuilder
impl !UnwindSafe for StructuredReaderBuilder
impl Freeze for StructuredReaderBuilder
impl Send for StructuredReaderBuilder
impl Sync for StructuredReaderBuilder
impl Unpin for StructuredReaderBuilder
impl UnsafeUnpin for StructuredReaderBuilder
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
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