Package org.eclipse.rdf4j.http.client
Class BackgroundResultExecutor
- java.lang.Object
-
- org.eclipse.rdf4j.http.client.BackgroundResultExecutor
-
- All Implemented Interfaces:
AutoCloseable
public class BackgroundResultExecutor extends Object implements AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description BackgroundResultExecutor(ExecutorService executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Force close any executing background result parsersTupleQueryResult
parse(TupleQueryResultParser parser, InputStream in, WeakReference<?> callerReference)
GraphQueryResult
parse(RDFParser parser, InputStream in, Charset charset, String baseURI, WeakReference<?> callerReference)
-
-
-
Constructor Detail
-
BackgroundResultExecutor
public BackgroundResultExecutor(ExecutorService executor)
-
-
Method Detail
-
parse
public TupleQueryResult parse(TupleQueryResultParser parser, InputStream in, WeakReference<?> callerReference)
-
parse
public GraphQueryResult parse(RDFParser parser, InputStream in, Charset charset, String baseURI, WeakReference<?> callerReference)
-
close
public void close()
Force close any executing background result parsers- Specified by:
close
in interfaceAutoCloseable
-
-