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