Commit ce21a48 1 parent afe6658 commit ce21a48 Copy full SHA for ce21a48
File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,10 @@ use crate::encryption::decryption::CryptoContext;
72
72
#[ cfg( feature = "object_store" ) ]
73
73
pub use store:: * ;
74
74
75
+ #[ cfg( feature = "encryption" ) ]
76
+ use crate :: encryption:: decryption:: { FileDecryptionProperties } ;
77
+ use crate :: encryption:: decryption:: FileDecryptor ;
78
+
75
79
/// The asynchronous interface used by [`ParquetRecordBatchStream`] to read parquet files
76
80
///
77
81
/// Notes:
Original file line number Diff line number Diff line change @@ -303,6 +303,14 @@ impl ParquetMetaData {
303
303
pub ( crate ) fn set_offset_index ( & mut self , index : Option < ParquetOffsetIndex > ) {
304
304
self . offset_index = index;
305
305
}
306
+
307
+
308
+ #[ cfg( feature = "encryption" ) ]
309
+ /// Set File decryptor
310
+ pub ( crate ) fn set_file_decryptor ( & mut self , decryptor : Option < FileDecryptor > ) {
311
+ self . file_decryptor = decryptor;
312
+ }
313
+
306
314
}
307
315
308
316
/// A builder for creating / manipulating [`ParquetMetaData`]
You can’t perform that action at this time.
0 commit comments