Search in sources :

Example 6 with NodeTableTRDF

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

the class LoaderOps method ntDataFile.

/**
 * Get the node storage for a {@Link NodeTable}
 */
public static TransBinaryDataFile ntDataFile(NodeTable nt) {
    NodeTableTRDF ntt = (NodeTableTRDF) (nt.baseNodeTable());
    BinaryDataFile bdf = ntt.getData();
    TransBinaryDataFile tbdf = (TransBinaryDataFile) bdf;
    return tbdf;
}
Also used : NodeTableTRDF(org.apache.jena.tdb2.store.nodetable.NodeTableTRDF) TransBinaryDataFile(org.apache.jena.dboe.trans.data.TransBinaryDataFile) TransBinaryDataFile(org.apache.jena.dboe.trans.data.TransBinaryDataFile) BinaryDataFile(org.apache.jena.dboe.base.file.BinaryDataFile)

Aggregations

NodeTableTRDF (org.apache.jena.tdb2.store.nodetable.NodeTableTRDF)5 RecordFactory (org.apache.jena.dboe.base.record.RecordFactory)3 Index (org.apache.jena.dboe.index.Index)3 RangeIndex (org.apache.jena.dboe.index.RangeIndex)3 BinaryDataFile (org.apache.jena.dboe.base.file.BinaryDataFile)2 BPlusTree (org.apache.jena.dboe.trans.bplustree.BPlusTree)2 TransBinaryDataFile (org.apache.jena.dboe.trans.data.TransBinaryDataFile)2 Node (org.apache.jena.graph.Node)2 RiotThriftException (org.apache.jena.riot.thrift.RiotThriftException)2 RDF_Term (org.apache.jena.riot.thrift.wire.RDF_Term)2 NodeTable (org.apache.jena.tdb2.store.nodetable.NodeTable)2 ByteArrayOutputStream (java.io.ByteArrayOutputStream)1 IOException (java.io.IOException)1 InputStream (java.io.InputStream)1 OutputStream (java.io.OutputStream)1 ArrayList (java.util.ArrayList)1 Arrays (java.util.Arrays)1 Iterator (java.util.Iterator)1 List (java.util.List)1 AtomicLong (java.util.concurrent.atomic.AtomicLong)1