Beispiel #1
0
 public IResultIterator getSecondaryIterator(ScriptContext context, String subQueryName)
     throws DataException {
   try {
     Scriptable scope = null;
     if (context != null)
       scope =
           ((IDataScriptEngine) context.getScriptEngine(IDataScriptEngine.ENGINE_NAME))
               .getJSScope(context);
     return this.getSecondaryIterator(subQueryName, scope);
   } catch (BirtException e) {
     throw DataException.wrap(e);
   }
 }