public class SPARQLResultsTSVMappingStrategy extends SPARQLResultsXSVMappingStrategy
MappingStrategy to allow opencsv to work in parallel. This is where the input
is converted into BindingSets.bindingNames, numberPattern, valueFactory| Constructor and Description |
|---|
SPARQLResultsTSVMappingStrategy(ValueFactory valueFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
captureHeader(com.opencsv.CSVReader reader) |
protected static String |
decodeString(String s)
Decodes an encoded Turtle string.
|
protected Literal |
parseLiteral(String literal)
Parses a literal, creates an object for it and returns this object.
|
protected Value |
parseValue(String valueString) |
BindingSet |
populateNewBean(String[] line) |
createBean, findDescriptor, findField, findMaxFieldIndex, generateHeader, getBindingNames, getColumnIndex, isAnnotationDriven, parseNumberPatternMatch, populateNewBeanWithIntrospection, setErrorLocale, setType, transmuteBean, verifyLineLengthpublic SPARQLResultsTSVMappingStrategy(ValueFactory valueFactory)
public void captureHeader(com.opencsv.CSVReader reader)
throws IOException
IOExceptionpublic BindingSet populateNewBean(String[] line)
protected Literal parseLiteral(String literal) throws IllegalArgumentException
literal - The literal to parse.IllegalArgumentException - If the supplied literal could not be parsed correctly.protected static String decodeString(String s)
s - An encoded Turtle string.IllegalArgumentException - If the supplied string is not a correctly encoded Turtle string.Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.