Class SPARQLResultsCSVMappingStrategy
- java.lang.Object
-
- org.eclipse.rdf4j.query.resultio.text.SPARQLResultsXSVMappingStrategy
-
- org.eclipse.rdf4j.query.resultio.text.csv.SPARQLResultsCSVMappingStrategy
-
- All Implemented Interfaces:
com.opencsv.bean.MappingStrategy<BindingSet>
public class SPARQLResultsCSVMappingStrategy extends SPARQLResultsXSVMappingStrategy
Implements aMappingStrategy
to allow opencsv to work in parallel. This is where the input is converted intoBindingSet
s.- Author:
- Andrew Rucker Jones
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.query.resultio.text.SPARQLResultsXSVMappingStrategy
bindingNames, numberPattern, valueFactory
-
-
Constructor Summary
Constructors Constructor Description SPARQLResultsCSVMappingStrategy(ValueFactory valueFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
captureHeader(com.opencsv.CSVReader reader)
BindingSet
populateNewBean(String[] line)
-
Methods inherited from class org.eclipse.rdf4j.query.resultio.text.SPARQLResultsXSVMappingStrategy
generateHeader, getBindingNames, isAnnotationDriven, parseNumberPatternMatch, setErrorLocale, setType, transmuteBean
-
-
-
-
Constructor Detail
-
SPARQLResultsCSVMappingStrategy
public SPARQLResultsCSVMappingStrategy(ValueFactory valueFactory)
-
-
Method Detail
-
captureHeader
public void captureHeader(com.opencsv.CSVReader reader) throws IOException
- Throws:
IOException
-
populateNewBean
public BindingSet populateNewBean(String[] line)
-
-