Navigation :
test ../../ test dash-overview.html
Datastore Helper Overview
test ../../ test api-interfaces.html
API interfaces and default implementations
test ../../ test make-project-customisable.md.html
Making a project customizable using the Datastore Helper API
test ../../ test customising-schema-with-configurator.html
Customizing schemas using the configurator
test ../../ test customising-schema-with-configurator/bean-order.html
- Bean ordering
test ../../ test customising-schema-with-configurator/examples.html
-
Examples
test ../../ test customising-schema-with-configurator/examples/insert-field.html
-- Inserting fields
test ../../ test customising-schema-with-configurator/examples/append-field.html
-- Appending fields
test ../../ test customising-schema-with-configurator/examples/remove-field.html
-- Removing fields
test ../../ test customising-schema-with-configurator/examples/change-field.html
-- Changing fields
test ../../ test customising-schema-with-configurator/examples/add-mapping.html
-- Adding mappings to an existing reference
test ../../ test customising-schema-with-configurator/examples/remove-mapping.html
-- Removing mappings from an existing reference
test ../../ test customising-schema-with-configurator/examples/modify-store-config.html
-- Modifying store configurations
test ../../ test customising-schema-with-configurator/examples/add-store.html
-- Adding stores
test ../../ test customising-schema-with-configurator/examples/add-reference.html
-- Adding references
test ../../ test customising-schema-with-configurator/examples/further-examples.html
-- Further examples
test ../../ test dev-release.html
Release and migration notes
Modifying store configurations
Adding an index on the TradeAttributes
store in the PnL
schema. Setting a global config for the chunksize, overridden by the TradeAttributes
configuration:
IMutableStore config = new MutableStoreConfig();
config
. withIndexOn ( "InstrumentClass" , "AsOfDate" );
config
. withChunkSize ( 2048);
IMutableStore globalConfig = new MutableStoreConfig();
globalConfig
. withChunkSize ( 1024);
configurator. addConfiguration ( "PnL" , "TradeAttributes" , config);
configurator. addConfiguration ( ConfigurationConstants. ALL_STORES , globalConfig);