Package org.apache.hop.pipeline
Class TransformWithMappingMeta<Main extends ITransform,Data extends ITransformData>
- java.lang.Object
-
- org.apache.hop.pipeline.transform.BaseTransformMeta<Main,Data>
-
- org.apache.hop.pipeline.TransformWithMappingMeta<Main,Data>
-
- All Implemented Interfaces:
Cloneable,ITransformMeta
public abstract class TransformWithMappingMeta<Main extends ITransform,Data extends ITransformData> extends BaseTransformMeta<Main,Data>
This class is supposed to use in transforms where the mapping to sub pipelines takes place
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.hop.pipeline.transform.ITransformMeta
ITransformMeta.TransformFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringfilename-
Fields inherited from class org.apache.hop.pipeline.transform.BaseTransformMeta
attributes, databases, log, loggingObject, parentTransformMeta
-
-
Constructor Summary
Constructors Constructor Description TransformWithMappingMeta()TransformWithMappingMeta(TransformWithMappingMeta m)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidactivateParams(IVariables childVariableSpace, INamedParameters childNamedParams, IVariables parent, String[] listParameters, String[] mappingVariables, String[] inputFields)static voidactivateParams(IVariables childVariableSpace, INamedParameters childNamedParams, IVariables parent, String[] listParameters, String[] mappingVariables, String[] inputFields, boolean isPassingAllParameters)static voidaddMissingVariables(IVariables fromSpace, IVariables toSpace)StringexportResources(IVariables variables, Map<String,ResourceDefinition> definitions, IResourceNaming iResourceNaming, IHopMetadataProvider metadataProvider)Export resources.StringgetFilename()static PipelineMetaloadMappingMeta(TransformWithMappingMeta executorMeta, IHopMetadataProvider metadataProvider, IVariables variables)voidreplaceFileName(String fileName)static voidreplaceVariableValues(IVariables childPipelineMeta, IVariables replaceBy)static voidreplaceVariableValues(IVariables childPipelineMeta, IVariables replaceBy, String type)voidsetFilename(String filename)-
Methods inherited from class org.apache.hop.pipeline.transform.BaseTransformMeta
analyseImpact, cancelQueries, check, clone, convertIOMetaToTransformNames, createTransform, createTransformData, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, getActiveReferencedObjectDescription, getDialogClassName, getFields, getFields, getLog, getLogChannelId, getName, getObjectCopy, getObjectType, getOptionalStreams, getParent, getParentTransformMeta, getReferencedObjectDescriptions, getRequiredFields, getResourceDependencies, getSqlStatements, getSupportedPipelineTypes, getTableFields, getTransformIOMeta, getTransformIOMeta, getUsedDatabaseConnections, getXml, handleStreamSelection, hasChanged, isBasic, isDebug, isDetailed, isReferencedObjectEnabled, isRowLevel, loadReferencedObject, loadXml, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, resetTransformIoMeta, searchInfoAndTargetTransforms, setChanged, setChanged, setDefault, setParentTransformMeta, setTransformIOMeta, supportsErrorHandling
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.hop.pipeline.transform.ITransformMeta
cleanAfterHopFromRemove, cleanAfterHopFromRemove, cleanAfterHopToRemove, passDataToServletOutput
-
-
-
-
Field Detail
-
filename
protected String filename
-
-
Constructor Detail
-
TransformWithMappingMeta
public TransformWithMappingMeta()
-
TransformWithMappingMeta
public TransformWithMappingMeta(TransformWithMappingMeta m)
-
-
Method Detail
-
loadMappingMeta
public static PipelineMeta loadMappingMeta(TransformWithMappingMeta executorMeta, IHopMetadataProvider metadataProvider, IVariables variables) throws HopException
- Throws:
HopException
-
activateParams
public static void activateParams(IVariables childVariableSpace, INamedParameters childNamedParams, IVariables parent, String[] listParameters, String[] mappingVariables, String[] inputFields)
-
activateParams
public static void activateParams(IVariables childVariableSpace, INamedParameters childNamedParams, IVariables parent, String[] listParameters, String[] mappingVariables, String[] inputFields, boolean isPassingAllParameters)
-
getFilename
public String getFilename()
- Returns:
- the fileName
-
setFilename
public void setFilename(String filename)
- Parameters:
filename- the fileName to set
-
replaceFileName
public void replaceFileName(String fileName)
- Parameters:
fileName- the fileName to set
-
exportResources
public String exportResources(IVariables variables, Map<String,ResourceDefinition> definitions, IResourceNaming iResourceNaming, IHopMetadataProvider metadataProvider) throws HopException
Description copied from class:BaseTransformMetaExport resources.- Specified by:
exportResourcesin interfaceITransformMeta- Overrides:
exportResourcesin classBaseTransformMeta<Main extends ITransform,Data extends ITransformData>- Parameters:
variables- the variablesdefinitions- the definitionsiResourceNaming- the resource naming interfacemetadataProvider- The place to load additional information- Returns:
- the string
- Throws:
HopException- the hop exception
-
addMissingVariables
public static void addMissingVariables(IVariables fromSpace, IVariables toSpace)
-
replaceVariableValues
public static void replaceVariableValues(IVariables childPipelineMeta, IVariables replaceBy, String type)
-
replaceVariableValues
public static void replaceVariableValues(IVariables childPipelineMeta, IVariables replaceBy)
-
-