pub(crate) struct MetadataParser {
file_decryption_properties: Option<Arc<FileDecryptionProperties>>,
}
Expand description
API for decoding metadata that may be encrypted
Fields§
§file_decryption_properties: Option<Arc<FileDecryptionProperties>>
Implementations§
Source§impl MetadataParser
impl MetadataParser
pub(crate) fn new() -> Self
pub(crate) fn with_file_decryption_properties( self, file_decryption_properties: Option<Arc<FileDecryptionProperties>>, ) -> Self
pub(crate) fn decode_metadata( &self, buf: &[u8], encrypted_footer: bool, ) -> Result<ParquetMetaData>
Trait Implementations§
Source§impl Debug for MetadataParser
impl Debug for MetadataParser
Source§impl Default for MetadataParser
impl Default for MetadataParser
Source§fn default() -> MetadataParser
fn default() -> MetadataParser
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MetadataParser
impl !RefUnwindSafe for MetadataParser
impl Send for MetadataParser
impl Sync for MetadataParser
impl Unpin for MetadataParser
impl !UnwindSafe for MetadataParser
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
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