Soong
Soong provides a general-purpose ETL library for data migration.
Loader Interface Reference

Loaders take one Record at a time and load them into a destination. More...

Inheritance diagram for Loader:
ConfigurableComponent PropertyList LoaderBase PrintR VarDump

Public Member Functions

 __invoke (RecordPayload $payload)
 This needs to return disposition (success, failure) and key of result. More...
 
 delete (array $key)
 Remove a record which has been loaded from the destination. 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...
 
- Public Member Functions inherited from PropertyList
 getProperties ()
 List the properties available in records generated by this extractor. More...
 
 getKeyProperties ()
 List the properties which form a unique key for the extracted data. More...
 

Detailed Description

Loaders take one Record at a time and load them into a destination.

Member Function Documentation

◆ __invoke()

__invoke ( RecordPayload  $payload)

This needs to return disposition (success, failure) and key of result.

Parameters
RecordPayload$payloadPayload containing data to be loaded into the destination.
Exceptions

Implemented in PrintR, and VarDump.

◆ delete()

delete ( array  $key)

Remove a record which has been loaded from the destination.

Parameters
array$keyUnique key of the destination record to be removed.
Exceptions

Implemented in PrintR, and VarDump.