Example of Using the API From the ExecutionEnvironment Class - Aster Execution Engine

Teradata Aster® Developer Guide

Product
Aster Execution Engine
Release Number
7.00.02
Published
July 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
xnl1494366523182.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
ffu1489104705746
lifecycle
previous
Product Category
Software
// Snippet of Code from RunInIsolatedJVM.java
/**** Following adds an InstalledFile to LD_LIBRARY_PATH ****/
      InstalledFile installedFile = null;
      try {
         installedFile = InstalledFile.getFile("RunInIsolatedJVM.jar");
      } catch (FileNotFoundException e) {
         throw new ClientVisibleException(
               "Cannot find installed file: RunInIsolatedJVM.jar");
      }
      ExecutionEnvironment.addInstalledFileToLDPath(installedFile);
/**** Following adds a file system file to LD_LIBRARY_PATH ****/
    ExecutionEnvironment.addFileToLDPath(stringPathToFile);