Package de.swa.ui.command
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 voidaskQuery(org.apache.jena.query.QueryExecution qexec)voidconstructQuery(org.apache.jena.query.QueryExecution qexec)voiddescribeQuery(org.apache.jena.query.QueryExecution qexec)voidexecute()voidselectQuery(org.apache.jena.query.QueryExecution qexec)voidsetSessionId(java.lang.String s)
-
Constructor Details
-
QueryBySPARQLCommand
public QueryBySPARQLCommand(java.lang.String q)
-
-
Method Details
-
setSessionId
public void setSessionId(java.lang.String s) -
execute
public void execute()- Specified by:
executein classAbstractCommand
-
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)
-