Interface VirtualGraph
-
public interface VirtualGraphInformation about a virtual graph.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetDatabase()Returns the name the database that is associated with this virtual graph, or"*"if this virtual graph works with all databases.IRIgetDataSourceName()Returns the name (as an IRI) of the data source that provides the connection to the backing database for this virtual graph.static java.lang.StringgetLocalName(IRI entityName)java.util.Set<Statement>getMappings()Returns the mappings defined for this graph expressed in R2RML.java.lang.StringgetName()Returns the (local) name of the virtual graph.java.util.PropertiesgetOptions()Returns the configuration options associated with this virtual graph.static java.lang.StringgraphClause(java.lang.String theGraph)Given the local name of a virtual graph, return aGRAPHclause for that virtual graph.booleanisAvailable()Is the virtual graph available?static java.lang.Stringservice(java.lang.String theGraph)Deprecated.static java.lang.StringserviceClause(java.lang.String theGraph)Given the local name of a virtual graph, return aSERVICEclause for that virtual graph.static IRIterm(java.lang.String theGraph)
-
-
-
Method Detail
-
term
static IRI term(java.lang.String theGraph)
-
getLocalName
static java.lang.String getLocalName(IRI entityName)
-
service
@Deprecated static java.lang.String service(java.lang.String theGraph)
Deprecated.Given the local name of a virtual graph, return aGRAPHclause for that virtual graph.- Parameters:
theGraph- The local name of a virtual graph, without thevirtual://prefix- Returns:
- A graph clause for use in a SPARQL query
-
graphClause
static java.lang.String graphClause(java.lang.String theGraph)
Given the local name of a virtual graph, return aGRAPHclause for that virtual graph.- Parameters:
theGraph- The local name of a virtual graph, without thevirtual://prefix- Returns:
- A graph clause for use in a SPARQL query
-
serviceClause
static java.lang.String serviceClause(java.lang.String theGraph)
Given the local name of a virtual graph, return aSERVICEclause for that virtual graph.- Parameters:
theGraph- The local name of a virtual graph, without thevirtual://prefix- Returns:
- A service clause for use in a SPARQL query
-
getName
java.lang.String getName()
Returns the (local) name of the virtual graph.
-
getDataSourceName
IRI getDataSourceName()
Returns the name (as an IRI) of the data source that provides the connection to the backing database for this virtual graph.
-
getDatabase
java.lang.String getDatabase()
Returns the name the database that is associated with this virtual graph, or"*"if this virtual graph works with all databases.
-
getMappings
java.util.Set<Statement> getMappings()
Returns the mappings defined for this graph expressed in R2RML. The iterable will be empty if there are no mappings.
-
getOptions
java.util.Properties getOptions()
Returns the configuration options associated with this virtual graph. The options are defined inVirtualGraphOptions.
-
isAvailable
boolean isAvailable()
Is the virtual graph available?
-
-