Package org.apache.iceberg.parquet
Class Parquet
java.lang.Object
org.apache.iceberg.parquet.Parquet
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
concat
(Iterable<File> inputFiles, File outputFile, int rowGroupSize, Schema schema, Map<String, String> metadata) Combines several files into onestatic Parquet.ReadBuilder
static Parquet.WriteBuilder
write
(EncryptedOutputFile file) static Parquet.WriteBuilder
write
(OutputFile file) static Parquet.DataWriteBuilder
writeData
(EncryptedOutputFile file) static Parquet.DataWriteBuilder
writeData
(OutputFile file) static Parquet.DeleteWriteBuilder
static Parquet.DeleteWriteBuilder
writeDeletes
(OutputFile file)
-
Method Details
-
write
-
write
-
writeData
-
writeData
-
writeDeletes
-
writeDeletes
-
read
-
concat
public static void concat(Iterable<File> inputFiles, File outputFile, int rowGroupSize, Schema schema, Map<String, String> metadata) throws IOExceptionCombines several files into one- Parameters:
inputFiles
- anIterable
of parquet files. The order of iteration determines the order in which content of files are read and written to theoutputFile
outputFile
- the output parquet file containing all the data frominputFiles
rowGroupSize
- the row group size to use when writing theoutputFile
schema
- the schema of the datametadata
- extraMetadata to write at the footer of theoutputFile
- Throws:
IOException
-