org.eclipse.rdf4j.federated.endpoint

## Class SparqlEndpointConfiguration

- java.lang.Object
- - org.eclipse.rdf4j.federated.endpoint.SparqlEndpointConfiguration

- All Implemented Interfaces:
    EndpointConfiguration

      public class SparqlEndpointConfiguration
      extends Object
      implements EndpointConfiguration

  Additional `EndpointConfiguration` for SPARQL endpoints.
  Author:
    Andreas Schwarte

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SparqlEndpointConfiguration()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setSupportsASKQueries(boolean flag)` Define whether this endpoint supports ASK queries.
    `boolean` | `supportsASKQueries()` Flag indicating whether ASK queries are supported.

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

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

- - ### Constructor Detail

    - #### SparqlEndpointConfiguration

          public SparqlEndpointConfiguration()

  - ### Method Detail

    - #### supportsASKQueries

          public boolean supportsASKQueries()

      Flag indicating whether ASK queries are supported. Specific `TripleSource` implementations may use this information to decide whether to use ASK or SELECT for source selection.
      Returns:
        boolean indicating whether ASK queries are supported

    - #### setSupportsASKQueries

          public void setSupportsASKQueries(boolean flag)

      Define whether this endpoint supports ASK queries.
      Parameters:
        `flag` -

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