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 and Description
    `BackgroundResultExecutor(ExecutorService executor)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()` Force close any executing background result parsers
    `GraphQueryResult` | `parse(RDFParser parser, InputStream in, Charset charset, String baseURI)`
    `TupleQueryResult` | `parse(TupleQueryResultParser parser, InputStream in)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BackgroundResultExecutor

          public BackgroundResultExecutor(ExecutorService executor)

  - ### Method Detail

    - #### parse

          public TupleQueryResult parse(TupleQueryResultParser parser,
                                        InputStream in)

    - #### parse

          public GraphQueryResult parse(RDFParser parser,
                                        InputStream in,
                                        Charset charset,
                                        String baseURI)

    - #### close

          public void close()

      Force close any executing background result parsers
      Specified by:
        `close` in interface `AutoCloseable`

Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.