Uses of Interface
org.eclipse.rdf4j.query.GraphQueryResult
-
Packages that use GraphQueryResult Package Description org.eclipse.rdf4j.query Interfaces and classes for handling queries and query results.org.eclipse.rdf4j.query.impl -
-
Uses of GraphQueryResult in org.eclipse.rdf4j.query
Methods in org.eclipse.rdf4j.query that return GraphQueryResult Modifier and Type Method Description static GraphQueryResultQueryResults. distinctResults(GraphQueryResult queryResult)Returns aGraphQueryResultthat filters out any duplicate solutions from the supplied queryResult.GraphQueryResultGraphQuery. evaluate()static GraphQueryResultQueryResults. limitResults(GraphQueryResult queryResult, long limit, long offset)Returns aGraphQueryResultthat returns at most the specified maximum number of solutions, starting at the supplied offset.static GraphQueryResultQueryResults. parseGraphBackground(InputStream in, String baseURI, RDFFormat format)Parses an RDF document and returns it as a GraphQueryResult object, with parsing done on a separate thread in the background.
IMPORTANT: As this method will spawn a new thread in the background, it is vitally important that the resulting GraphQueryResult be closed consistently when it is no longer required, to prevent resource leaks.static GraphQueryResultQueryResults. parseGraphBackground(InputStream in, String baseURI, RDFParser parser)Parses an RDF document and returns it as a GraphQueryResult object, with parsing done on a separate thread in the background.
IMPORTANT: As this method will spawn a new thread in the background, it is vitally important that the resulting GraphQueryResult be closed consistently when it is no longer required, to prevent resource leaks.Methods in org.eclipse.rdf4j.query with parameters of type GraphQueryResult Modifier and Type Method Description static GraphQueryResultQueryResults. distinctResults(GraphQueryResult queryResult)Returns aGraphQueryResultthat filters out any duplicate solutions from the supplied queryResult.static booleanQueryResults. equals(GraphQueryResult result1, GraphQueryResult result2)Compares two graph query results and returnstrueif they are equal.static GraphQueryResultQueryResults. limitResults(GraphQueryResult queryResult, long limit, long offset)Returns aGraphQueryResultthat returns at most the specified maximum number of solutions, starting at the supplied offset.static voidQueryResults. report(GraphQueryResult graphQueryResult, RDFHandler rdfHandler)Reports a graph query result to anRDFHandler.static org.eclipse.rdf4j.model.StatementQueryResults. singleResult(GraphQueryResult result)Returns a single element from the query result.The QueryResult is automatically closed by this method. -
Uses of GraphQueryResult in org.eclipse.rdf4j.query.impl
Classes in org.eclipse.rdf4j.query.impl that implement GraphQueryResult Modifier and Type Class Description classBackgroundGraphResultProvides concurrent access to statements as they are being parsed when instances of this class are run as Threads.classIteratingGraphQueryResultAn iterating implementation of theGraphQueryResultinterface.
-