Package org.aksw.limes.core.io.query
Class CsvQueryModule
- java.lang.Object
-
- org.aksw.limes.core.io.query.CsvQueryModule
-
- All Implemented Interfaces:
IQueryModule
public class CsvQueryModule extends Object implements IQueryModule
- Version:
- Nov 23, 2015
- Author:
- Axel-C. Ngonga Ngomo (ngonga@informatik.uni-leipzig.de), Mohamed Sherif (sherif@informatik.uni-leipzig.de)
-
-
Constructor Summary
Constructors Constructor Description CsvQueryModule(KBInfo kbinfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfillAllInCache(ACache c)Read a CSV file and write the content in a cache.voidfillCache(ACache c)Read a CSV file and write the content in a cache.voidsetSeparation(String s)
-
-
-
Constructor Detail
-
CsvQueryModule
public CsvQueryModule(KBInfo kbinfo)
-
-
Method Detail
-
setSeparation
public void setSeparation(String s)
-
fillCache
public void fillCache(ACache c)
Read a CSV file and write the content in a cache. The first line is the name of the properties.- Specified by:
fillCachein interfaceIQueryModule- Parameters:
c- Cache in which the content is to be written
-
fillAllInCache
public void fillAllInCache(ACache c)
Read a CSV file and write the content in a cache. The first line is the name of the properties.- Parameters:
c- Cache in which the content is to be written
-
-