public static DatasetGraphTxn build(Location location) { return build(location, StoreParams.getDftStoreParams()); }
public static TDBBuilder create(Location location) { return create(location, StoreParams.getDftStoreParams()); }
@Test public void store_params_01() { assertEqualsStoreParams(StoreParams.getDftStoreParams(), StoreParams.getDftStoreParams()) ; }
@Test public void store_params_01() { assertEqualsStoreParams(StoreParams.getDftStoreParams(), StoreParams.getDftStoreParams()) ; }
public static DatasetGraphTxn build(Location location, StoreParams appParams) { StoreParams locParams = StoreParamsCodec.read(location); StoreParams dftParams = StoreParams.getDftStoreParams(); // This can write the chosen parameters if necessary (new database, appParams != null, locParams == null) boolean newArea = isNewDatabaseArea(location); if ( newArea ) { } StoreParams params = StoreParamsFactory.decideStoreParams(location, newArea, appParams, locParams, dftParams); return create(location, params).build$(); }
@Test public void store_params_02() { StoreParams input = StoreParams.getDftStoreParams() ; StoreParams sp = StoreParams.builder(input).build() ; assertEqualsStoreParams(StoreParams.getDftStoreParams(), sp) ; }
@Test public void store_params_02() { StoreParams input = StoreParams.getDftStoreParams() ; StoreParams sp = StoreParams.builder(input).build() ; assertEqualsStoreParams(StoreParams.getDftStoreParams(), sp) ; }
@Test public void store_params_03() { StoreParams sp = StoreParams.builder().build() ; assertEqualsStoreParams(StoreParams.getDftStoreParams(), sp) ; }
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 ; }
@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 ; } }
@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 ; } }
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 ; }
@Test public void store_params_03() { StoreParams sp = StoreParams.builder().build() ; assertEqualsStoreParams(StoreParams.getDftStoreParams(), sp) ; }