org.openrdf.sail.rdbms
Class RdbmsConnectionFactory
java.lang.Object
org.openrdf.sail.rdbms.RdbmsConnectionFactory
- Direct Known Subclasses:
- MySqlConnectionFactory, PgSqlConnectionFactory
public class RdbmsConnectionFactory
- extends Object
Responsible to initialise and wire all components together that will be
needed to satisfy any sail connection request.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RdbmsConnectionFactory
public RdbmsConnectionFactory()
setSail
public void setSail(RdbmsStore sail)
getDataSource
public DataSource getDataSource()
setDataSource
public void setDataSource(DataSource ds)
setDataSource
public void setDataSource(DataSource ds,
String user,
String password)
getMaxNumberOfTripleTables
public int getMaxNumberOfTripleTables()
setMaxNumberOfTripleTables
public void setMaxNumberOfTripleTables(int max)
isSequenced
public boolean isSequenced()
setSequenced
public void setSequenced(boolean useSequence)
isTriplesIndexed
public boolean isTriplesIndexed()
setTriplesIndexed
public void setTriplesIndexed(boolean triplesIndexed)
throws SailException
- Throws:
SailException
getValueFactory
public RdbmsValueFactory getValueFactory()
init
public void init()
throws SailException
- Throws:
SailException
isWritable
public boolean isWritable()
throws SailException
- Throws:
SailException
createConnection
public SailConnection createConnection()
throws SailException
- Throws:
SailException
shutDown
public void shutDown()
throws SailException
- Throws:
SailException
createQueryBuilderFactory
protected QueryBuilderFactory createQueryBuilderFactory()
createValueTableFactory
protected ValueTableFactory createValueTableFactory()
createTableFactory
protected TableFactory createTableFactory()
createTransTableManager
protected TransTableManager createTransTableManager()
createOptimizer
protected RdbmsQueryOptimizer createOptimizer()
createSelectQueryOptimizerFactory
protected SelectQueryOptimizerFactory createSelectQueryOptimizerFactory()
getFromDummyTable
protected String getFromDummyTable()
getConnection
protected Connection getConnection()
throws SQLException
- Throws:
SQLException
Copyright © 2001-2008 Aduna. All Rights Reserved.