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 voidaddData(org.apache.jena.rdf.model.Model data)Add Triples as they arevoidaddMetaData(java.util.Properties p)Add meta data from the experiment task for example: Query ID and Query text, ExperimentID, WorkerID,...voidendTask(java.lang.String taskID)Ends the task and adds a rdfs:endDate triple with the current timejava.lang.StringtoString()
-
-
-
Method Detail
-
addMetaData
public void addMetaData(java.util.Properties p)
Description copied from interface:StorageAdd meta data from the experiment task for example: Query ID and Query text, ExperimentID, WorkerID,...- Specified by:
addMetaDatain interfaceStorage
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
endTask
public void endTask(java.lang.String taskID)
Ends the task and adds a rdfs:endDate triple with the current time
-
-