RowWriterProcessor implementation for executing conversion sequences in object arrays before for writing them using any implementation of AbstractWriter.
AbstractWriter, RowWriterProcessor
| Modifier and Type | Field and Description |
|---|---|
| private NormalizedString[] | |
| private String[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object[] | Returns: an row of Object instances containing the values obtained after the execution of all conversions.Fields that do not have any conversion defined will just be copied to the object array into their original positions. the object array that represents a record with its individual fields. input, String[] All field names used to produce records in a given destination. May be null if no headers have been defined in headers, int[] CommonSettings#getHeaders()The indexes of the headers that are actually being written. May be null if no fields have been selected using indexesToWrite)CommonSettings#selectFields(String. or CommonSettings#selectIndexes(Integer.Executes the sequences of conversions defined using |
| public Object[] | Returns: an row of Object instances containing the values obtained after the execution of all conversions.Fields that do not have any conversion defined will just be copied to the object array into their original positions. the object array that represents a record with its individual fields. input, NormalizedString[] All field names used to produce records in a given destination. May be null if no headers have been defined in headers, int[] CommonSettings#getHeaders()The indexes of the headers that are actually being written. May be null if no fields have been selected using indexesToWrite)CommonSettings#selectFields(String. or CommonSettings#selectIndexes(Integer.Implements com. DefaultConversionProcessor#convertFields(Conversion., DefaultConversionProcessor#convertIndexes(Conversion. and DefaultConversionProcessor#convertAll(Conversion., for every field in the given row.
|
| normalizedHeaders | back to summary |
|---|---|
| private NormalizedString[] normalizedHeaders | |
| previousHeaders | back to summary |
|---|---|
| private String[] previousHeaders | |
| ObjectRowWriterProcessor | back to summary |
|---|---|
| public ObjectRowWriterProcessor() | |
| write | back to summary |
|---|---|
| public Object[] write(Object[] input, String[] headers, int[] indexesToWrite) Executes the sequences of conversions defined using Each field will be transformed using the In general the conversions will process a String and convert it to some object value (such as booleans, dates, etc).
| |
| write | back to summary |
|---|---|
| public Object[] write(Object[] input, NormalizedString[] headers, int[] indexesToWrite) Implements com. Executes the sequences of conversions defined using Each field will be transformed using the In general the conversions will process a String and convert it to some object value (such as booleans, dates, etc).
| |