pub struct StreamingConfigBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> StreamingConfigBuilder<S>
impl<S: State> StreamingConfigBuilder<S>
Sourcepub fn build(self) -> StreamingConfigwhere
S: IsComplete,
pub fn build(self) -> StreamingConfigwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn catalog_path(
self,
value: String,
) -> StreamingConfigBuilder<SetCatalogPath<S>>where
S::CatalogPath: IsUnset,
pub fn catalog_path(
self,
value: String,
) -> StreamingConfigBuilder<SetCatalogPath<S>>where
S::CatalogPath: IsUnset,
Required.
The path to the data catalog.
Sourcepub fn fs_protocol(
self,
value: String,
) -> StreamingConfigBuilder<SetFsProtocol<S>>where
S::FsProtocol: IsUnset,
pub fn fs_protocol(
self,
value: String,
) -> StreamingConfigBuilder<SetFsProtocol<S>>where
S::FsProtocol: IsUnset,
Required.
The fsspec filesystem protocol for the catalog.
Sourcepub fn flush_interval_ms(
self,
value: u64,
) -> StreamingConfigBuilder<SetFlushIntervalMs<S>>where
S::FlushIntervalMs: IsUnset,
pub fn flush_interval_ms(
self,
value: u64,
) -> StreamingConfigBuilder<SetFlushIntervalMs<S>>where
S::FlushIntervalMs: IsUnset,
Required.
The flush interval (milliseconds) for writing chunks.
Sourcepub fn replace_existing(
self,
value: bool,
) -> StreamingConfigBuilder<SetReplaceExisting<S>>where
S::ReplaceExisting: IsUnset,
pub fn replace_existing(
self,
value: bool,
) -> StreamingConfigBuilder<SetReplaceExisting<S>>where
S::ReplaceExisting: IsUnset,
Required.
If any existing feather files should be replaced.
Sourcepub fn rotation_config(
self,
value: RotationConfig,
) -> StreamingConfigBuilder<SetRotationConfig<S>>where
S::RotationConfig: IsUnset,
pub fn rotation_config(
self,
value: RotationConfig,
) -> StreamingConfigBuilder<SetRotationConfig<S>>where
S::RotationConfig: IsUnset,
Required.
Rotation configuration.
Auto Trait Implementations§
impl<S> Freeze for StreamingConfigBuilder<S>
impl<S> RefUnwindSafe for StreamingConfigBuilder<S>
impl<S> Send for StreamingConfigBuilder<S>
impl<S> Sync for StreamingConfigBuilder<S>
impl<S> Unpin for StreamingConfigBuilder<S>
impl<S> UnsafeUnpin for StreamingConfigBuilder<S>
impl<S> UnwindSafe for StreamingConfigBuilder<S>
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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