|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.config.SailConfig
org.openrdf.sesame.sailimpl.rdbms.RdfRepositoryConfig
org.openrdf.sesame.sailimpl.rdbms.RdfSchemaRepositoryConfig
Extension of SailConfig offering specific utility methods for configuring an org.openrdf.sesame.sailimpl.rdbms.RdfSchemaRepository Sail. This class offers methods for specifying the JDBC-driver class, the JDBC URL, the username/password combination for the RDBMS, and the inferencer class.
| Constructor Summary | |
RdfSchemaRepositoryConfig()
Creates a new and unconfigured RdfSchemaRepositoryConfig object for an org.openrdf.sesame.sailimpl.rdbms.RdfSchemaRepository Sail. |
|
RdfSchemaRepositoryConfig(String jdbcDriver,
String jdbcUrl)
Creates a new RdfSchemaRepositoryConfig object for an org.openrdf.sesame.sailimpl.rdbms.RdfSchemaRepository Sail that uses the specified JDBC Driver to connect to the specified database. |
|
RdfSchemaRepositoryConfig(String jdbcDriver,
String jdbcUrl,
String user,
String password)
Creates a new RdfSchemaRepositoryConfig object for an org.openrdf.sesame.sailimpl.rdbms.RdfSchemaRepository Sail that uses the specified JDBC Driver to connect to the specified database. |
|
| Method Summary | |
String |
getInferencerClass()
Gets the inferencer class. |
void |
setInferencerClass(String inferencerClass)
Sets the inferencer class that should be used for inferencing. |
| Methods inherited from class org.openrdf.sesame.sailimpl.rdbms.RdfRepositoryConfig |
getJdbcDriver, getJdbcUrl, getPassword, getUser, setJdbcDriver, setJdbcUrl, setPassword, setUser |
| Methods inherited from class org.openrdf.sesame.config.SailConfig |
clone, equals, getConfigParameters, getParameter, getSailClass, hashCode, hasParameter, removeParameter, setConfigParameters, setParameter, setParameterKey, setParameterValue, setSailClass |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RdfSchemaRepositoryConfig()
public RdfSchemaRepositoryConfig(String jdbcDriver,
String jdbcUrl)
jdbcDriver - The fully qualified name of the Driver class, e.g.
com.mysql.jdbc.Driver or org.postgresql.Driver.jdbcUrl - A JDBC URL specifying the database to connect to, e.g.
jdbc:mysql://localhost:3306/testdb or
jdbc:postgresql://localhost:5432/testdb.
public RdfSchemaRepositoryConfig(String jdbcDriver,
String jdbcUrl,
String user,
String password)
jdbcDriver - The fully qualified name of the Driver class, e.g.
com.mysql.jdbc.Driver or org.postgresql.Driver.jdbcUrl - A JDBC URL specifying the database to connect to, e.g.
jdbc:mysql://localhost:3306/testdb or
jdbc:postgresql://localhost:5432/testdb.user - The name of a user that has access to the database.password - The user's password for the database.| Method Detail |
public void setInferencerClass(String inferencerClass)
inferencerClass - The fully qualified name of the InferenceServices
class that should be used for inferencing, e.g.
org.openrdf.sesame.sailimpl.rdbms.RdbmsInferenceServices.public String getInferencerClass()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||