Search in sources :

Example 1 with ColumnSortInfo

use of org.apache.carbondata.format.ColumnSortInfo in project carbondata by apache.

the class CarbonDictionarySortIndexReaderImpl method openThriftReader.

/**
   * This method will open the dictionary sort index file stream for reading
   *
   * @throws IOException in case any I/O errors occurs
   */
private void openThriftReader() throws IOException {
    this.dictionarySortIndexThriftReader = new ThriftReader(this.sortIndexFilePath, new ThriftReader.TBaseCreator() {

        @Override
        public TBase create() {
            return new ColumnSortInfo();
        }
    });
    dictionarySortIndexThriftReader.open();
}
Also used : ThriftReader(org.apache.carbondata.core.reader.ThriftReader) ColumnSortInfo(org.apache.carbondata.format.ColumnSortInfo)

Aggregations

ThriftReader (org.apache.carbondata.core.reader.ThriftReader)1 ColumnSortInfo (org.apache.carbondata.format.ColumnSortInfo)1