-
-
Save viksingh/a5b327ab1d51295004f907833df25621 to your computer and use it in GitHub Desktop.
This method can be used in UDF to write the parameter to GlobalContainer instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public String setGlobalParameter(String Parameter, String ParameterValue, Container container) throws StreamTransformationException{ | |
try{ | |
GlobalContainer gc = container.getGlobalContainer(); | |
gc.setParameter(Parameter, ParameterValue); | |
}catch(Exception ee){ | |
} | |
return ParameterValue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment