Package org.aksw.iguana.rp.storage.impl
Class NTFileStorage
- java.lang.Object
-
- org.aksw.iguana.rp.storage.TripleBasedStorage
-
- org.aksw.iguana.rp.storage.impl.NTFileStorage
-
- All Implemented Interfaces:
Storage
@Shorthand("NTFileStorage") public class NTFileStorage extends TripleBasedStorage
Will save results as NTriple File either using the provided name or the a generated one.- Author:
- f.conrads
-
-
Constructor Summary
Constructors Constructor Description NTFileStorage()
Uses a generated file called results_{DD}-{MM}-{YYYY}_{HH}-{mm}.ntNTFileStorage(java.lang.String fileName)
Uses the provided filename
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
commit()
Commit a DataBlock to the Storage.java.lang.String
getFileName()
java.lang.String
toString()
-
Methods inherited from class org.aksw.iguana.rp.storage.TripleBasedStorage
addData, addMetaData, endTask
-
-
-
-
Method Detail
-
commit
public void commit()
Description copied from interface:Storage
Commit a DataBlock to the Storage. Keep in mind, that all received Data is from the metrics and should be saved as it is.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classTripleBasedStorage
-
getFileName
public java.lang.String getFileName()
-
-