public class ParquetColumnChunkPageWriteStore extends Object implements org.apache.parquet.column.page.PageWriteStore, Closeable
Constructor and Description |
---|
ParquetColumnChunkPageWriteStore(org.apache.parquet.hadoop.CodecFactory.BytesCompressor compressor,
org.apache.parquet.schema.MessageType schema,
int initialSlabSize,
int maxCapacityHint,
org.apache.parquet.bytes.ByteBufferAllocator allocator,
boolean pageWriteChecksumEnabled,
int columnIndexTruncateLength) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flushToFileWriter(org.apache.parquet.hadoop.ParquetFileWriter writer)
Writes the column chunks in the corresponding row group
|
org.apache.parquet.column.page.PageWriter |
getPageWriter(org.apache.parquet.column.ColumnDescriptor path) |
public ParquetColumnChunkPageWriteStore(org.apache.parquet.hadoop.CodecFactory.BytesCompressor compressor, org.apache.parquet.schema.MessageType schema, int initialSlabSize, int maxCapacityHint, org.apache.parquet.bytes.ByteBufferAllocator allocator, boolean pageWriteChecksumEnabled, int columnIndexTruncateLength)
public org.apache.parquet.column.page.PageWriter getPageWriter(org.apache.parquet.column.ColumnDescriptor path)
getPageWriter
in interface org.apache.parquet.column.page.PageWriteStore
public void flushToFileWriter(org.apache.parquet.hadoop.ParquetFileWriter writer) throws IOException
writer
- the parquet file writerIOException
- if the file can not be createdpublic void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2021 The Apache Software Foundation. All rights reserved.