org.eclipse.rdf4j.query.parser.sparql

## Class DatasetDeclProcessor

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

-     @InternalUseOnly
      public class DatasetDeclProcessor
      extends Object

  Extracts a SPARQL `Dataset` from an ASTQueryContainer, if one is contained.
  Author:
    Simon Schenk, Arjohn Kampman

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DatasetDeclProcessor()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Dataset` | `process(org.eclipse.rdf4j.query.parser.sparql.ast.ASTOperationContainer qc)` Extracts a SPARQL `Dataset` from an ASTQueryContainer, if one is contained.

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

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

- - ### Constructor Detail

    - #### DatasetDeclProcessor

          public DatasetDeclProcessor()

  - ### Method Detail

    - #### process

          public static Dataset process(org.eclipse.rdf4j.query.parser.sparql.ast.ASTOperationContainer qc)
                                 throws MalformedQueryException

      Extracts a SPARQL `Dataset` from an ASTQueryContainer, if one is contained. Returns null otherwise.
      Parameters:
        `qc` - The query model to resolve relative URIs in.
      Throws:
        `MalformedQueryException` - If DatasetClause does not contain a valid URI.

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