Package org.apache.parquet.hadoop.util
Class ColumnMasker
- java.lang.Object
-
- org.apache.parquet.hadoop.util.ColumnMasker
-
public class ColumnMasker extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classColumnMasker.MaskMode
-
Constructor Summary
Constructors Constructor Description ColumnMasker()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Set<org.apache.parquet.hadoop.metadata.ColumnPath>convertToColumnPaths(List<String> cols)voidprocessBlocks(CompressionConverter.TransParquetFileReader reader, ParquetFileWriter writer, ParquetMetadata meta, org.apache.parquet.schema.MessageType schema, List<String> paths, ColumnMasker.MaskMode maskMode)
-
-
-
Method Detail
-
processBlocks
public void processBlocks(CompressionConverter.TransParquetFileReader reader, ParquetFileWriter writer, ParquetMetadata meta, org.apache.parquet.schema.MessageType schema, List<String> paths, ColumnMasker.MaskMode maskMode) throws IOException
- Parameters:
reader- Reader of source filewriter- Writer of destination filemeta- Metadata of source fileschema- Schema of source filepaths- Column Paths need to be maskedmaskMode- Mode to mask- Throws:
IOException
-
-