Search in sources :

Example 1 with ObjectFileStorage

use of org.apache.jena.tdb.base.objectfile.ObjectFileStorage in project jena by apache.

the class TestObjectFileDisk method make.

@Override
protected ObjectFile make() {
    FileOps.deleteSilent(filename);
    BufferChannel chan = BufferChannelFile.create(filename);
    // No buffering.
    return new ObjectFileStorage(chan, -1);
}
Also used : BufferChannel(org.apache.jena.tdb.base.file.BufferChannel) ObjectFileStorage(org.apache.jena.tdb.base.objectfile.ObjectFileStorage)

Aggregations

BufferChannel (org.apache.jena.tdb.base.file.BufferChannel)1 ObjectFileStorage (org.apache.jena.tdb.base.objectfile.ObjectFileStorage)1