pub struct FileScanTaskDeleteFile {
pub file_path: String,
pub file_size_in_bytes: u64,
pub file_type: DataContentType,
pub partition_spec_id: i32,
pub equality_ids: Option<Vec<i32>>,
pub key_metadata: Option<Box<[u8]>>,
}Expand description
A task to scan part of file.
Fields§
§file_path: StringThe delete file path
file_size_in_bytes: u64The total size of the delete file in bytes, from the manifest entry.
file_type: DataContentTypedelete file type
partition_spec_id: i32partition id
equality_ids: Option<Vec<i32>>equality ids for equality deletes (null for anything other than equality-deletes)
key_metadata: Option<Box<[u8]>>Key metadata for encrypted delete files (Parquet Modular Encryption).
When present, the reader uses this to build FileDecryptionProperties.
Same plaintext-DEK trust boundary as FileScanTask::key_metadata:
this is serialized into the scan plan and crosses the planner -> worker
channel in the clear for the standard encryption scheme.
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(...), .partition_spec_id(...), .equality_ids(...)(optional), .key_metadata(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of FileScanTaskDeleteFile.
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 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