public class LineSplitProcessor extends Object implements org.apache.camel.Processor
Constructor and Description |
---|
LineSplitProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
process(org.apache.camel.Exchange exchange) |
void |
setColumnSeparator(String columnSeparator)
Sets the line separator.
|
void |
setFieldsMapping(Map<String,Integer> fieldsMapping)
Setter of fieldsMapping
|
void |
setHasDeleteColumn(boolean hasDeleteColumn) |
void |
setHasHeader(boolean hasHeader) |
void |
setMergingProperty(String mergingProperty)
Sets the merging property.
|
void |
setMultiValueDelimiter(String multiValueDelimiter)
Sets the multi value delimiter.
|
void |
setMultiValueSeparator(String multiValueSeparator)
Sets the multi value separator.
|
void |
setOverwriteExistingProfiles(boolean overwriteExistingProfiles) |
void |
setProfilePropertyTypes(Collection<PropertyType> profilePropertyTypes)
Sets the profile property types to use for the field mappings
|
void |
setPropertiesToOverwrite(List<String> propertiesToOverwrite) |
public void process(org.apache.camel.Exchange exchange) throws Exception
process
in interface org.apache.camel.Processor
Exception
public void setFieldsMapping(Map<String,Integer> fieldsMapping)
fieldsMapping
- map String,Integer fieldName in ES and the matching column index in the import filepublic void setOverwriteExistingProfiles(boolean overwriteExistingProfiles)
public void setHasHeader(boolean hasHeader)
public void setHasDeleteColumn(boolean hasDeleteColumn)
public void setMergingProperty(String mergingProperty)
mergingProperty
- property used to check if the profile exist when mergingpublic void setColumnSeparator(String columnSeparator)
columnSeparator
- property used to specify a line separator. Defaults to ','public void setMultiValueSeparator(String multiValueSeparator)
multiValueSeparator
- multi value separatorpublic void setMultiValueDelimiter(String multiValueDelimiter)
multiValueDelimiter
- multi value delimiterpublic void setProfilePropertyTypes(Collection<PropertyType> profilePropertyTypes)
profilePropertyTypes
- the collection of property types to useCopyright © 2014–2022 Apache Software Foundation. All rights reserved.