pub struct ParquetEncryptionOptions {
pub file_decryption: Option<ConfigFileDecryptionProperties>,
pub file_encryption: Option<ConfigFileEncryptionProperties>,
pub factory_id: Option<String>,
pub factory_options: EncryptionFactoryOptions,
}
Expand description
Options for configuring Parquet Modular Encryption
To use Parquet encryption, you must enable the parquet_encryption
feature flag, as it is not activated by default.
Fields§
§file_decryption: Option<ConfigFileDecryptionProperties>
Optional file decryption properties
file_encryption: Option<ConfigFileEncryptionProperties>
Optional file encryption properties
factory_id: Option<String>
Identifier for the encryption factory to use to create file encryption and decryption properties.
Encryption factories can be registered in the runtime environment with
RuntimeEnv::register_parquet_encryption_factory
.
factory_options: EncryptionFactoryOptions
Any encryption factory specific options
Implementations§
Source§impl ParquetEncryptionOptions
impl ParquetEncryptionOptions
Sourcepub fn configure_factory(
&mut self,
factory_id: &str,
config: &impl ExtensionOptions,
)
pub fn configure_factory( &mut self, factory_id: &str, config: &impl ExtensionOptions, )
Specify the encryption factory to use for Parquet modular encryption, along with its configuration
Trait Implementations§
Source§impl Clone for ParquetEncryptionOptions
impl Clone for ParquetEncryptionOptions
Source§fn clone(&self) -> ParquetEncryptionOptions
fn clone(&self) -> ParquetEncryptionOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ParquetEncryptionOptions
impl Debug for ParquetEncryptionOptions
Source§impl Default for ParquetEncryptionOptions
impl Default for ParquetEncryptionOptions
Source§impl PartialEq for ParquetEncryptionOptions
impl PartialEq for ParquetEncryptionOptions
impl StructuralPartialEq for ParquetEncryptionOptions
Auto Trait Implementations§
impl Freeze for ParquetEncryptionOptions
impl RefUnwindSafe for ParquetEncryptionOptions
impl Send for ParquetEncryptionOptions
impl Sync for ParquetEncryptionOptions
impl Unpin for ParquetEncryptionOptions
impl UnwindSafe for ParquetEncryptionOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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