Package org.aksw.iguana.rp.storage
Interface Storage
-
- All Known Implementing Classes:
NTFileStorage
,TripleBasedStorage
,TriplestoreStorage
public interface Storage
Interface for the Result Storages- Author:
- f.conrads
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addData(org.apache.jena.rdf.model.Model data)
Add Triples as they arevoid
addMetaData(java.util.Properties p)
Add meta data from the experiment task for example: Query ID and Query text, ExperimentID, WorkerID,...void
commit()
Commit a DataBlock to the Storage.void
endTask(java.lang.String taskID)
Will tell the storage that the task with taskID ended
-
-
-
Method Detail
-
addData
void addData(org.apache.jena.rdf.model.Model data)
Add Triples as they are- Parameters:
data
-
-
addMetaData
void addMetaData(java.util.Properties p)
Add meta data from the experiment task for example: Query ID and Query text, ExperimentID, WorkerID,...- Parameters:
p
-
-
commit
void commit()
Commit a DataBlock to the Storage. Keep in mind, that all received Data is from the metrics and should be saved as it is.
-
endTask
void endTask(java.lang.String taskID)
Will tell the storage that the task with taskID ended- Parameters:
taskID
-
-
-