| 150 | } |
| 151 | |
| 152 | FileEncryptionProperties::Builder* FileEncryptionProperties::Builder::encrypted_columns( |
| 153 | ColumnPathToEncryptionPropertiesMap encrypted_columns) { |
| 154 | if (encrypted_columns.size() == 0) return this; |
| 155 | |
| 156 | if (encrypted_columns_.size() != 0) |
| 157 | throw ParquetException("Column properties already set"); |
| 158 | |
| 159 | encrypted_columns_ = std::move(encrypted_columns); |
| 160 | return this; |
| 161 | } |
| 162 | |
| 163 | FileEncryptionProperties::Builder* FileEncryptionProperties::Builder::aad_prefix( |
| 164 | std::string aad_prefix) { |