Class QueryBySPARQLCommand

java.lang.Object
de.swa.ui.command.AbstractCommand
de.swa.ui.command.QueryBySPARQLCommand

public class QueryBySPARQLCommand
extends AbstractCommand
class to encapsulate SPARQL commands
  • Constructor Summary

    Constructors 
    Constructor Description
    QueryBySPARQLCommand​(java.lang.String q)  
  • Method Summary

    Modifier and Type Method Description
    void askQuery​(org.apache.jena.query.QueryExecution qexec)  
    void constructQuery​(org.apache.jena.query.QueryExecution qexec)  
    void describeQuery​(org.apache.jena.query.QueryExecution qexec)  
    void execute()  
    void selectQuery​(org.apache.jena.query.QueryExecution qexec)  
    void setSessionId​(java.lang.String s)  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • setSessionId

      public void setSessionId​(java.lang.String s)
    • execute

      public void execute()
      Specified by:
      execute in class AbstractCommand
    • askQuery

      public void askQuery​(org.apache.jena.query.QueryExecution qexec)
    • constructQuery

      public void constructQuery​(org.apache.jena.query.QueryExecution qexec)
    • describeQuery

      public void describeQuery​(org.apache.jena.query.QueryExecution qexec)
    • selectQuery

      public void selectQuery​(org.apache.jena.query.QueryExecution qexec)