Question about RLE support in CarbonData
Posted by Hao Jiang on Nov 30, 2016; 8:15pm
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/Question-about-RLE-support-in-CarbonData-tp3457.html
Dear Dev Team,
I have a question about run-length encoding (RLE) support in CarbonData.
In Encoding enum type I can see RLE, DELTA and some other encodings.
However while I look at the code (FieldEncoderFactory.createFieldEncoder), I notice there is an if / else like the following:
if(dataField.getColumn().hasEncoding(Encoding.DIRECT_DICTIONARY) ….) {
// DirectDictionaryConverter
} else if (… Encoding.DICTIONARY ….) {
// DictionaryConverter
}
…
else {
// NonDictionaryFieldConverter
}
And I cannot find any encoding code related to RLE in the NonDictionaryFieldConverter.
Please kindly suggest where I can find the FieldConverter for RLE, DELTA and other encodings?
Thanks!
Regards,
Hao