Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: CBR

  1. #1
    Pooyan Farahani Guest

    Default CBR

    Hi All,


    I have a use case, which requires a ContentBased Routing, I have initially
    thought to implement a plug-in with a decision table. So based on the
    checking criteria it should call putRow into a different hop, but what I am
    not sure is whether distribution of data to different hops are manageable,
    in a sense that I could place the data into one particular outgoing hop.

    In case, there are other solutions for this CBR, I would appreciate your
    advice.




    Many thanks,
    Pooyan

    --
    You received this message because you are subscribed to the Google Groups "kettle-developers" group.
    To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
    To unsubscribe from this group, send email to kettle-developers+unsubscribe (AT) g...oups (DOT) com.
    For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en.

  2. #2
    Roland Bouman Guest

    Default Re: CBR

    Pooyan,

    can't you use the switch / case transformation step for this? This is
    in the "Flow" category.

    On Sat, Mar 5, 2011 at 1:12 PM, Pooyan Farahani <p.farahani (AT) gmail (DOT) com> wrote:
    > Hi All,
    >
    >
    > I have a use case, which requires a ContentBased Routing, I have initially
    > thought to implement a plug-in with a decision table. So based on the
    > checking criteria it should call putRow into a different hop, but what I am
    > not sure is whether distribution of data to different hops are manageable,
    > in a sense that I could place the data into one particular outgoing hop.
    >
    > In case, there are other solutions for this CBR, I would appreciate your
    > advice.
    >
    >
    >
    >
    > Many thanks,
    > Pooyan
    >
    > --
    > You received this message because you are subscribed to the Google Groups
    > "kettle-developers" group.
    > To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
    > To unsubscribe from this group, send email to
    > kettle-developers+unsubscribe (AT) g...oups (DOT) com.
    > For more options, visit this group at
    > http://groups.google.com/group/kettle-developers?hl=en.
    >




    --
    Roland Bouman
    blog: http://rpbouman.blogspot.com/
    twitter: @rolandbouman

    Author of "Pentaho Solutions: Business Intelligence and Data
    Warehousing with Pentaho and MySQL",
    http://tinyurl.com/lvxa88 (Wiley, ISBN: 978-0-470-48432-6)

    Author of "Pentaho Kettle Solutions: Building Open Source ETL
    Solutions with Pentaho Data Integration",
    http://tinyurl.com/33r7a8m (Wiley, ISBN: 978-0-470-63517-9)

    --
    You received this message because you are subscribed to the Google Groups "kettle-developers" group.
    To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
    To unsubscribe from this group, send email to kettle-developers+unsubscribe (AT) g...oups (DOT) com.
    For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en.

  3. #3
    Pooyan Farahani Guest

    Default Re: CBR

    Thanks Roland,

    Yes, indeed I could use it.

    Thank you very much!
    Pooyan

    On Sat, Mar 5, 2011 at 10:47 PM, Roland Bouman <roland.bouman (AT) gmail (DOT) com>wrote:

    > Pooyan,
    >
    > can't you use the switch / case transformation step for this? This is
    > in the "Flow" category.
    >
    > On Sat, Mar 5, 2011 at 1:12 PM, Pooyan Farahani <p.farahani (AT) gmail (DOT) com>
    > wrote:
    > > Hi All,
    > >
    > >
    > > I have a use case, which requires a ContentBased Routing, I have

    > initially
    > > thought to implement a plug-in with a decision table. So based on the
    > > checking criteria it should call putRow into a different hop, but what I

    > am
    > > not sure is whether distribution of data to different hops are

    > manageable,
    > > in a sense that I could place the data into one particular outgoing hop.
    > >
    > > In case, there are other solutions for this CBR, I would appreciate your
    > > advice.
    > >
    > >
    > >
    > >
    > > Many thanks,
    > > Pooyan
    > >
    > > --
    > > You received this message because you are subscribed to the Google Groups
    > > "kettle-developers" group.
    > > To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
    > > To unsubscribe from this group, send email to
    > > kettle-developers+unsubscribe (AT) g...oups (DOT) com.
    > > For more options, visit this group at
    > > http://groups.google.com/group/kettle-developers?hl=en.
    > >

    >
    >
    >
    > --
    > Roland Bouman
    > blog: http://rpbouman.blogspot.com/
    > twitter: @rolandbouman
    >
    > Author of "Pentaho Solutions: Business Intelligence and Data
    > Warehousing with Pentaho and MySQL",
    > http://tinyurl.com/lvxa88 (Wiley, ISBN: 978-0-470-48432-6)
    >
    > Author of "Pentaho Kettle Solutions: Building Open Source ETL
    > Solutions with Pentaho Data Integration",
    > http://tinyurl.com/33r7a8m (Wiley, ISBN: 978-0-470-63517-9)
    >
    > --
    > You received this message because you are subscribed to the Google Groups
    > "kettle-developers" group.
    > To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
    > To unsubscribe from this group, send email to
    > kettle-developers+unsubscribe (AT) g...oups (DOT) com.
    > For more options, visit this group at
    > http://groups.google.com/group/kettle-developers?hl=en.
    >
    >


    --
    You received this message because you are subscribed to the Google Groups "kettle-developers" group.
    To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
    To unsubscribe from this group, send email to kettle-developers+unsubscribe (AT) g...oups (DOT) com.
    For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en.

  4. #4
    Jens Bleuel Guest

    Default Re: CBR

    Hi Pooyan,

    this works well (I used this once a while ago to process feedback from a
    SAP system with output of different row layouts).

    Instad of the putRow() method you can directly define the target step
    with the method:
    putRowTo(RowMetaInterface rowMeta, Object[] row, RowSet rowSet)

    To get the instance of the target rowSet object, you can use the method:
    findOutputRowSet(String targetStep)

    For further information, have a look at the BaseStep class.

    Happy coding,
    Jens

    ---
    Jens Bleuel
    http://kettle.bleuel.com

    Am 05.03.2011 13:12, schrieb Pooyan Farahani:
    > Hi All,
    >
    >
    > I have a use case, which requires a ContentBased Routing, I have
    > initially thought to implement a plug-in with a decision table. So based
    > on the checking criteria it should call putRow into a different hop, but
    > what I am not sure is whether distribution of data to different hops are
    > manageable, in a sense that I could place the data into one particular
    > outgoing hop.
    >
    > In case, there are other solutions for this CBR, I would appreciate your
    > advice.
    >
    >
    >
    >
    > Many thanks,
    > Pooyan
    >
    > --
    > You received this message because you are subscribed to the Google
    > Groups "kettle-developers" group.
    > To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
    > To unsubscribe from this group, send email to
    > kettle-developers+unsubscribe (AT) g...oups (DOT) com.
    > For more options, visit this group at
    > http://groups.google.com/group/kettle-developers?hl=en.


    --
    You received this message because you are subscribed to the Google Groups "kettle-developers" group.
    To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
    To unsubscribe from this group, send email to kettle-developers+unsubscribe (AT) g...oups (DOT) com.
    For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en.

  5. #5
    Pooyan Farahani Guest

    Default Re: CBR

    Hi Jens,

    Thanks dude,
    Pooyan

    On Sun, Mar 6, 2011 at 3:06 PM, Jens Bleuel <jbleuel (AT) pentaho (DOT) com> wrote:

    > Hi Pooyan,
    >
    > this works well (I used this once a while ago to process feedback from a
    > SAP system with output of different row layouts).
    >
    > Instad of the putRow() method you can directly define the target step with
    > the method:
    > putRowTo(RowMetaInterface rowMeta, Object[] row, RowSet rowSet)
    >
    > To get the instance of the target rowSet object, you can use the method:
    > findOutputRowSet(String targetStep)
    >
    > For further information, have a look at the BaseStep class.
    >
    > Happy coding,
    > Jens
    >
    > ---
    > Jens Bleuel
    > http://kettle.bleuel.com
    >
    > Am 05.03.2011 13:12, schrieb Pooyan Farahani:
    >
    >> Hi All,
    >>
    >>
    >> I have a use case, which requires a ContentBased Routing, I have
    >> initially thought to implement a plug-in with a decision table. So based
    >> on the checking criteria it should call putRow into a different hop, but
    >> what I am not sure is whether distribution of data to different hops are
    >> manageable, in a sense that I could place the data into one particular
    >> outgoing hop.
    >>
    >> In case, there are other solutions for this CBR, I would appreciate your
    >> advice.
    >>
    >>
    >>
    >>
    >> Many thanks,
    >> Pooyan
    >>
    >> --
    >> You received this message because you are subscribed to the Google
    >> Groups "kettle-developers" group.
    >> To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
    >> To unsubscribe from this group, send email to
    >> kettle-developers+unsubscribe (AT) g...oups (DOT) com.
    >> For more options, visit this group at
    >> http://groups.google.com/group/kettle-developers?hl=en.
    >>

    >
    > --
    > You received this message because you are subscribed to the Google Groups
    > "kettle-developers" group.
    > To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
    > To unsubscribe from this group, send email to
    > kettle-developers+unsubscribe (AT) g...oups (DOT) com.
    > For more options, visit this group at
    > http://groups.google.com/group/kettle-developers?hl=en.
    >
    >


    --
    You received this message because you are subscribed to the Google Groups "kettle-developers" group.
    To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
    To unsubscribe from this group, send email to kettle-developers+unsubscribe (AT) g...oups (DOT) com.
    For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.