Class MappingIODefinition
java.lang.Object
org.pentaho.di.trans.steps.mapping.MappingIODefinition
- All Implemented Interfaces:
Cloneable
Helps to define the input or output specifications for the Mapping step.
- Since:
- 2007-07-26
- Version:
- 3.0
- Author:
- matt
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNo 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
Modifier and TypeMethodDescriptionclone()getXML()booleanbooleanvoidsaveRep(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 Details
-
XML_TAG
- See Also:
-
-
Constructor Details
-
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
- 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
-
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 Details
-
clone
-
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
- 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
- Parameters:
inputStepname- the stepname to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description- the description to set
-
getOutputStepname
- Returns:
- the outputStepname
-
setOutputStepname
- 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
- Returns:
- the valueRenames
-
setValueRenames
- Parameters:
valueRenames- the valueRenames to set
-
getInputStep
- Returns:
- the inputStep
-
setInputStep
- Parameters:
inputStep- the inputStep to set
-