Examples of BytesCompressor


Examples of parquet.hadoop.CodecFactory.BytesCompressor

import java.io.IOException;

public class ColumnChunkPageWriteStoreExposer {

  public static ColumnChunkPageWriteStore newColumnChunkPageWriteStore(CompressionCodecName codec, int pageSize, MessageType schema, int initialSize) {
    BytesCompressor compressor = new CodecFactory(new Configuration()).getCompressor(codec, pageSize);
    return new ColumnChunkPageWriteStore(compressor, schema, initialSize);
  }
View Full Code Here

Examples of parquet.hadoop.CodecFactory.BytesCompressor

  public static ColumnChunkPageWriteStore newColumnChunkPageWriteStore(OperatorContext oContext,
                                                                       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));
  }
View Full Code Here

Examples of parquet.hadoop.CodecFactory.BytesCompressor

  public static ColumnChunkPageWriteStore newColumnChunkPageWriteStore(OperatorContext oContext,
                                                                       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));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.