Soong
Soong provides a general-purpose ETL library for data migration.
|
Represents the mapping of extracted keys to loaded keys. More...
Public Member Functions | |
saveKeyMap (array $extractedKey, array $loadedKey) | |
Persist the mapping of an extracted key to the corresponding loaded key. More... | |
lookupLoadedKey (array $extractedKey) | |
Retrieve the loaded key corresponding to a given extracted key. More... | |
lookupExtractedKeys (array $loadedKey) | |
Retrieve any extracted keys mapped to a given loaded key. More... | |
delete (array $extractedKey) | |
Remove the mapping for a given extracted key from the map. More... | |
iterate () | |
Iterate over the key map, generating the keys. More... | |
Public Member Functions inherited from ConfigurableComponent | |
getConfigurationValue (string $optionName) | |
Retrieve a configuration value for a named option. More... | |
getAllConfigurationValues () | |
Retrieve a list of all available configuration values. More... | |
Represents the mapping of extracted keys to loaded keys.
saveKeyMap | ( | array | $extractedKey, |
array | $loadedKey | ||
) |
Persist the mapping of an extracted key to the corresponding loaded key.
array | $extractedKey | Extracted key values, keyed by key names. |
array | $loadedKey | Loaded key values, keyed by key names. |
lookupLoadedKey | ( | array | $extractedKey | ) |
Retrieve the loaded key corresponding to a given extracted key.
array | $extractedKey | Extracted key values, keyed by key names. |
lookupExtractedKeys | ( | array | $loadedKey | ) |
Retrieve any extracted keys mapped to a given loaded key.
Note that multiple extracted keys may map to one loaded key - while lookupLoadedKey returns a single key array, lookupExtractedKeys returns an array of key arrays.
array | $loadedKey | Loaded key values, keyed by key names. |
delete | ( | array | $extractedKey | ) |
Remove the mapping for a given extracted key from the map.
array | $extractedKey | Extracted key values, keyed by key names. |
iterate | ( | ) |
Iterate over the key map, generating the keys.