Class TransExecutorParameters
- java.lang.Object
-
- org.pentaho.di.trans.steps.transexecutor.TransExecutorParameters
-
- All Implemented Interfaces:
Cloneable
public class TransExecutorParameters extends Object implements Cloneable
The job to be executed in the transformation can receive parameters. These are either coming from an input row (the first row in a group of rows) or from a static variable or value.- Since:
- 2011-AUG-29
- Version:
- 4.3
- Author:
- matt
-
-
Constructor Summary
Constructors Constructor Description TransExecutorParameters()
TransExecutorParameters(Repository rep, org.pentaho.di.repository.ObjectId id_step)
TransExecutorParameters(Node paramNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
allocate(int nrVariables)
Object
clone()
String[]
getField()
String[]
getInput()
String[]
getVariable()
String
getXML()
boolean
isInheritingAllVariables()
void
saveRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step)
void
setField(String[] field)
void
setInheritingAllVariables(boolean inheritingAllVariables)
void
setInput(String[] input)
void
setVariable(String[] variable)
-
-
-
Field Detail
-
XML_TAG
public static final String XML_TAG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TransExecutorParameters
public TransExecutorParameters()
-
TransExecutorParameters
public TransExecutorParameters(Node paramNode)
-
TransExecutorParameters
public TransExecutorParameters(Repository rep, org.pentaho.di.repository.ObjectId id_step) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
-
Method Detail
-
allocate
public void allocate(int nrVariables)
-
getXML
public String getXML()
-
saveRep
public void saveRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
getField
public String[] getField()
- Returns:
- the field name to use
-
setField
public void setField(String[] field)
- Parameters:
field
- the input field name to set
-
getVariable
public String[] getVariable()
- Returns:
- the variable
-
setVariable
public void setVariable(String[] variable)
- Parameters:
variable
- the variable to set
-
isInheritingAllVariables
public boolean isInheritingAllVariables()
- Returns:
- the inheritingAllVariables
-
setInheritingAllVariables
public void setInheritingAllVariables(boolean inheritingAllVariables)
- Parameters:
inheritingAllVariables
- the inheritingAllVariables to set
-
getInput
public String[] getInput()
- Returns:
- the input
-
setInput
public void setInput(String[] input)
- Parameters:
input
- the input to set
-
-