Package org.aksw.iguana.cc.tasks
Interface Task
-
- All Known Implementing Classes:
AbstractTask,Stresstest
public interface TaskA simple Task to execute- Author:
- f.conrads
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddMetaData()Will add the Meta data for the start which then can be saved into the triple based storagesvoidclose()Will close the Task and post process everything (e.g.voidexecute()Will execute the Taskvoidinit(java.lang.String[] ids, java.lang.String dataset, Connection con)Will initialize the taskvoidsendResults(java.util.Properties data)Will send the results to the result processing.voidstart()Will start the Task (sending the rabbitMQ start flag)
-
-
-
Method Detail
-
execute
void execute()
Will execute the Task
-
start
void start()
Will start the Task (sending the rabbitMQ start flag)
-
sendResults
void sendResults(java.util.Properties data) throws java.io.IOExceptionWill send the results to the result processing.- Parameters:
data-- Throws:
java.io.IOException
-
close
void close()
Will close the Task and post process everything (e.g. send the end flag to the rabbit mq queue)
-
addMetaData
void addMetaData()
Will add the Meta data for the start which then can be saved into the triple based storages
-
init
void init(java.lang.String[] ids, java.lang.String dataset, Connection con)Will initialize the task- Parameters:
ids- normally the suiteID, experimentID, taskIDdataset- the dataset namecon- the current connection to execute the task against
-
-