If you want to change some default Clover settings predefined in
the defaultProperties file, you need to select
Run Configurations, switch to its
Arguments tab and type the following in the
Program arguments pane: -config
defaultProperties. This is the simplest way.
Before doing this, you need copy the
defaultProperties file into your project
directory and change some variables in this file. Or you can delete
those that remain unchanged. When running your graph containing such
-config defaultProperties Program
argument, the settings will be retrieved from this file
located within your project directory instead of the original file in
its original place.
The original file is contained in the
cloveretl.engine.jar file in its
org/jetel/data subfolder. Copy the file from this
place to your project directory and do what described above.
Here we present a part of the whole list of properties and their
values as they are defined in the
defaultProperties file:
Record.MAX_RECORD_SIZE = 12288
Record.DEFAULT_COMPRESSION_LEVEL=5
DataParser.FIELD_BUFFER_LENGTH = 4096
DataFormatter.FIELD_BUFFER_LENGTH = 4096
DEFAULT_INTERNAL_IO_BUFFER_SIZE = 49152
DEFAULT_IOSTREAM_CHANNEL_BUFFER_SIZE = 2048
Data.DATA_RECORDS_BUFFER_SIZE = 10485760
Data.MAX_BUFFERS_ALLOCATED = 99
Lookup.LOOKUP_INITIAL_CAPACITY = 512
DataFieldMetadata.DECIMAL_LENGTH = 8
DataFieldMetadata.DECIMAL_SCALE = 2
![]() | Important |
|---|---|
Among many other properties, there is also another one that allows to define locale that should be used as the default one. The setting is the following:
If you do not want that CloverETL
use system locale, uncomment this row and set the
|