MCPcopy Create free account
hub / github.com/apache/arrow / GetColumnMetaEncryptor

Method GetColumnMetaEncryptor

cpp/src/parquet/page_index.cc:828–842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

826 }
827
828 std::shared_ptr<Encryptor> GetColumnMetaEncryptor(int row_group_ordinal,
829 int column_ordinal,
830 int8_t module_type) const {
831 std::shared_ptr<Encryptor> encryptor;
832 if (file_encryptor_ != nullptr) {
833 const auto column_path = schema_->Column(column_ordinal)->path()->ToDotString();
834 encryptor = file_encryptor_->GetColumnMetaEncryptor(column_path);
835 if (encryptor != nullptr) {
836 encryptor->UpdateAad(encryption::CreateModuleAad(
837 encryptor->file_aad(), module_type, row_group_ordinal, column_ordinal,
838 kNonPageOrdinal));
839 }
840 }
841 return encryptor;
842 }
843
844 template <typename Builder>
845 IndexLocations SerializeIndex(

Callers 1

Calls 4

ToDotStringMethod · 0.80
CreateModuleAadFunction · 0.50
pathMethod · 0.45
ColumnMethod · 0.45

Tested by

no test coverage detected