org.openrdf.sail.rdbms
Class RdbmsTripleRepository
java.lang.Object
org.openrdf.sail.rdbms.RdbmsTripleRepository
public class RdbmsTripleRepository
- extends Object
Facade to TransTableManager, ResourceTable, and
LiteralTable for adding, removing, and retrieving statements from the
database.
- Author:
- James Leigh
STMT_BUFFER
public static int STMT_BUFFER
RdbmsTripleRepository
public RdbmsTripleRepository()
getConnection
public Connection getConnection()
setConnection
public void setConnection(Connection conn)
setIdSequence
public void setIdSequence(IdSequence ids)
getValueFactory
public RdbmsValueFactory getValueFactory()
setValueFactory
public void setValueFactory(RdbmsValueFactory vf)
getSailChangedEvent
public DefaultSailChangedEvent getSailChangedEvent()
setSailChangedEvent
public void setSailChangedEvent(DefaultSailChangedEvent sailChangedEvent)
setQueryBuilderFactory
public void setQueryBuilderFactory(QueryBuilderFactory factory)
setBNodeTable
public void setBNodeTable(BNodeTable bnodes)
setURITable
public void setURITable(URITable uris)
setLiteralTable
public void setLiteralTable(LiteralTable literals)
setTransaction
public void setTransaction(TransTableManager temporary)
setTripleManager
public void setTripleManager(TripleManager tripleManager)
flush
public void flush()
throws RdbmsException
- Throws:
RdbmsException
begin
public void begin()
throws SQLException
- Throws:
SQLException
close
public void close()
throws SQLException
- Throws:
SQLException
commit
public void commit()
throws SQLException,
RdbmsException,
InterruptedException
- Throws:
SQLException
RdbmsException
InterruptedException
rollback
public void rollback()
throws SQLException,
SailException
- Throws:
SQLException
SailException
finalize
protected void finalize()
throws Throwable
- Overrides:
finalize in class Object
- Throws:
Throwable
add
public void add(RdbmsStatement st)
throws SailException,
SQLException,
InterruptedException
- Throws:
SailException
SQLException
InterruptedException
find
public RdbmsStatementIteration find(Resource subj,
URI pred,
Value obj,
Resource... ctxs)
throws RdbmsException
- Throws:
RdbmsException
findContexts
public RdbmsResourceIteration findContexts()
throws SQLException,
RdbmsException
- Throws:
SQLException
RdbmsException
isClosed
public boolean isClosed()
throws SQLException
- Throws:
SQLException
remove
public int remove(Resource subj,
URI pred,
Value obj,
Resource... ctxs)
throws RdbmsException
- Throws:
RdbmsException
size
public long size(RdbmsResource... ctxs)
throws SQLException,
SailException
- Throws:
SQLException
SailException
getMaxQueueSize
protected int getMaxQueueSize()
Copyright © 2001-2008 Aduna. All Rights Reserved.