public class Anno4j extends Object
| Modifier and Type | Method and Description |
|---|---|
PersistenceService |
createPersistenceService() |
QueryService |
createQueryService(Class clazz) |
IDGenerator |
getIdGenerator()
Getter for the configured IDGenerator intance.
|
static Anno4j |
getInstance()
Getter for the Anno4j getter instance.
|
org.openrdf.repository.object.ObjectRepository |
getObjectRepository()
Getter for configured ObjectRepository (openrdf/alibaba wrapper for the internal Repository).
|
QueryOptimizer |
getQueryOptimizer() |
org.openrdf.repository.Repository |
getRepository()
Getter for the configured Repository instance (Connector for local/remote SPARQL repository).
|
void |
setIdGenerator(IDGenerator idGenerator)
Configures the IDGenerator to use in Anno4j.
|
void |
setRepository(org.openrdf.repository.Repository repository)
Configures the Repository (Connector for local/remote SPARQL repository) to use in Anno4j.
|
public PersistenceService createPersistenceService()
public QueryService createQueryService(Class clazz)
public QueryOptimizer getQueryOptimizer()
public IDGenerator getIdGenerator()
public void setIdGenerator(IDGenerator idGenerator)
idGenerator - IDGenerator to use in Anno4j.public org.openrdf.repository.Repository getRepository()
public void setRepository(org.openrdf.repository.Repository repository)
throws org.openrdf.repository.RepositoryException,
org.openrdf.repository.config.RepositoryConfigException
repository - Repository to use in Anno4j.org.openrdf.repository.RepositoryExceptionorg.openrdf.repository.config.RepositoryConfigExceptionpublic org.openrdf.repository.object.ObjectRepository getObjectRepository()
public static Anno4j getInstance()
Copyright © 2015 Chair of Distributed Information Systems - University of Passau. All rights reserved.