org.filteredpush.applepie.jobs
Class ApplePieSparqlQueryJob
java.lang.Object
org.filteredpush.triage.api.AbstractJob
org.filteredpush.applepie.jobs.ApplePieSparqlQueryJob
- All Implemented Interfaces:
- java.lang.Cloneable
public class ApplePieSparqlQueryJob
- extends AbstractJob
ApplePieSparqlQueryJob will take the content of a message with scheme SPARQL and
message type QUERY and launch a SPARQL query against the triple store containing the
annotation triples. The results are then placed into an FPMessage to be retreived later
by a MessageRetriver implemenation.
- Author:
- Paul J. Morris, dlowery
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplePieSparqlQueryJob
public ApplePieSparqlQueryJob()
setMessage
public void setMessage(FPMessage messageContainingQuery)
throws UnsupportedMessageTypeException
- Construct a query job to run a SPARQL query.
- Overrides:
setMessage in class AbstractJob
- Parameters:
message - FP message containing a query expressible as SPARQL.
- Throws:
UnsupportedMessageTypeException
execute
public void execute()
throws JobExecutionException
- Overrides:
execute in class AbstractJob
- Throws:
JobExecutionException