Search in sources :

Example 1 with NodeTableCache

use of org.apache.jena.tdb2.store.nodetable.NodeTableCache in project jena by apache.

the class TDB2StorageBuilder method buildNodeTable.

private NodeTable buildNodeTable(String name, boolean isData) {
    NodeTable nodeTable = buildBaseNodeTable(name);
    nodeTable = addNodeTableCache(nodeTable, params, isData);
    if (nodeTable instanceof NodeTableCache) {
        NodeTableCache nodeTableCache = (NodeTableCache) nodeTable;
        listeners.add(nodeTableCache);
    }
    nodeTable = NodeTableInline.create(nodeTable);
    return nodeTable;
}
Also used : NodeTableCache(org.apache.jena.tdb2.store.nodetable.NodeTableCache) NodeTable(org.apache.jena.tdb2.store.nodetable.NodeTable)

Aggregations

NodeTable (org.apache.jena.tdb2.store.nodetable.NodeTable)1 NodeTableCache (org.apache.jena.tdb2.store.nodetable.NodeTableCache)1