Package org.eclipse.rdf4j.query.parser.sparql

## Class SPARQLDataSet

- java.lang.Object
- - org.eclipse.rdf4j.query.parser.sparql.SPARQLDataSet

-     public class SPARQLDataSet
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SPARQLDataSet()` |
    `SPARQLDataSet​(String defaultGraph)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addNamedGraph​(String graphName, String graphLocation)` |
    `String` | `getDefaultGraph()` |
    `String` | `getGraphLocation​(String graphName)` |
    `Set<String>` | `getGraphNames()` |
    `boolean` | `hasNamedGraphs()` |
    `void` | `setDefaultGraph​(String defaultGraph)` |

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

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

- - ### Constructor Detail

    - #### SPARQLDataSet

          public SPARQLDataSet()

    - #### SPARQLDataSet

          public SPARQLDataSet​(String defaultGraph)

  - ### Method Detail

    - #### setDefaultGraph

          public void setDefaultGraph​(String defaultGraph)

    - #### getDefaultGraph

          public String getDefaultGraph()

    - #### addNamedGraph

          public void addNamedGraph​(String graphName,
                                    String graphLocation)

    - #### hasNamedGraphs

          public boolean hasNamedGraphs()

    - #### getGraphNames

          public Set<String> getGraphNames()

    - #### getGraphLocation

          public String getGraphLocation​(String graphName)