Package | Description |
---|---|
com.univocity.parsers.common | |
com.univocity.parsers.common.processor | |
com.univocity.parsers.common.routine |
Modifier and Type | Field and Description |
---|---|
private RowWriterProcessor<?> |
CommonWriterSettings.rowWriterProcessor |
private RowWriterProcessor |
AbstractWriter.writerProcessor |
Modifier and Type | Method and Description |
---|---|
RowWriterProcessor<?> |
CommonWriterSettings.getRowWriterProcessor()
Returns the implementation of the interface
RowWriterProcessor which processes input objects into a manageable format for writing. |
Modifier and Type | Method and Description |
---|---|
void |
CommonWriterSettings.setRowWriterProcessor(RowWriterProcessor<?> rowWriterProcessor)
Defines a processor for input objects that converts them into a manageable format for writing.
|
Modifier and Type | Class and Description |
---|---|
class |
BeanWriterProcessor<T>
A
RowWriterProcessor implementation for converting annotated java objects into object arrays suitable for writing in any implementation of AbstractWriter . |
class |
ObjectRowWriterProcessor
A
RowWriterProcessor implementation for executing conversion sequences in object arrays before for writing them using any implementation of AbstractWriter . |
class |
OutputValueSwitch
A concrete implementation of
RowWriterProcessorSwitch that allows switching among different implementations of
RowWriterProcessor based on values found on rows to be written to an output |
class |
RowWriterProcessorSwitch
A special
RowWriterProcessor implementation that combines and allows switching among different
RowWriterProcessors. |
Modifier and Type | Field and Description |
---|---|
(package private) RowWriterProcessor<java.lang.Object[]> |
OutputValueSwitch.Switch.processor |
private RowWriterProcessor |
RowWriterProcessorSwitch.selectedRowWriterProcessor |
Modifier and Type | Method and Description |
---|---|
protected RowWriterProcessor<?> |
OutputValueSwitch.switchRowProcessor(java.lang.Object row) |
protected abstract RowWriterProcessor<?> |
RowWriterProcessorSwitch.switchRowProcessor(java.lang.Object row)
Analyzes an output row to determine whether or not the row writer processor implementation must be changed
|
Modifier and Type | Method and Description |
---|---|
void |
OutputValueSwitch.addSwitchForValue(java.lang.Object value,
RowWriterProcessor<java.lang.Object[]> rowProcessor)
Associates a
RowWriterProcessor implementation with an expected value to be matched in the column provided in the constructor of this class. |
void |
OutputValueSwitch.addSwitchForValue(java.lang.Object value,
RowWriterProcessor<java.lang.Object[]> rowProcessor,
int... indexesToUse)
Associates a
RowWriterProcessor implementation with an expected value to be matched in the column provided in the constructor of this class. |
void |
OutputValueSwitch.addSwitchForValue(java.lang.Object value,
RowWriterProcessor<java.lang.Object[]> rowProcessor,
java.lang.String... headersToUse)
Associates a
RowWriterProcessor implementation with an expected value to be matched in the column provided in the constructor of this class. |
void |
RowWriterProcessorSwitch.rowProcessorSwitched(RowWriterProcessor<?> from,
RowWriterProcessor<?> to)
Notifies a change of row writer processor implementation.
|
void |
RowWriterProcessorSwitch.rowProcessorSwitched(RowWriterProcessor<?> from,
RowWriterProcessor<?> to)
Notifies a change of row writer processor implementation.
|
void |
OutputValueSwitch.setDefaultSwitch(RowWriterProcessor<java.lang.Object[]> rowProcessor,
int... indexesToUse)
Defines a default
RowWriterProcessor implementation to use when no matching value is found in the output row. |
void |
OutputValueSwitch.setDefaultSwitch(RowWriterProcessor<java.lang.Object[]> rowProcessor,
java.lang.String... headersToUse)
Defines a default
RowWriterProcessor implementation to use when no matching value is found in the output row. |
Constructor and Description |
---|
Switch(RowWriterProcessor<java.lang.Object[]> processor,
java.lang.String[] headers,
int[] indexes,
java.lang.Object value) |
Switch(RowWriterProcessor<java.lang.Object[]> processor,
java.lang.String[] headers,
int[] indexes,
java.lang.Object value,
java.lang.Class<?> type) |
Modifier and Type | Method and Description |
---|---|
private void |
AbstractRoutines.setRowWriterProcessor(RowWriterProcessor rowWriterProcessor) |