pub struct ManifestWriterBuilder { /* private fields */ }Expand description
The builder used to create a ManifestWriter.
Implementations§
Source§impl ManifestWriterBuilder
impl ManifestWriterBuilder
Sourcepub fn new(
output: OutputFile,
snapshot_id: Option<i64>,
key_metadata: Option<Vec<u8>>,
schema: SchemaRef,
partition_spec: PartitionSpec,
) -> Self
pub fn new( output: OutputFile, snapshot_id: Option<i64>, key_metadata: Option<Vec<u8>>, schema: SchemaRef, partition_spec: PartitionSpec, ) -> Self
Create a new builder.
Sourcepub fn build_v1(self) -> ManifestWriter
pub fn build_v1(self) -> ManifestWriter
Build a ManifestWriter for format version 1.
Sourcepub fn build_v2_data(self) -> ManifestWriter
pub fn build_v2_data(self) -> ManifestWriter
Build a ManifestWriter for format version 2, data content.
Sourcepub fn build_v2_deletes(self) -> ManifestWriter
pub fn build_v2_deletes(self) -> ManifestWriter
Build a ManifestWriter for format version 2, deletes content.
Sourcepub fn build_v3_data(self) -> ManifestWriter
pub fn build_v3_data(self) -> ManifestWriter
Build a ManifestWriter for format version 2, data content.
Sourcepub fn build_v3_deletes(self) -> ManifestWriter
pub fn build_v3_deletes(self) -> ManifestWriter
Build a ManifestWriter for format version 3, deletes content.
Auto Trait Implementations§
impl Freeze for ManifestWriterBuilder
impl !RefUnwindSafe for ManifestWriterBuilder
impl Send for ManifestWriterBuilder
impl Sync for ManifestWriterBuilder
impl Unpin for ManifestWriterBuilder
impl !UnwindSafe for ManifestWriterBuilder
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> Downcast for Twhere
T: AsAny + ?Sized,
impl<T> Downcast for Twhere
T: AsAny + ?Sized,
§fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
Forward to the method defined on the type
Any.§fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
Forward to the method defined on the type
Any.§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