public interface TripleSource
| Modifier and Type | Method and Description |
|---|---|
CloseableIteration<? extends org.eclipse.rdf4j.model.Statement,QueryEvaluationException> |
getStatements(org.eclipse.rdf4j.model.Resource subj,
org.eclipse.rdf4j.model.IRI pred,
org.eclipse.rdf4j.model.Value obj,
org.eclipse.rdf4j.model.Resource... contexts)
Gets all statements that have a specific subject, predicate and/or object.
|
org.eclipse.rdf4j.model.ValueFactory |
getValueFactory()
Gets a ValueFactory object that can be used to create URI-, blank node- and literal objects.
|
CloseableIteration<? extends org.eclipse.rdf4j.model.Statement,QueryEvaluationException> getStatements(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts) throws QueryEvaluationException
subj - A Resource specifying the subject, or null for a wildcard.pred - A URI specifying the predicate, or null for a wildcard.obj - A Value specifying the object, or null for a wildcard.contexts - The context(s) to get the statements from. Note that this parameter is a vararg and as such is
optional. If no contexts are supplied the method operates on the entire repository.QueryEvaluationException - If the triple source failed to get the statements.org.eclipse.rdf4j.model.ValueFactory getValueFactory()
Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.