|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An extension of the Storage And Inference Layer (Sail) interface that defines methods for read-only RDF-repositories or other sources of information that can be accessed as RDF.
| Method Summary | |
NamespaceIterator |
getNamespaces()
Gets the prefix and name of all namespaces. |
StatementIterator |
getStatements(Resource subj,
URI pred,
Value obj)
Gets all statements with a specific subject, predicate and/or object. |
ValueFactory |
getValueFactory()
Gets a ValueFactory object that can be used to create URI-, blank node- and literal objects. |
boolean |
hasStatement(Resource subj,
URI pred,
Value obj)
Checks whether some statement with a specific subject, predicate and/or object is present in the repository. |
Query |
optimizeQuery(Query qc)
Gives the RdfSource the oportunity to optimize a Query to its specific storage model. |
| Methods inherited from interface org.openrdf.sesame.sail.Sail |
initialize, shutDown |
| Method Detail |
public ValueFactory getValueFactory()
public StatementIterator getStatements(Resource subj,
URI pred,
Value obj)
subj - subject of patternpred - predicate of patternobj - object of pattern
SailInternalException - To indicate an internal error.
public boolean hasStatement(Resource subj,
URI pred,
Value obj)
subj - subject of statementpred - predicate of statementobj - object of statement
SailInternalException - To indicate an internal error.public Query optimizeQuery(Query qc)
qc - The Query to optimize.
SailInternalException - To indicate an internal error.public NamespaceIterator getNamespaces()
SailInternalException - To indicate an internal error.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||