Search in sources :

Example 1 with IndexParams

use of org.apache.jena.dboe.index.IndexParams in project jena by apache.

the class TestTupleIndexRecord method create.

@Override
protected TupleIndexRecord create(String description) {
    IndexParams indexParams = StoreParams.getDftStoreParams();
    RangeIndex rIdx = BuildTestLib.buildRangeIndex(FileSet.mem(), factory, indexParams);
    TupleMap tmap = TupleMap.create("SPO", description);
    TupleIndexRecord index = new TupleIndexRecord(3, tmap, description, factory, rIdx);
    return index;
}
Also used : IndexParams(org.apache.jena.dboe.index.IndexParams) RangeIndex(org.apache.jena.dboe.index.RangeIndex) TupleMap(org.apache.jena.atlas.lib.tuple.TupleMap)

Example 2 with IndexParams

use of org.apache.jena.dboe.index.IndexParams in project jena by apache.

the class TestTupleIndexRecordDirect method create.

static TupleIndexRecord create(String description) {
    IndexParams indexParams = StoreParams.getDftStoreParams();
    RangeIndex rIdx = BuildTestLib.buildRangeIndex(FileSet.mem(), factory, indexParams);
    TupleMap tmap = TupleMap.create("SPO", description);
    TupleIndexRecord index = new TupleIndexRecord(3, tmap, description, factory, rIdx);
    return index;
}
Also used : IndexParams(org.apache.jena.dboe.index.IndexParams) RangeIndex(org.apache.jena.dboe.index.RangeIndex) TupleMap(org.apache.jena.atlas.lib.tuple.TupleMap)

Aggregations

TupleMap (org.apache.jena.atlas.lib.tuple.TupleMap)2 IndexParams (org.apache.jena.dboe.index.IndexParams)2 RangeIndex (org.apache.jena.dboe.index.RangeIndex)2