|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hp.hpl.jena.graph.impl.GraphBase virtuoso.jena.driver.VirtGraph virtuoso.jena.driver.VirtDataSource
public class VirtDataSource
Nested Class Summary | |
---|---|
class |
VirtDataSource.VirtDataSetGraph
|
Field Summary |
---|
Fields inherited from class virtuoso.jena.driver.VirtGraph |
---|
connection, DEFAULT, graphName, m_prefixMapping, password, prefetchSize, readFromAllGraphs, roundrobin, ruleSet, url_hostlist, user, useSameAs |
Fields inherited from class com.hp.hpl.jena.graph.impl.GraphBase |
---|
bulkHandler, capabilities, closed, gem, pm, queryHandler, reifier, statisticsHandler, style |
Fields inherited from interface com.hp.hpl.jena.graph.Graph |
---|
emptyGraph |
Constructor Summary | |
---|---|
|
VirtDataSource()
|
|
VirtDataSource(java.lang.String url_hostlist,
java.lang.String user,
java.lang.String password)
|
|
VirtDataSource(java.lang.String _graphName,
virtuoso.jdbc3.VirtuosoDataSource _ds)
|
protected |
VirtDataSource(VirtGraph g)
|
Method Summary | |
---|---|
void |
addNamedModel(java.lang.String name,
com.hp.hpl.jena.rdf.model.Model model)
Set a named graph. |
com.hp.hpl.jena.sparql.core.DatasetGraph |
asDatasetGraph()
Get the dataset in graph form |
boolean |
containsNamedModel(java.lang.String name)
Does the dataset contain a model with the name supplied? |
com.hp.hpl.jena.rdf.model.Model |
getDefaultModel()
Get the default graph as a Jena Model |
com.hp.hpl.jena.shared.Lock |
getLock()
Get the lock for this dataset |
com.hp.hpl.jena.rdf.model.Model |
getNamedModel(java.lang.String name)
Get a graph by name as a Jena Model |
java.util.Iterator<java.lang.String> |
listNames()
List the names |
void |
removeNamedModel(java.lang.String name)
Remove a named graph. |
void |
replaceNamedModel(java.lang.String name,
com.hp.hpl.jena.rdf.model.Model model)
Change a named graph for another uisng the same name |
void |
setDefaultModel(com.hp.hpl.jena.rdf.model.Model model)
Set the background graph. |
Methods inherited from class virtuoso.jena.driver.VirtGraph |
---|
clear, close, createRuleSet, getBulkUpdateHandler, getConnection, getCount, getDataSource, getFetchSize, getGraphName, getGraphPassword, getGraphUrl, getGraphUser, getPrefixMapping, getReadFromAllGraphs, getRuleSet, getSameAs, getTransactionHandler, graphBaseContains, graphBaseFind, graphBaseSize, Node2Str, Object2Node, performAdd, performDelete, read, reifierSize, reifierTriples, remove, remove, removeRuleSet, setFetchSize, setReadFromAllGraphs, setRuleSet, setSameAs |
Methods inherited from class com.hp.hpl.jena.graph.impl.GraphBase |
---|
add, checkOpen, constructReifier, contains, contains, containsByFind, createStatisticsHandler, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getCapabilities, getEventManager, getReifier, getStatisticsHandler, graphBaseFind, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, queryHandler, reifierContains, size, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.hp.hpl.jena.query.Dataset |
---|
close |
Constructor Detail |
---|
public VirtDataSource()
public VirtDataSource(java.lang.String _graphName, virtuoso.jdbc3.VirtuosoDataSource _ds)
protected VirtDataSource(VirtGraph g)
public VirtDataSource(java.lang.String url_hostlist, java.lang.String user, java.lang.String password)
Method Detail |
---|
public void setDefaultModel(com.hp.hpl.jena.rdf.model.Model model)
setDefaultModel
in interface com.hp.hpl.jena.query.DataSource
public void addNamedModel(java.lang.String name, com.hp.hpl.jena.rdf.model.Model model) throws com.hp.hpl.jena.query.LabelExistsException
addNamedModel
in interface com.hp.hpl.jena.query.DataSource
com.hp.hpl.jena.query.LabelExistsException
public void removeNamedModel(java.lang.String name)
removeNamedModel
in interface com.hp.hpl.jena.query.DataSource
public void replaceNamedModel(java.lang.String name, com.hp.hpl.jena.rdf.model.Model model)
replaceNamedModel
in interface com.hp.hpl.jena.query.DataSource
public com.hp.hpl.jena.rdf.model.Model getDefaultModel()
getDefaultModel
in interface com.hp.hpl.jena.query.Dataset
public com.hp.hpl.jena.rdf.model.Model getNamedModel(java.lang.String name)
getNamedModel
in interface com.hp.hpl.jena.query.Dataset
public boolean containsNamedModel(java.lang.String name)
containsNamedModel
in interface com.hp.hpl.jena.query.Dataset
public java.util.Iterator<java.lang.String> listNames()
listNames
in interface com.hp.hpl.jena.query.Dataset
public com.hp.hpl.jena.shared.Lock getLock()
getLock
in interface com.hp.hpl.jena.query.Dataset
public com.hp.hpl.jena.sparql.core.DatasetGraph asDatasetGraph()
asDatasetGraph
in interface com.hp.hpl.jena.query.Dataset
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |