Пример #1
0
 public ColumnWriter(Stream output, ThriftStream thriftStream,
                     FileMetadataBuilder builder, SchemaElement schema,
                     CompressionMethod compressionMethod,
                     ParquetOptions formatOptions,
                     WriterOptions writerOptions)
 {
     _output            = output;
     _thriftStream      = thriftStream;
     _meta              = builder;
     _schema            = schema;
     _compressionMethod = compressionMethod;
     _formatOptions     = formatOptions;
     _writerOptions     = writerOptions;
     _plainWriter       = new PlainValuesWriter(formatOptions);
     _rleWriter         = new RunLengthBitPackingHybridValuesWriter();
     _dicWriter         = new PlainDictionaryValuesWriter(_rleWriter);
 }