CompressionCodecName codec,
int pageSize,
MessageType schema,
int initialSize) {
BytesCompressor compressor = new CodecFactory(new Configuration()).getCompressor(codec, pageSize);
return new ColumnChunkPageWriteStore(compressor, schema, initialSize, new ParquetDirectByteBufferAllocator(oContext));
}