Interface VirtualGraph
-
public interface VirtualGraph
Information about a virtual graph.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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.IRI
getDataSourceName()
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.String
getLocalName(IRI entityName)
java.util.Set<Statement>
getMappings()
Returns the mappings defined for this graph expressed in R2RML.java.lang.String
getName()
Returns the (local) name of the virtual graph.java.util.Properties
getOptions()
Returns the configuration options associated with this virtual graph.static java.lang.String
graphClause(java.lang.String theGraph)
Given the local name of a virtual graph, return aGRAPH
clause for that virtual graph.boolean
isAvailable()
Is the virtual graph available?static java.lang.String
service(java.lang.String theGraph)
Deprecated.static java.lang.String
serviceClause(java.lang.String theGraph)
Given the local name of a virtual graph, return aSERVICE
clause for that virtual graph.static IRI
term(java.lang.String theGraph)
-
-
-
Method Detail
-
term
static IRI term(java.lang.String theGraph)
-
getLocalName
static java.lang.String getLocalName(IRI entityName)
-
service
static java.lang.String service(java.lang.String theGraph)
Deprecated.Given the local name of a virtual graph, return aGRAPH
clause 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 aGRAPH
clause 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 aSERVICE
clause 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?
-
-