public class SPARQLResultsCSVMappingStrategy extends Object implements com.opencsv.bean.MappingStrategy<BindingSet>
MappingStrategy to allow opencsv to work in parallel.
This is where the input is converted into BindingSets.| Constructor and Description |
|---|
SPARQLResultsCSVMappingStrategy(ValueFactory valueFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
captureHeader(com.opencsv.CSVReader reader) |
BindingSet |
createBean()
Deprecated.
|
PropertyDescriptor |
findDescriptor(int col)
Deprecated.
|
com.opencsv.bean.BeanField<BindingSet> |
findField(int col)
Deprecated.
|
int |
findMaxFieldIndex()
Deprecated.
|
String[] |
generateHeader(BindingSet bean) |
List<String> |
getBindingNames() |
Integer |
getColumnIndex(String name)
Deprecated.
|
boolean |
isAnnotationDriven() |
BindingSet |
populateNewBean(String[] line) |
BindingSet |
populateNewBeanWithIntrospection(String[] line)
Deprecated.
|
void |
setErrorLocale(Locale errorLocale) |
void |
setType(Class<? extends BindingSet> type) |
String[] |
transmuteBean(BindingSet bean) |
void |
verifyLineLength(int numberOfFields)
Deprecated.
|
public SPARQLResultsCSVMappingStrategy(ValueFactory valueFactory)
@Deprecated public PropertyDescriptor findDescriptor(int col)
findDescriptor in interface com.opencsv.bean.MappingStrategy<BindingSet>@Deprecated public com.opencsv.bean.BeanField<BindingSet> findField(int col)
findField in interface com.opencsv.bean.MappingStrategy<BindingSet>@Deprecated public int findMaxFieldIndex()
findMaxFieldIndex in interface com.opencsv.bean.MappingStrategy<BindingSet>@Deprecated public BindingSet createBean()
createBean in interface com.opencsv.bean.MappingStrategy<BindingSet>public void captureHeader(com.opencsv.CSVReader reader)
throws IOException
captureHeader in interface com.opencsv.bean.MappingStrategy<BindingSet>IOExceptionpublic String[] generateHeader(BindingSet bean)
generateHeader in interface com.opencsv.bean.MappingStrategy<BindingSet>@Deprecated public Integer getColumnIndex(String name)
getColumnIndex in interface com.opencsv.bean.MappingStrategy<BindingSet>public boolean isAnnotationDriven()
isAnnotationDriven in interface com.opencsv.bean.MappingStrategy<BindingSet>public BindingSet populateNewBean(String[] line)
populateNewBean in interface com.opencsv.bean.MappingStrategy<BindingSet>@Deprecated public BindingSet populateNewBeanWithIntrospection(String[] line)
populateNewBeanWithIntrospection in interface com.opencsv.bean.MappingStrategy<BindingSet>@Deprecated public void verifyLineLength(int numberOfFields)
verifyLineLength in interface com.opencsv.bean.MappingStrategy<BindingSet>public void setErrorLocale(Locale errorLocale)
setErrorLocale in interface com.opencsv.bean.MappingStrategy<BindingSet>public void setType(Class<? extends BindingSet> type)
setType in interface com.opencsv.bean.MappingStrategy<BindingSet>public String[] transmuteBean(BindingSet bean)
transmuteBean in interface com.opencsv.bean.MappingStrategy<BindingSet>Copyright © 2015-2018 Eclipse Foundation. All Rights Reserved.