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 Details

    • DatasetDeclProcessor

      public DatasetDeclProcessor()
  • Method Details

    • 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.