Search in sources :

Example 11 with BTreeBuilderInfo

use of org.apache.carbondata.core.datastore.BTreeBuilderInfo in project carbondata by apache.

the class BTreeBlockFinderTest method testBtreeBuldingIsPorper.

@Test
public void testBtreeBuldingIsPorper() {
    BtreeBuilder builder = new BlockBTreeBuilder();
    List<DataFileFooter> footerList = getDataFileFooterList();
    BTreeBuilderInfo infos = new BTreeBuilderInfo(footerList, null);
    builder.build(infos);
}
Also used : DataFileFooter(org.apache.carbondata.core.metadata.blocklet.DataFileFooter) BTreeBuilderInfo(org.apache.carbondata.core.datastore.BTreeBuilderInfo) BtreeBuilder(org.apache.carbondata.core.datastore.BtreeBuilder) Test(org.junit.Test)

Aggregations

BTreeBuilderInfo (org.apache.carbondata.core.datastore.BTreeBuilderInfo)11 BtreeBuilder (org.apache.carbondata.core.datastore.BtreeBuilder)9 Test (org.junit.Test)9 DataFileFooter (org.apache.carbondata.core.metadata.blocklet.DataFileFooter)8 DataRefNode (org.apache.carbondata.core.datastore.DataRefNode)6 DataRefNodeFinder (org.apache.carbondata.core.datastore.DataRefNodeFinder)5 IndexKey (org.apache.carbondata.core.datastore.IndexKey)5 KeyGenerator (org.apache.carbondata.core.keygenerator.KeyGenerator)3 MultiDimKeyVarLengthGenerator (org.apache.carbondata.core.keygenerator.mdkey.MultiDimKeyVarLengthGenerator)3 ByteBuffer (java.nio.ByteBuffer)2 MockUp (mockit.MockUp)2 ColumnSchema (org.apache.carbondata.core.metadata.schema.table.column.ColumnSchema)2 BlockBTreeBuilder (org.apache.carbondata.core.datastore.impl.btree.BlockBTreeBuilder)1 BlockletBTreeBuilder (org.apache.carbondata.core.datastore.impl.btree.BlockletBTreeBuilder)1 SegmentInfo (org.apache.carbondata.core.metadata.blocklet.SegmentInfo)1