Class TransformIOMeta
- java.lang.Object
-
- org.apache.hop.pipeline.transform.TransformIOMeta
-
- All Implemented Interfaces:
Cloneable,ITransformIOMeta
public class TransformIOMeta extends Object implements ITransformIOMeta, Cloneable
-
-
Constructor Summary
Constructors Constructor Description TransformIOMeta(boolean inputAcceptor, boolean outputProducer, boolean inputOptional, boolean sortedDataRequired, boolean inputDynamic, boolean outputDynamic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddStream(IStream stream)Add a stream to the transforms I/O interfacevoidclearStreams()protected TransformIOMetaclone()IStreamfindInfoStream(TransformMeta infoTransform)IStreamfindTargetStream(TransformMeta targetTransform)StringgetGeneralInfoDescription()StringgetGeneralTargetDescription()List<IStream>getInfoStreams()String[]getInfoTransformNames()List<IStream>getTargetStreams()String[]getTargetTransformNames()booleanisInputAcceptor()booleanisInputDynamic()booleanisInputOptional()booleanisOutputDynamic()booleanisOutputProducer()booleanisSortedDataRequired()voidsetGeneralInfoDescription(String generalInfoDescription)Set the general info stream descriptionvoidsetGeneralTargetDescription(String generalTargetDescription)Set the general target stream descriptionvoidsetInfoTransforms(TransformMeta[] infoTransforms)Replace the info transforms with the supplied source transforms.voidsetInputAcceptor(boolean inputAcceptor)voidsetInputDynamic(boolean inputDynamic)voidsetInputOptional(boolean inputOptional)voidsetOutputDynamic(boolean outputDynamic)voidsetOutputProducer(boolean outputProducer)voidsetSortedDataRequired(boolean sortedDataRequired)
-
-
-
Method Detail
-
clone
protected TransformIOMeta clone() throws CloneNotSupportedException
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
isInputAcceptor
public boolean isInputAcceptor()
- Specified by:
isInputAcceptorin interfaceITransformIOMeta- Returns:
- the inputAcceptor
-
setInputAcceptor
public void setInputAcceptor(boolean inputAcceptor)
- Parameters:
inputAcceptor- the inputAcceptor to set
-
isOutputProducer
public boolean isOutputProducer()
- Specified by:
isOutputProducerin interfaceITransformIOMeta- Returns:
- the outputProducer
-
setOutputProducer
public void setOutputProducer(boolean outputProducer)
- Parameters:
outputProducer- the outputProducer to set
-
isInputOptional
public boolean isInputOptional()
- Specified by:
isInputOptionalin interfaceITransformIOMeta- Returns:
- the inputOptional
-
setInputOptional
public void setInputOptional(boolean inputOptional)
- Parameters:
inputOptional- the inputOptional to set
-
getInfoStreams
public List<IStream> getInfoStreams()
- Specified by:
getInfoStreamsin interfaceITransformIOMeta- Returns:
- the info streams of this transform. Important: Modifying this list does not have any effect on the Transforms IO metadata.
-
getTargetStreams
public List<IStream> getTargetStreams()
- Specified by:
getTargetStreamsin interfaceITransformIOMeta- Returns:
- the target streams of this transform. Important: Modifying this list does not have any effect on the Transforms IO metadata.
-
isSortedDataRequired
public boolean isSortedDataRequired()
- Specified by:
isSortedDataRequiredin interfaceITransformIOMeta- Returns:
- the sortedDataRequired
-
setSortedDataRequired
public void setSortedDataRequired(boolean sortedDataRequired)
- Parameters:
sortedDataRequired- the sortedDataRequired to set
-
addStream
public void addStream(IStream stream)
Description copied from interface:ITransformIOMetaAdd a stream to the transforms I/O interface- Specified by:
addStreamin interfaceITransformIOMeta- Parameters:
stream- The stream to add
-
getInfoTransformNames
public String[] getInfoTransformNames()
- Specified by:
getInfoTransformNamesin interfaceITransformIOMeta
-
getTargetTransformNames
public String[] getTargetTransformNames()
- Specified by:
getTargetTransformNamesin interfaceITransformIOMeta
-
setInfoTransforms
public void setInfoTransforms(TransformMeta[] infoTransforms)
Replace the info transforms with the supplied source transforms.- Specified by:
setInfoTransformsin interfaceITransformIOMeta- Parameters:
infoTransforms-
-
getGeneralInfoDescription
public String getGeneralInfoDescription()
- Specified by:
getGeneralInfoDescriptionin interfaceITransformIOMeta- Returns:
- the generalInfoDescription
-
setGeneralInfoDescription
public void setGeneralInfoDescription(String generalInfoDescription)
Description copied from interface:ITransformIOMetaSet the general info stream description- Specified by:
setGeneralInfoDescriptionin interfaceITransformIOMeta- Parameters:
generalInfoDescription- the generalInfoDescription to set
-
getGeneralTargetDescription
public String getGeneralTargetDescription()
- Specified by:
getGeneralTargetDescriptionin interfaceITransformIOMeta- Returns:
- the generalTargetDescription
-
setGeneralTargetDescription
public void setGeneralTargetDescription(String generalTargetDescription)
Description copied from interface:ITransformIOMetaSet the general target stream description- Specified by:
setGeneralTargetDescriptionin interfaceITransformIOMeta- Parameters:
generalTargetDescription- the generalTargetDescription to set
-
clearStreams
public void clearStreams()
-
isOutputDynamic
public boolean isOutputDynamic()
- Specified by:
isOutputDynamicin interfaceITransformIOMeta- Returns:
- the outputDynamic
-
setOutputDynamic
public void setOutputDynamic(boolean outputDynamic)
- Specified by:
setOutputDynamicin interfaceITransformIOMeta- Parameters:
outputDynamic- the outputDynamic to set
-
isInputDynamic
public boolean isInputDynamic()
- Specified by:
isInputDynamicin interfaceITransformIOMeta- Returns:
- the inputDynamic
-
setInputDynamic
public void setInputDynamic(boolean inputDynamic)
- Specified by:
setInputDynamicin interfaceITransformIOMeta- Parameters:
inputDynamic- the inputDynamic to set
-
findTargetStream
public IStream findTargetStream(TransformMeta targetTransform)
- Specified by:
findTargetStreamin interfaceITransformIOMeta
-
findInfoStream
public IStream findInfoStream(TransformMeta infoTransform)
- Specified by:
findInfoStreamin interfaceITransformIOMeta
-
-