Package io.deephaven.parquet.base
Class ParquetFileWriter
java.lang.Object
io.deephaven.parquet.base.ParquetFileWriter
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
ConstructorDescriptionParquetFileWriter
(URI dest, OutputStream destOutputStream, int targetPageSize, org.apache.parquet.bytes.ByteBufferAllocator allocator, org.apache.parquet.schema.MessageType type, String codecName, Map<String, String> extraMetaData, @NotNull ParquetMetadataFileWriter metadataFileWriter) -
Method Summary
Modifier and TypeMethodDescriptionaddRowGroup
(long size) void
close()
static void
serializeFooter
(org.apache.parquet.hadoop.metadata.ParquetMetadata footer, com.google.common.io.CountingOutputStream countingOutput)
-
Constructor Details
-
ParquetFileWriter
public ParquetFileWriter(URI dest, OutputStream destOutputStream, int targetPageSize, org.apache.parquet.bytes.ByteBufferAllocator allocator, org.apache.parquet.schema.MessageType type, String codecName, Map<String, String> extraMetaData, @NotNull @NotNull ParquetMetadataFileWriter metadataFileWriter) throws IOException- Throws:
IOException
-
-
Method Details
-
addRowGroup
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-