Class IteratingGraphQueryResult
java.lang.Object
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<Statement, QueryEvaluationException>
org.eclipse.rdf4j.common.iteration.IterationWrapper<Statement, QueryEvaluationException>
org.eclipse.rdf4j.query.impl.IteratingGraphQueryResult
- All Implemented Interfaces:
AutoCloseable, Iterable<Statement>, CloseableIteration<Statement, QueryEvaluationException>, Iteration<Statement, QueryEvaluationException>, GraphQueryResult, QueryResult<Statement>
- Direct Known Subclasses:
GraphQueryResultImpl
@Deprecated(since="4.1.0")
public class IteratingGraphQueryResult
extends IterationWrapper<Statement, QueryEvaluationException>
implements GraphQueryResult
Deprecated.
An iterating implementation of the
GraphQueryResult interface.-
Field Summary
FieldsFields inherited from class IterationWrapper
wrappedIter -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.IteratingGraphQueryResult(Map<String, String> namespaces, Iterator<? extends Statement> statementIter) Deprecated.IteratingGraphQueryResult(Map<String, String> namespaces, CloseableIteration<? extends Statement, ? extends QueryEvaluationException> statementIter) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Retrieves relevant namespaces from the query result.Methods inherited from class IterationWrapper
handleClose, hasNext, next, removeMethods inherited from class AbstractCloseableIteration
close, isClosedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseableIteration
closeMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface QueryResult
hasNext, iterator, next, stream
-
Field Details
-
namespaces
-
-
Constructor Details
-
IteratingGraphQueryResult
-
IteratingGraphQueryResult
-
IteratingGraphQueryResult
public IteratingGraphQueryResult(Map<String, String> namespaces, CloseableIteration<? extends Statement, ? extends QueryEvaluationException> statementIter) Deprecated.
-
-
Method Details
-
getNamespaces
Deprecated.Description copied from interface:GraphQueryResultRetrieves relevant namespaces from the query result.
The contents of the Map may be modified after it is returned, as the initial return may be performed when the first RDF Statement is encountered.- Specified by:
getNamespacesin interfaceGraphQueryResult- Returns:
- a Map<String, String> object containing (prefix, namespace) pairs.
-