Class MappingIODefinition
- java.lang.Object
-
- org.pentaho.di.trans.steps.mapping.MappingIODefinition
-
-
Constructor Summary
Constructors Constructor Description MappingIODefinition()No input or output step is defined:
- detect the source step automatically: use all input steps for this mapping step.
- detect the output step automatically: there can only be one MappingInput step in the mapping in this specific case.MappingIODefinition(String inputStepname, String outputStepname)MappingIODefinition(Repository rep, org.pentaho.di.repository.ObjectId id_step, String prefix, int nr)MappingIODefinition(Node mappingNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()StringgetDescription()StepMetagetInputStep()StringgetInputStepname()StringgetOutputStepname()List<MappingValueRename>getValueRenames()StringgetXML()booleanisMainDataPath()booleanisRenamingOnOutput()voidsaveRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step, String prefix, int nr)voidsetDescription(String description)voidsetInputStep(StepMeta inputStep)voidsetInputStepname(String inputStepname)voidsetMainDataPath(boolean mainDataPath)voidsetOutputStepname(String outputStepname)voidsetRenamingOnOutput(boolean renamingOnOutput)voidsetValueRenames(List<MappingValueRename> valueRenames)
-
-
-
Field Detail
-
XML_TAG
public static final String XML_TAG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MappingIODefinition
public MappingIODefinition()
No input or output step is defined:
- detect the source step automatically: use all input steps for this mapping step.
- detect the output step automatically: there can only be one MappingInput step in the mapping in this specific case.
-
MappingIODefinition
public MappingIODefinition(String inputStepname, String outputStepname)
- Parameters:
inputStepname- the name of the step to "connect" to. If no name is given, detect the source step automatically: use all input steps for this mapping step.outputStepname- the name of the step in the mapping to accept the data from the input step. If no name is given, detect the output step automatically: there can only be one MappingInput step in the mapping in this specific case.
-
MappingIODefinition
public MappingIODefinition(Node mappingNode)
-
MappingIODefinition
public MappingIODefinition(Repository rep, org.pentaho.di.repository.ObjectId id_step, String prefix, int nr) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
-
Method Detail
-
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, String prefix, int nr) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
getInputStepname
public String getInputStepname()
- Returns:
- the stepname, the name of the step to "connect" to. If no step name is given, detect the Mapping Input/Output step automatically.
-
setInputStepname
public void setInputStepname(String inputStepname)
- Parameters:
inputStepname- the stepname to set
-
getDescription
public String getDescription()
- Returns:
- the description
-
setDescription
public void setDescription(String description)
- Parameters:
description- the description to set
-
getOutputStepname
public String getOutputStepname()
- Returns:
- the outputStepname
-
setOutputStepname
public void setOutputStepname(String outputStepname)
- Parameters:
outputStepname- the outputStepname to set
-
isMainDataPath
public boolean isMainDataPath()
- Returns:
- true if this is the main data path for the mapping step.
-
setMainDataPath
public void setMainDataPath(boolean mainDataPath)
- Parameters:
mainDataPath- true if this is the main data path for the mapping step.
-
isRenamingOnOutput
public boolean isRenamingOnOutput()
- Returns:
- the renamingOnOutput
-
setRenamingOnOutput
public void setRenamingOnOutput(boolean renamingOnOutput)
- Parameters:
renamingOnOutput- the renamingOnOutput to set
-
getValueRenames
public List<MappingValueRename> getValueRenames()
- Returns:
- the valueRenames
-
setValueRenames
public void setValueRenames(List<MappingValueRename> valueRenames)
- Parameters:
valueRenames- the valueRenames to set
-
getInputStep
public StepMeta getInputStep()
- Returns:
- the inputStep
-
setInputStep
public void setInputStep(StepMeta inputStep)
- Parameters:
inputStep- the inputStep to set
-
-