org.openrdf.sesame.sailimpl.nativerdf
Class TripleStore

java.lang.Object
  extended byorg.openrdf.sesame.sailimpl.nativerdf.TripleStore

public class TripleStore
extends Object


Constructor Summary
TripleStore(File dir, String indexSpecStr)
           
 
Method Summary
 void clear()
           
 void close()
           
 void commitTransaction()
           
 BTreeIterator getTriples(int subj, int pred, int obj)
           
 int removeTriples(int subj, int pred, int obj)
           
 void rollbackTransaction()
           
 void startTransaction()
           
 byte[] storeTriple(int subj, int pred, int obj)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TripleStore

public TripleStore(File dir,
                   String indexSpecStr)
            throws IOException,
                   SailInitializationException
Method Detail

close

public void close()
           throws IOException
Throws:
IOException

getTriples

public BTreeIterator getTriples(int subj,
                                int pred,
                                int obj)
                         throws IOException
Throws:
IOException

startTransaction

public void startTransaction()
                      throws IOException
Throws:
IOException

commitTransaction

public void commitTransaction()
                       throws IOException
Throws:
IOException

rollbackTransaction

public void rollbackTransaction()
                         throws IOException
Throws:
IOException

clear

public void clear()
           throws IOException
Throws:
IOException

storeTriple

public byte[] storeTriple(int subj,
                          int pred,
                          int obj)
                   throws IOException
Throws:
IOException

removeTriples

public int removeTriples(int subj,
                         int pred,
                         int obj)
                  throws IOException
Throws:
IOException


Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.