/* Copyright (c) 2007 Pentaho Corporation. All rights reserved.
* This software was developed by Pentaho Corporation and is provided under the terms
* of the GNU Lesser General Public License, Version 2.1. You may not use
* this file except in compliance with the license. If you need a copy of the license,
* please go to http://www.gnu.org/licenses/lgpl-2.1.txt. The Original Code is Pentaho
* Data Integration. The Initial Developer is Pentaho Corporation.
*
* Software distributed under the GNU Lesser Public License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. Please refer to
* the license for the specific language governing your rights and limitations.*/
/**********************************************************************
** **
** This Script has been modified for higher performance **
** and more functionality in December-2006, **
** by proconis GmbH / Germany **
** **
** http://www.proconis.de **
** info@proconis.de **
** **
**********************************************************************/
package com.akretion.kettle.steps.terminatooor;
import javax.script.Bindings;
import javax.script.CompiledScript;
import javax.script.ScriptEngine;
import org.pentaho.di.compatibility.Value;
import org.pentaho.di.core.row.RowMetaInterface;
import org.pentaho.di.trans.step.BaseStepData;
import org.pentaho.di.trans.step.StepDataInterface;
/**
* @author Matt
* @since 24-jan-2005
*
*/
public class ScriptValuesModData extends BaseStepData implements StepDataInterface
{
public ScriptEngine cx;
public Bindings scope;
public CompiledScript script;
public int fields_used[];
public Value values_used[];
public RowMetaInterface outputRowMeta;
public int[] replaceIndex;
/**
*
*/
public ScriptValuesModData()
{
super();
cx=null;
fields_used=null;
}
public void check(int i){
System.out.println(i);
}
}