Constructor and 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(Node mappingNode) |
MappingIODefinition(Repository rep,
org.pentaho.di.repository.ObjectId id_step,
String prefix,
int nr) |
MappingIODefinition(String inputStepname,
String outputStepname) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
String |
getDescription() |
StepMeta |
getInputStep() |
String |
getInputStepname() |
String |
getOutputStepname() |
List<MappingValueRename> |
getValueRenames() |
String |
getXML() |
boolean |
isMainDataPath() |
boolean |
isRenamingOnOutput() |
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) |
void |
setDescription(String description) |
void |
setInputStep(StepMeta inputStep) |
void |
setInputStepname(String inputStepname) |
void |
setMainDataPath(boolean mainDataPath) |
void |
setOutputStepname(String outputStepname) |
void |
setRenamingOnOutput(boolean renamingOnOutput) |
void |
setValueRenames(List<MappingValueRename> valueRenames) |
public static final String XML_TAG
public MappingIODefinition()
public MappingIODefinition(String inputStepname, String outputStepname)
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.public MappingIODefinition(Node mappingNode)
public MappingIODefinition(Repository rep, org.pentaho.di.repository.ObjectId id_step, String prefix, int nr) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public String getXML()
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
org.pentaho.di.core.exception.KettleException
public String getInputStepname()
public void setInputStepname(String inputStepname)
inputStepname
- the stepname to setpublic String getDescription()
public void setDescription(String description)
description
- the description to setpublic String getOutputStepname()
public void setOutputStepname(String outputStepname)
outputStepname
- the outputStepname to setpublic boolean isMainDataPath()
public void setMainDataPath(boolean mainDataPath)
mainDataPath
- true if this is the main data path for the mapping step.public boolean isRenamingOnOutput()
public void setRenamingOnOutput(boolean renamingOnOutput)
renamingOnOutput
- the renamingOnOutput to setpublic List<MappingValueRename> getValueRenames()
public void setValueRenames(List<MappingValueRename> valueRenames)
valueRenames
- the valueRenames to setpublic StepMeta getInputStep()
public void setInputStep(StepMeta inputStep)
inputStep
- the inputStep to set