Interface RDFStarTripleSource
-
- All Superinterfaces:
org.eclipse.rdf4j.common.order.AvailableStatementOrder,TripleSource
public interface RDFStarTripleSource extends TripleSource
-
-
Field Summary
-
Fields inherited from interface org.eclipse.rdf4j.query.algebra.evaluation.TripleSource
EMPTY_ITERATION
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CloseableIteration<? extends org.eclipse.rdf4j.model.Triple>getRdfStarTriples(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj)Gets all Triple nodes that have a specific subject, predicate and/or object.-
Methods inherited from interface org.eclipse.rdf4j.query.algebra.evaluation.TripleSource
getComparator, getStatements, getStatements, getSupportedOrders, getValueFactory
-
-
-
-
Method Detail
-
getRdfStarTriples
CloseableIteration<? extends org.eclipse.rdf4j.model.Triple> getRdfStarTriples(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj) throws QueryEvaluationException
Gets all Triple nodes that have a specific subject, predicate and/or object. All three parameters may be null to indicate wildcards.- Parameters:
subj- A Resource specifying the triple's subject, or null for a wildcard.pred- A IRI specifying the triple's predicate, or null for a wildcard.obj- A Value specifying the triple's object, or null for a wildcard.- Returns:
- An iterator over the relevant triples.
- Throws:
QueryEvaluationException- If the rdf star triple source failed to get the statements.
-
-