Module: NcsNavigator::Warehouse::Transformers
- Defined in:
- lib/ncs_navigator/warehouse/transformers.rb,
lib/ncs_navigator/warehouse/transformers/vdr_xml.rb,
lib/ncs_navigator/warehouse/transformers/database.rb,
lib/ncs_navigator/warehouse/transformers/mdes_csv.rb,
lib/ncs_navigator/warehouse/transformers/sampling_units.rb,
lib/ncs_navigator/warehouse/transformers/sql_transformer.rb,
lib/ncs_navigator/warehouse/transformers/enum_transformer.rb,
lib/ncs_navigator/warehouse/transformers/foreign_key_index.rb,
lib/ncs_navigator/warehouse/transformers/subprocess_transformer.rb,
lib/ncs_navigator/warehouse/transformers/event_start_from_contact_transformer.rb,
lib/ncs_navigator/warehouse/transformers/foreign_key_index/static_key_provider.rb,
lib/ncs_navigator/warehouse/transformers/foreign_key_index/database_key_provider.rb
Overview
Data transformers and related code. A transformer in MDES
Warehouse is an object that has a #transform
method that uses
some configured or implied input and converts it into records in
the warehouse.
EnumTransformer is a transformer that takes an
Enumerable
of MDES Warehouse model instances, validates and
saves them. It's a good general base for your own transformers.
Defined Under Namespace
Modules: Database, MdesCsv Classes: EnumTransformer, EventStartFromContactTransformer, ForeignKeyIndex, SamplingUnits, SqlTransformer, SubprocessTransformer, VdrXml