Package org.aksw.iguana.rp.storage
Class TripleBasedStorage
- java.lang.Object
-
- org.aksw.iguana.rp.storage.TripleBasedStorage
-
- All Implemented Interfaces:
Storage
- Direct Known Subclasses:
NTFileStorage
,TriplestoreStorage
public abstract class TripleBasedStorage extends java.lang.Object implements Storage
This Storage will save all the metric results as triples- Author:
- f.conrads
-
-
Constructor Summary
Constructors Constructor Description TripleBasedStorage()
-
Method Summary
All Methods Instance Methods Concrete 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
endTask(java.lang.String taskID)
Ends the task and adds a rdfs:endDate triple with the current timejava.lang.String
toString()
-
-
-
Method Detail
-
addMetaData
public void addMetaData(java.util.Properties p)
Description copied from interface:Storage
Add meta data from the experiment task for example: Query ID and Query text, ExperimentID, WorkerID,...- Specified by:
addMetaData
in interfaceStorage
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
endTask
public void endTask(java.lang.String taskID)
Ends the task and adds a rdfs:endDate triple with the current time
-
-