use of org.apache.jena.tdb.base.file.FileSet in project jena by apache.
the class DatasetBuilderStd method makeTupleIndex.
protected TupleIndex makeTupleIndex(Location location, String name, String primary, String indexOrder, StoreParams params) {
// Commonly, name == indexOrder.
FileSet fs = new FileSet(location, name);
ColumnMap colMap = new ColumnMap(primary, indexOrder);
return /*tupleIndexBuilder.*/
buildTupleIndex(fs, colMap, indexOrder, params);
}
use of org.apache.jena.tdb.base.file.FileSet in project jena by apache.
the class dumpnodes method determineNodeTable.
private ObjectFile determineNodeTable(Location loc) {
// Directly open the nodes.dat file.
StoreParams storeParams = StoreParams.getDftStoreParams();
FileSet fsId2Node = new FileSet(loc, storeParams.getIndexId2Node());
String file = fsId2Node.filename(Names.extNodeData);
ObjectFile objFile = FileFactory.createObjectFileDisk(file);
return objFile;
}
Aggregations