public ValuesWriter getValuesWriter(ColumnDescriptor path, int initialSizePerCol) {
switch (path.getType()) {
case BOOLEAN:
if(writerVersion == WriterVersion.PARQUET_1_0) {
return new BooleanPlainValuesWriter();
} else if (writerVersion == WriterVersion.PARQUET_2_0) {
return new RunLengthBitPackingHybridValuesWriter(1, initialSizePerCol);
}
break;
case BINARY: