[ 
https://issues.apache.org/jira/browse/SQOOP-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Veena Basavaraj updated SQOOP-1498:
-----------------------------------
    Description: 
See the attached PDF.


Currently there is a lot of overlap with the entity model classes. All the 
entity model classes are prefixed with "M". 

The proposed refactoring will have the following things.

No more MConnectionForms and MJobForms. The big different is the use of the 
terminology context to hold all the job related information. 

MContext ( abstract)
MFromContext
MToContext
MDriverContext

MContext entity belongs to a MJob
MInput (MContext has one or more MInputs)

MJob has  MFromContext, MToContext, MDriverContext

MConnector ( Connector has one or more links)
MLink belongs to a MConnector

MJobRun belongs to a MJob ( Job has one or more JobRuns)


End of Story!




  was:
See the attached PDF.


Currently there is a lot of overlap with the entity model classes. All the 
entity model classes are prefixed with "M". 

The proposed refactoring will have the following objects

MContext ( abstract)
MFromContext
MToContext
MDriverContext

MContext entity belongs to a MJob
MInput (MContext has one or more MInputs)

MJob has  MFromContext, MToContext, MDriverContext

MConnector ( Connector has one or more links)
MLink belongs to a MConnector

MJobRun belongs to a MJob ( Job has one or more JobRuns)


End of Story!





> Sqoop2: Sqoop2 Job Store object refactoring ( objects prefixed with M)
> ----------------------------------------------------------------------
>
>                 Key: SQOOP-1498
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1498
>             Project: Sqoop
>          Issue Type: Improvement
>            Reporter: Veena Basavaraj
>            Assignee: Veena Basavaraj
>         Attachments: sqoop2.pdf
>
>
> See the attached PDF.
> Currently there is a lot of overlap with the entity model classes. All the 
> entity model classes are prefixed with "M". 
> The proposed refactoring will have the following things.
> No more MConnectionForms and MJobForms. The big different is the use of the 
> terminology context to hold all the job related information. 
> MContext ( abstract)
> MFromContext
> MToContext
> MDriverContext
> MContext entity belongs to a MJob
> MInput (MContext has one or more MInputs)
> MJob has  MFromContext, MToContext, MDriverContext
> MConnector ( Connector has one or more links)
> MLink belongs to a MConnector
> MJobRun belongs to a MJob ( Job has one or more JobRuns)
> End of Story!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to