Package org.apache.parquet.hadoop
Class ColumnChunkPageWriteStore
- java.lang.Object
-
- org.apache.parquet.hadoop.ColumnChunkPageWriteStore
-
- All Implemented Interfaces:
PageWriteStore,BloomFilterWriteStore
@Private public class ColumnChunkPageWriteStore extends Object implements PageWriteStore, BloomFilterWriteStore
-
-
Constructor Summary
Constructors Constructor Description ColumnChunkPageWriteStore(CodecFactory.BytesCompressor compressor, MessageType schema, org.apache.parquet.bytes.ByteBufferAllocator allocator, int columnIndexTruncateLength)ColumnChunkPageWriteStore(CodecFactory.BytesCompressor compressor, MessageType schema, org.apache.parquet.bytes.ByteBufferAllocator allocator, int columnIndexTruncateLength, boolean pageWriteChecksumEnabled)ColumnChunkPageWriteStore(CodecFactory.BytesCompressor compressor, MessageType schema, org.apache.parquet.bytes.ByteBufferAllocator allocator, int columnIndexTruncateLength, boolean pageWriteChecksumEnabled, InternalFileEncryptor fileEncryptor, int rowGroupOrdinal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflushToFileWriter(ParquetFileWriter writer)BloomFilterWritergetBloomFilterWriter(ColumnDescriptor path)PageWritergetPageWriter(ColumnDescriptor path)
-
-
-
Constructor Detail
-
ColumnChunkPageWriteStore
public ColumnChunkPageWriteStore(CodecFactory.BytesCompressor compressor, MessageType schema, org.apache.parquet.bytes.ByteBufferAllocator allocator, int columnIndexTruncateLength)
-
ColumnChunkPageWriteStore
public ColumnChunkPageWriteStore(CodecFactory.BytesCompressor compressor, MessageType schema, org.apache.parquet.bytes.ByteBufferAllocator allocator, int columnIndexTruncateLength, boolean pageWriteChecksumEnabled)
-
ColumnChunkPageWriteStore
public ColumnChunkPageWriteStore(CodecFactory.BytesCompressor compressor, MessageType schema, org.apache.parquet.bytes.ByteBufferAllocator allocator, int columnIndexTruncateLength, boolean pageWriteChecksumEnabled, InternalFileEncryptor fileEncryptor, int rowGroupOrdinal)
-
-
Method Detail
-
getPageWriter
public PageWriter getPageWriter(ColumnDescriptor path)
- Specified by:
getPageWriterin interfacePageWriteStore
-
getBloomFilterWriter
public BloomFilterWriter getBloomFilterWriter(ColumnDescriptor path)
- Specified by:
getBloomFilterWriterin interfaceBloomFilterWriteStore
-
flushToFileWriter
public void flushToFileWriter(ParquetFileWriter writer) throws IOException
- Throws:
IOException
-
-