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) |
| 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)
public org.apache.parquet.column.page.PageWriter getPageWriter(org.apache.parquet.column.ColumnDescriptor path)
getPageWriter in interface org.apache.parquet.column.page.PageWriteStorepublic 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 Closeableclose in interface AutoCloseableCopyright © 2017 The Apache Software Foundation. All rights reserved.