Search in sources :

Example 1 with CarbonDictionarySortIndexReaderImpl

use of org.apache.carbondata.core.reader.sortindex.CarbonDictionarySortIndexReaderImpl in project carbondata by apache.

the class CarbonDictionarySortIndexWriterImplTest method setUp.

@Before
public void setUp() throws Exception {
    storePath = "target/carbonStore";
    carbonTableIdentifier = new CarbonTableIdentifier("testSchema", "carbon", UUID.randomUUID().toString());
    columnIdentifier = new ColumnIdentifier("Name", null, null);
    dictionaryWriter = new CarbonDictionaryWriterImpl(storePath, carbonTableIdentifier, columnIdentifier);
    dictionarySortIndexWriter = new CarbonDictionarySortIndexWriterImpl(carbonTableIdentifier, columnIdentifier, storePath);
    carbonDictionarySortIndexReader = new CarbonDictionarySortIndexReaderImpl(carbonTableIdentifier, columnIdentifier, storePath);
}
Also used : CarbonDictionarySortIndexReaderImpl(org.apache.carbondata.core.reader.sortindex.CarbonDictionarySortIndexReaderImpl) CarbonTableIdentifier(org.apache.carbondata.core.metadata.CarbonTableIdentifier) CarbonDictionaryWriterImpl(org.apache.carbondata.core.writer.CarbonDictionaryWriterImpl) ColumnIdentifier(org.apache.carbondata.core.metadata.ColumnIdentifier) Before(org.junit.Before)

Aggregations

CarbonTableIdentifier (org.apache.carbondata.core.metadata.CarbonTableIdentifier)1 ColumnIdentifier (org.apache.carbondata.core.metadata.ColumnIdentifier)1 CarbonDictionarySortIndexReaderImpl (org.apache.carbondata.core.reader.sortindex.CarbonDictionarySortIndexReaderImpl)1 CarbonDictionaryWriterImpl (org.apache.carbondata.core.writer.CarbonDictionaryWriterImpl)1 Before (org.junit.Before)1