Class TripleSources
java.lang.Object
org.eclipse.rdf4j.query.algebra.evaluation.util.TripleSources
Deprecated, for removal: This API element is subject to removal in a future version.
Utility methods for working with 
TripleSources.- 
Method Summary
Modifier and TypeMethodDescriptionstatic booleanbooleanValue(Resource subj, IRI pred, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.static CloseableIteration<Literal> getObjectLiterals(Resource subject, IRI predicate, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.static CloseableIteration<Resource> getObjectResources(Resource subject, IRI predicate, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.static CloseableIteration<IRI> getObjectURIs(Resource subject, IRI predicate, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.static CloseableIteration<IRI> getSubjectURIs(IRI predicate, Value object, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.static CloseableIteration<Value> list(Resource subj, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.static CloseableIteration<Resource> listResources(Resource subj, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.static Statementsingle(Resource subj, IRI pred, Value obj, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.Returns the single statement with the given subject, predicate and object or null if none exists.static ValuesingleValue(Resource subj, IRI pred, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version. 
- 
Method Details
- 
listResources
public static CloseableIteration<Resource> listResources(Resource subj, TripleSource store) throws QueryEvaluationException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
 QueryEvaluationException
 - 
list
public static CloseableIteration<Value> list(Resource subj, TripleSource store) throws QueryEvaluationException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
 QueryEvaluationException
 - 
booleanValue
public static boolean booleanValue(Resource subj, IRI pred, TripleSource store) throws QueryEvaluationException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
 QueryEvaluationException
 - 
singleValue
public static Value singleValue(Resource subj, IRI pred, TripleSource store) throws QueryEvaluationException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
 QueryEvaluationException
 - 
single
public static Statement single(Resource subj, IRI pred, Value obj, TripleSource store) throws QueryEvaluationException Deprecated, for removal: This API element is subject to removal in a future version.Returns the single statement with the given subject, predicate and object or null if none exists. Context information is disregarded.- Parameters:
 subj- null for any.pred- null for any.obj- null for any.- Throws:
 QueryEvaluationException- If there is more than one such statement.
 - 
getSubjectURIs
public static CloseableIteration<IRI> getSubjectURIs(IRI predicate, Value object, TripleSource store) throws QueryEvaluationException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
 QueryEvaluationException
 - 
getObjectResources
public static CloseableIteration<Resource> getObjectResources(Resource subject, IRI predicate, TripleSource store) throws QueryEvaluationException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
 QueryEvaluationException
 - 
getObjectURIs
public static CloseableIteration<IRI> getObjectURIs(Resource subject, IRI predicate, TripleSource store) throws QueryEvaluationException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
 QueryEvaluationException
 - 
getObjectLiterals
public static CloseableIteration<Literal> getObjectLiterals(Resource subject, IRI predicate, TripleSource store) throws QueryEvaluationException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
 QueryEvaluationException
 
 -