US and Worldwide: +1 (866) 660-7555
Results 1 to 2 of 2

Thread: UDJC RowMetaAndData getString()

  1. #1
    Join Date
    May 2011
    Posts
    13

    Default UDJC RowMetaAndData getString()

    I hope this is a simple question!

    I'm using the class RowMetaAndData in a UDJC
    (http://javadoc.pentaho.com/kettle/or...taAndData.html)
    I'm not clear on what value I should be passing to getString(int index, String def) for the second parameter, 'String def'.

    I'd appreciate if someone could give a simple syntax example?

    thanks... AJ

  2. #2
    Join Date
    Jun 2012
    Posts
    1,471

    Default

    The second parameter is just a default value you want to return, if the value of the field should be null.
    pdi-ce-4.3.0-stable
    OpenJDK IcedTea 2.3.7 (7u21)
    ubuntu 12.04 LTS (x86_64)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •