|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.server.repository.querybuilder.RdbGraph
public class RdbGraph
Provides RDF graph access to data stored in a relational database. ResourceGroundings and PropertyGroundings define the mapping between RDF Statements and relational tables and columns. The LiteralGrounding class provides types to match with the types of the relational elements.
| Constructor Summary | |
|---|---|
RdbGraph(SubjectGrounding... groundings)
Create a new RdbGraph with given SubjectGroundings |
|
| Method Summary | |
|---|---|
void |
addResourceGrounding(SubjectGrounding resourceGrounding)
Add a SubjectGrounding to this graph |
java.util.Collection<Quad> |
findQuads(RepositoryConnection repositoryConnection,
org.openrdf.model.Resource subj,
org.openrdf.model.URI prop,
org.openrdf.model.Value obj,
java.lang.Long graphId,
boolean includeInferredStatements,
java.util.Map<java.lang.String,java.lang.Object> variables)
Find the quads in this graph that match the statement pattern |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RdbGraph(SubjectGrounding... groundings)
groundings - Set of groundings for this graph| Method Detail |
|---|
public void addResourceGrounding(SubjectGrounding resourceGrounding)
resourceGrounding - SubjectGrounding to add
public java.util.Collection<Quad> findQuads(RepositoryConnection repositoryConnection,
org.openrdf.model.Resource subj,
org.openrdf.model.URI prop,
org.openrdf.model.Value obj,
java.lang.Long graphId,
boolean includeInferredStatements,
java.util.Map<java.lang.String,java.lang.Object> variables)
throws AnzoException
repositoryConnection - connection to the databasesubj - subject to match, or wildcard if nullprop - property to match, or wildcard if nullobj - property to match,or wildcard if nullgraphId - ID of namedgraph's URIincludeInferredStatements - include inferred statementsvariables - map of variables and values that can be used in the queries
AnzoException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||