...
The rest of the document will focus on the main public facing entities and repository APIs
Sqoop Entities
Represents the sqoop connector's link information. Link encapsulates the details required to connect to the the data source the connector represents. It has one associated config MLinkConfig
Entity | Model | Relationship | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ConfigurableCONFIGURABLE | Configurable.java ( abstract class) | Top Level Entity | Entity Represents a core entity that exposes config objects and used in sqoop job lifecycle. Configurable have a associated version that acts as a identifier for connector config upgrades.
| ||||||||||
CONNECTOR | MConnector.java |
| is a type of configurable There can be many connectors registered to the sqoop server | ||||||||||
DRIVER | MDriver.java |
| is a type of configurable There is only one Driver object representing sqoop in the system | ||||||||||
CONFIG | MConfig.java and @Config annotation | Top Level Entity | MConfigType are the supported config types as of 1.99.5
| ||||||||||
INPUT |
| Top Level EntityConcrete classes for each supported types
|
| Represents the key-value pairs for a given config.
It holds the key-values for the given InputType. | |||||||||
LINK |
MLinkConfig.java | has 1-n configs-inputs objects | Represents the sqoop connector's link information. Link encapsulates the details required to connect to the the data source the connector represents. It has one main component the LINK CONFIG
| ||||||||||
JOB |
|
has 1-n configs-inputs objects has
| Represents the sqoop job. It encapsulates all the required configs to run the sqoop job. Primarily the sqoop job has the 3 main components, the FROM, TO and the DRIVER. FROM and its related FROM-CONFIG MFromConfig represent the config-inputs-values required to Extract data from the source TO and its related TO-CONFIG MToConfig represent the config-inputs-values required to load data to the destination DRIVER and its related DRIVER-CONFIG represent MDriverConfig the config-inputs-values required by the execution engine that runs the sqoop job optimally.
| ||||||||||
SUBMISSION | MSubmission.java | Represents the job run details. Includes the job status, job counters and metrics from the job execution engine |
...