this.enableDictionary = enableDict;
}
public static ValuesWriter getColumnDescriptorValuesWriter(int maxLevel, int initialSizePerCol) {
if (maxLevel == 0) {
return new DevNullValuesWriter();
} else {
return new RunLengthBitPackingHybridValuesWriter(
BytesUtils.getWidthFromMaxInt(maxLevel), initialSizePerCol);
}
}