Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Execute a java class completely

  1. #1
    Join Date
    Feb 2014
    Posts
    16

    Question Class variable in UDJC

    Hello!!

    I want to read a variable from a previous step. For that I use the getParameter inside the proccessRow method. I want that variable to be accesible from all the methods I have implemented.

    Is there any way of defining a class variable in a user defined java class?


    Thanks in advance!
    Last edited by alainflecha; 05-27-2014 at 10:46 AM.

  2. #2
    Join Date
    Jun 2012
    Posts
    5,534

    Default

    Quote Originally Posted by alainflecha View Post
    Is there any way of defining a class variable in a user defined java class?
    Just define your variable outside of your methods.
    So long, and thanks for all the fish.

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.