Navigation :
test ../../ test data-connectors-overview.html
Atoti Data Connectors Overview
test ../../ test data-connectors-overview/tracing.html
- Tracing
test ../../ test dev-release.html
Release and migration notes
test ../../ test dee-overview.html
Data Extraction Engine
test ../../ test dlc-overview.html
Data Load Controller
test ../../ test dlc-overview/getting-started.html
- Getting Started
test ../../ test dlc-overview/operations.html
-
Operations
test ../../ test dlc-overview/request-api.html
-
Request API
test ../../ test dlc-overview/configuration.html
-
Configuration
test ../../ test dlc-overview/configuration/avro.html
--
Avro
test ../../ test dlc-overview/configuration/csv.html
--
CSV
test ../../ test dlc-overview/configuration/jdbc.html
--
JDBC
test ../../ test dlc-overview/configuration/parquet.html
--
Parquet
test ../../ test dlc-overview/configuration/tuple.html
--
Tuple
test ../../ test dlc-overview/configuration/messaging.html
--
Messaging
test ../../ test dlc-overview/configuration/aliases.html
-- Aliases
test ../../ test dlc-overview/configuration/channel.html
-- Channel
test ../../ test dlc-overview/configuration/cloud-fetching-config.html
-- Cloud Fetching Config
test ../../ test dlc-overview/configuration/custom-field.html
-- Custom Field
test ../../ test dlc-overview/configuration/parser-overrides.html
-- Parser Overrides
test ../../ test dlc-overview/configuration/target.html
-- Target
test ../../ test dlc-overview/configuration/unload-topic.html
-- Unload Topic
test ../../ test dlc-overview/components.html
-
Components
test ../../ test dlc-overview/functional.html
-
Functional
test ../../ test dlc-overview/extensions.html
-
Extensions
Parser Overrides
Parser Overrides are used to override the default parsing behavior of the DLC.
Parser Overrides currently only work with CSV files.
This is a global configuration which will affect which CsvColumnParser’s are added to the channel.
The DLC will implicitly try to match input columns to datastore table fields with the same name.
The data type of the table field is implicitly used for the parser type.
If you need more granular control of the parsers for a CSV topic,
you can explicitly add the CsvColumnParser
column calculator to the channel as a Custom Field .
Java Configuration
ParserOverridesDescription
Spring Beans are picked up as configurations for the DLC.
Example
@Bean
ParserOverridesDescription columnParsingOverrides () {
return ParserOverridesDescription. builder ()
. parserOverride ( StoreFieldNames. MATURITY , STRING)
. parserOverride ( StoreFieldNames. SCENARIO_IDS , INT_ARRAY)
. parserOverride ( StoreFieldNames. PROFIT_AND_LOSS , DOUBLE_ARRAY)
. parserOverride ( StoreFieldNames. PV , DOUBLE_ARRAY)
. parserOverride ( StoreFieldNames. SENSITIVITY , DOUBLE_ARRAY)
. build ();
}