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(org.eclipse.rdf4j.model.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 org.eclipse.rdf4j.model.Literal |
parseLiteral(String literal)
Parses a literal, creates an object for it and returns this object.
|
protected org.eclipse.rdf4j.model.Value |
parseValue(String valueString) |
BindingSet |
populateNewBean(String[] line) |
createBean, findDescriptor, findField, findMaxFieldIndex, generateHeader, getBindingNames, getColumnIndex, isAnnotationDriven, parseNumberPatternMatch, populateNewBeanWithIntrospection, setErrorLocale, setType, transmuteBean, verifyLineLengthpublic SPARQLResultsTSVMappingStrategy(org.eclipse.rdf4j.model.ValueFactory valueFactory)
public void captureHeader(com.opencsv.CSVReader reader)
throws IOException
IOExceptionpublic BindingSet populateNewBean(String[] line)
protected org.eclipse.rdf4j.model.Value parseValue(String valueString)
protected org.eclipse.rdf4j.model.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-2021 Eclipse Foundation. All Rights Reserved.