pub struct FileScanTaskDeleteFile { /* private fields */ }Expand description
A task to scan part of file.
Implementations§
Source§impl FileScanTaskDeleteFile
impl FileScanTaskDeleteFile
Sourcepub fn builder() -> FileScanTaskDeleteFileBuilder<((), (), (), (), (), (), (), (), (), (), ())>
pub fn builder() -> FileScanTaskDeleteFileBuilder<((), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building FileScanTaskDeleteFile.
On the builder, call .file_path(...), .file_size_in_bytes(...), .file_type(...), .file_format(...), .partition_spec_id(...), .equality_ids(...)(optional), .referenced_data_file(...)(optional), .content_offset(...)(optional), .content_size_in_bytes(...)(optional), .record_count(...)(optional), .key_metadata(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of FileScanTaskDeleteFile.
Source§impl FileScanTaskDeleteFile
impl FileScanTaskDeleteFile
Sourcepub fn file_size_in_bytes(&self) -> u64
pub fn file_size_in_bytes(&self) -> u64
Returns the total size of the delete file in bytes.
Sourcepub fn file_type(&self) -> DataContentType
pub fn file_type(&self) -> DataContentType
Returns the delete file content type.
Sourcepub fn file_format(&self) -> DataFileFormat
pub fn file_format(&self) -> DataFileFormat
Returns the delete file format.
Sourcepub fn partition_spec_id(&self) -> i32
pub fn partition_spec_id(&self) -> i32
Returns the partition spec id.
Sourcepub fn equality_ids(&self) -> Option<&[i32]>
pub fn equality_ids(&self) -> Option<&[i32]>
Returns the equality field ids for an equality delete file.
Sourcepub fn referenced_data_file(&self) -> Option<&str>
pub fn referenced_data_file(&self) -> Option<&str>
Returns the referenced data file path.
Sourcepub fn content_offset(&self) -> Option<u64>
pub fn content_offset(&self) -> Option<u64>
Returns the deletion vector blob offset.
Sourcepub fn content_size_in_bytes(&self) -> Option<u64>
pub fn content_size_in_bytes(&self) -> Option<u64>
Returns the deletion vector blob size in bytes.
Sourcepub fn record_count(&self) -> Option<u64>
pub fn record_count(&self) -> Option<u64>
Returns the number of records in the delete file.
Sourcepub fn key_metadata(&self) -> Option<&[u8]>
pub fn key_metadata(&self) -> Option<&[u8]>
Returns the key metadata for the encrypted delete file.
Trait Implementations§
Source§impl Clone for FileScanTaskDeleteFile
impl Clone for FileScanTaskDeleteFile
Source§fn clone(&self) -> FileScanTaskDeleteFile
fn clone(&self) -> FileScanTaskDeleteFile
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FileScanTaskDeleteFile
impl Debug for FileScanTaskDeleteFile
Source§impl<'de> Deserialize<'de> for FileScanTaskDeleteFile
impl<'de> Deserialize<'de> for FileScanTaskDeleteFile
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>,
Source§impl From<FileScanTaskDeleteFile> for Result<FileScanTaskDeleteFile>
impl From<FileScanTaskDeleteFile> for Result<FileScanTaskDeleteFile>
Source§fn from(task: FileScanTaskDeleteFile) -> Self
fn from(task: FileScanTaskDeleteFile) -> Self
Source§impl PartialEq for FileScanTaskDeleteFile
impl PartialEq for FileScanTaskDeleteFile
Source§impl Serialize for FileScanTaskDeleteFile
impl Serialize for FileScanTaskDeleteFile
impl StructuralPartialEq for FileScanTaskDeleteFile
Auto Trait Implementations§
impl Freeze for FileScanTaskDeleteFile
impl RefUnwindSafe for FileScanTaskDeleteFile
impl Send for FileScanTaskDeleteFile
impl Sync for FileScanTaskDeleteFile
impl Unpin for FileScanTaskDeleteFile
impl UnsafeUnpin for FileScanTaskDeleteFile
impl UnwindSafe for FileScanTaskDeleteFile
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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,
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,
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> ⓘ
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> ⓘ
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