Class TripleSources
- java.lang.Object
-
- org.eclipse.rdf4j.query.algebra.evaluation.util.TripleSources
-
@Deprecated(since="4.1.0", forRemoval=true) public class TripleSources extends Object
Deprecated, for removal: This API element is subject to removal in a future version.Utility methods for working withTripleSources.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanbooleanValue(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, TripleSource store)Deprecated, for removal: This API element is subject to removal in a future version.static CloseableIteration<org.eclipse.rdf4j.model.Literal>getObjectLiterals(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, TripleSource store)Deprecated, for removal: This API element is subject to removal in a future version.static CloseableIteration<org.eclipse.rdf4j.model.Resource>getObjectResources(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, TripleSource store)Deprecated, for removal: This API element is subject to removal in a future version.static CloseableIteration<org.eclipse.rdf4j.model.IRI>getObjectURIs(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, TripleSource store)Deprecated, for removal: This API element is subject to removal in a future version.static CloseableIteration<org.eclipse.rdf4j.model.IRI>getSubjectURIs(org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Value object, TripleSource store)Deprecated, for removal: This API element is subject to removal in a future version.static CloseableIteration<org.eclipse.rdf4j.model.Value>list(org.eclipse.rdf4j.model.Resource subj, TripleSource store)Deprecated, for removal: This API element is subject to removal in a future version.static CloseableIteration<org.eclipse.rdf4j.model.Resource>listResources(org.eclipse.rdf4j.model.Resource subj, TripleSource store)Deprecated, for removal: This API element is subject to removal in a future version.static org.eclipse.rdf4j.model.Statementsingle(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.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 org.eclipse.rdf4j.model.ValuesingleValue(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, TripleSource store)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
listResources
public static CloseableIteration<org.eclipse.rdf4j.model.Resource> listResources(org.eclipse.rdf4j.model.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<org.eclipse.rdf4j.model.Value> list(org.eclipse.rdf4j.model.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(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, TripleSource store) throws QueryEvaluationExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Throws:
QueryEvaluationException
-
singleValue
public static org.eclipse.rdf4j.model.Value singleValue(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, TripleSource store) throws QueryEvaluationExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Throws:
QueryEvaluationException
-
single
public static org.eclipse.rdf4j.model.Statement single(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, TripleSource store) throws QueryEvaluationExceptionDeprecated, 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<org.eclipse.rdf4j.model.IRI> getSubjectURIs(org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.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<org.eclipse.rdf4j.model.Resource> getObjectResources(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.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<org.eclipse.rdf4j.model.IRI> getObjectURIs(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.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<org.eclipse.rdf4j.model.Literal> getObjectLiterals(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, TripleSource store) throws QueryEvaluationException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
QueryEvaluationException
-
-