Andy,

I know you asked a while back about what API changes I had noticed. There 
are a number of things that have changed since 2.6.3, most of them are 
smaller and manageable (albeit annoying). Here a few examples:

1) DatasetGraphTDB subset = TDBFactory.createDatasetGraph();

now has to be

DatasetGraph subset = TDBFactory.createDatasetGraph();

2) Another example is:

queryContext.setDataset(new DatasetImpl(subset)); 

now has to be

queryContext.setDataset(DatasetImpl.wrap(subset));

3) TupleIndex newIndex = SetupTDB.makeTupleIndex(tmpLocation, 
srcGraph.getConfig(), primary, name, name, indexRecordLen);

became 

TupleIndex newIndex = SetupTDB.makeTupleIndex(tmpLocation, primary, name, 
name, indexRecordLen);

4) More obscure is the following change:

SetupTDB.globalConfig.setProperty(Names.pBlockReadCacheSize, 
blockReadCacheSize.toString());

That does not work anymore. It is unclear where I can set this property 
now. I could use help with this one


In general,  API changes are unavoidable, but they should be documented 
per release in a readme. 

Simon

Reply via email to