0% found this document useful (0 votes)
4 views2 pages

Notes 1

Router transformation is an active and connected transformation used for multiple filter conditions, featuring a single input group and multiple output groups, including a default group. It is more efficient than using multiple filter transformations as it reads incoming records only once and automatically handles unsatisfied conditions through the default group. The router is classified as an active transformation because it has more than one output group.

Uploaded by

nachiket dhabale
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views2 pages

Notes 1

Router transformation is an active and connected transformation used for multiple filter conditions, featuring a single input group and multiple output groups, including a default group. It is more efficient than using multiple filter transformations as it reads incoming records only once and automatically handles unsatisfied conditions through the default group. The router is classified as an active transformation because it has more than one output group.

Uploaded by

nachiket dhabale
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

ROUTER TRANSFORMATION: ACTIVE , CONNECTED

-------------------------------------------
1.ROUTER TRASNFORMATION IS ACTIVE , CONNECTED TRANSFORMATION WHICH IS USED WHEN WE
HAVE
MULTIPLE FILTER CONDTIONS.

2.ROUTER TRANFORMATION IS HAVING SINGLE INPUT GROUP , MULTIPLE OUTPUT GROUPS AND
ONE DEFAULT GROUP.

3.WHEN YOU HAVE MULTIPLE FILTER CONDTIONS, INSTEAD OF TAKING MULTIPLE FILTER
TRANSFORATIONS,
TAKE A SINGLE ROUTER TRANSFORMATION.

4. WHATEVER THE THINGS WE CAN DO IN FILTER , WE CAN DO ALL THE THINGS IN ROUTER
ALSO.

5. YOU CAN SEND THE DATA TO DEFAULT GROUP, WHEN ALL OF THE OTHER CONDITONS IN
ROUTER
ARE NOT SATISFIED.

6. What is the advantage of the router over Filter?


a1)Each Filter tranformation will read the incoming records everytime.
If i have , 10 filter tranformations, incoming records will read 10
times.
But , Router will read incoming records only once.
a2)we have write the condtion for not satisfying records in filter
In router , no need to write the condtion for not satisfying recrords
It will be taken by default group.
a3) In Filter you can use only one filter condition, but in router we can have
multiple filter conditions.

Q: What is Active Transformation :


Ans Def1. If the number of incoming records is not equal to number of out going
records . Eg: Filter
Aef2. If any transformation is having more than one input group OR more than
output group , That is called Active Transformation.
Ex : Router

7. Why Router is Active trasnformation - IMP


Ans :
Beucase router transformation is having more than one output group, thats why

router is active transformation.

8. can router have more than one input group ? - NO


9. can router have more than output group ? - yes
10. Can router have more than one default group? - No

1st DEFINITION FOR ACTIVE TRANSFORMATION :


If the Number of records going into the transformation is NOT EQUAL to the number
of the
records coming out of the trasnformation.

2nd DEFINITION FOR ACTIVE TRANSFORMATION :


If any TRANFORMATION contains more than one input group OR more than output group,
that kind
of TRANFORMATION is called Active transformaion.
DEFINTION 2: ACTIVE TR : IF THE INCOMING RECORDS TO TR IS NOT EQUAL TO OUTGOING
RECORDS TO TR
EG: FILTER , AGG , SORTER
DEFINTION 2: ACTIVE TR : IF ANY TRANSFORMAITON HAVING MORE THAN ONE INPUT GROUP OR
MORE THAN
ONE OUTPUT GROUP ,THEN THAT IS CALLED AN ACTIVE TR.
EG: ROUTER TR , UNION TR

raj
v

raj||v =rajv

i_FIRST_NAME||i_LAST_NAME

i_FIRST_NAME||'.'||i_LAST_NAME

DEFINTION 1: ACTIVE TR : IF THE INCOMING RECORDS TO TR IS NOT EQUAL TO OUTGOING


RECORDS TO TR
EG: FILTER , AGG , SORTER
DEFINTION 2: ACTIVE TR : IF ANY TRANSFORMAITON HAVING MORE THAN ONE INPUT GROUP OR
MORE THAN
ONE OUTPUT GROUP ,THEN THAT IS CALLED AN ACTIVE TR.
EG: ROUTER TR , UNION TR

DEFINTION 3: ACTIVE TR :iF ANY TRANSFORMAITON CHANGES THE ORDER OF THE RECORDS ,
THEN THAT IS CALLED ACTIVE TR.

You might also like