public abstract class StepWithMappingMeta extends BaseSerializingMeta implements HasRepositoryDirectories, StepMetaInterface
Modifier and Type | Field and Description |
---|---|
protected String |
directoryPath |
protected String |
fileName |
protected ObjectLocationSpecificationMethod |
specificationMethod |
protected String |
transName |
protected ObjectId |
transObjectId |
attributes, databases, log, loggingObject, parentStepMeta, repository, STEP_ATTRIBUTES_FILE
Constructor and Description |
---|
StepWithMappingMeta() |
Modifier and Type | Method and Description |
---|---|
static void |
activateParams(VariableSpace childVariableSpace,
NamedParams childNamedParams,
VariableSpace parent,
String[] listParameters,
String[] mappingVariables,
String[] inputFields) |
static void |
activateParams(VariableSpace childVariableSpace,
NamedParams childNamedParams,
VariableSpace parent,
String[] listParameters,
String[] mappingVariables,
String[] inputFields,
boolean isPassingAllParameters) |
static void |
addMissingVariables(VariableSpace fromSpace,
VariableSpace toSpace) |
String |
exportResources(VariableSpace space,
Map<String,ResourceDefinition> definitions,
ResourceNamingInterface resourceNamingInterface,
Repository repository,
org.pentaho.metastore.api.IMetaStore metaStore) |
String[] |
getDirectories()
If step has reference(s) to another transformation(s)/job(s) returns an array of repository directories.
|
String |
getDirectoryPath() |
String |
getFileName() |
List<MappingIODefinition> |
getInputMappings() |
List<MappingIODefinition> |
getOutputMappings() |
ObjectLocationSpecificationMethod |
getSpecificationMethod() |
ObjectLocationSpecificationMethod[] |
getSpecificationMethods()
If step has reference(s) to another transformation(s)/job(s) returns an array of specification method(s)
defining the type of an access to a referenced file.
|
String |
getTransName() |
ObjectId |
getTransObjectId() |
static TransMeta |
loadMappingMeta(StepWithMappingMeta mappingMeta,
Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore,
VariableSpace space) |
static TransMeta |
loadMappingMeta(StepWithMappingMeta executorMeta,
Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore,
VariableSpace space,
boolean share) |
void |
replaceFileName(String fileName) |
static void |
replaceVariableValues(VariableSpace childTransMeta,
VariableSpace replaceBy) |
void |
setDirectories(String[] directories)
If step has reference(s) to another transformation(s)/job(s) sets updated repository directories from
incoming String array.
|
void |
setDirectoryPath(String directoryPath) |
void |
setFileName(String fileName) |
void |
setSpecificationMethod(ObjectLocationSpecificationMethod specificationMethod) |
void |
setTransName(String transName) |
void |
setTransObjectId(ObjectId transObjectId) |
copyObject, getXML, loadXML, readRep, saveRep, withVariables
analyseImpact, analyseImpact, cancelQueries, check, check, check, clone, createEntry, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, extractStepMetadataEntries, findAttribute, findParent, findParentEntry, getActiveReferencedObjectDescription, getDescription, getDialogClassName, getFields, getFields, getLog, getLogChannelId, getName, getObjectCopy, getObjectId, getObjectRevision, getObjectType, getOptionalStreams, getParent, getParentStepMeta, getReferencedObjectDescriptions, getRepCode, getRepositoryDirectory, getRequiredFields, getRequiredFields, getResourceDependencies, getSQLStatements, getSQLStatements, getStepInjectionMetadataEntries, getStepIOMeta, getStepIOMeta, getStepMetaInjectionInterface, getSupportedTransformationTypes, getTableFields, getTooltip, getUsedArguments, getUsedDatabaseConnections, getUsedLibraries, getXmlCode, handleStreamSelection, hasChanged, hasRepositoryReferences, isBasic, isDebug, isDetailed, isReferencedObjectEnabled, isRowLevel, loadReferencedObject, loadReferencedObject, loadStepAttributes, loadXML, loadXML, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, lookupRepositoryReferences, readRep, readRep, resetStepIoMeta, saveRep, searchInfoAndTargetSteps, setChanged, setChanged, setParentStepMeta, setStepIOMeta, supportsErrorHandling
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
analyseImpact, analyseImpact, cancelQueries, check, check, cleanAfterHopFromRemove, cleanAfterHopFromRemove, cleanAfterHopToRemove, clone, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, extractStepMetadataEntries, fetchTransMeta, getActiveReferencedObjectDescription, getDialogClassName, getFields, getFields, getOptionalStreams, getParentStepMeta, getReferencedObjectDescriptions, getRequiredFields, getResourceDependencies, getSQLStatements, getSQLStatements, getStep, getStepData, getStepIOMeta, getStepMetaInjectionInterface, getSupportedTransformationTypes, getTableFields, getUsedArguments, getUsedDatabaseConnections, getUsedLibraries, getXML, handleStreamSelection, hasChanged, hasRepositoryReferences, isReferencedObjectEnabled, loadReferencedObject, loadXML, loadXML, lookupRepositoryReferences, passDataToServletOutput, readRep, readRep, resetStepIoMeta, saveRep, saveRep, searchInfoAndTargetSteps, setChanged, setDefault, setParentStepMeta, supportsErrorHandling
protected ObjectLocationSpecificationMethod specificationMethod
protected String transName
protected String fileName
protected String directoryPath
protected ObjectId transObjectId
public static TransMeta loadMappingMeta(StepWithMappingMeta mappingMeta, Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, VariableSpace space) throws KettleException
KettleException
public static TransMeta loadMappingMeta(StepWithMappingMeta executorMeta, Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, VariableSpace space, boolean share) throws KettleException
KettleException
public static void activateParams(VariableSpace childVariableSpace, NamedParams childNamedParams, VariableSpace parent, String[] listParameters, String[] mappingVariables, String[] inputFields)
public static void activateParams(VariableSpace childVariableSpace, NamedParams childNamedParams, VariableSpace parent, String[] listParameters, String[] mappingVariables, String[] inputFields, boolean isPassingAllParameters)
public ObjectLocationSpecificationMethod getSpecificationMethod()
public ObjectLocationSpecificationMethod[] getSpecificationMethods()
HasRepositoryDirectories
getSpecificationMethods
in interface HasRepositoryDirectories
public void setSpecificationMethod(ObjectLocationSpecificationMethod specificationMethod)
specificationMethod
- the specificationMethod to setpublic String getDirectoryPath()
public void setDirectoryPath(String directoryPath)
directoryPath
- the directoryPath to setpublic String[] getDirectories()
HasRepositoryDirectories
getDirectories
in interface HasRepositoryDirectories
public void setDirectories(String[] directories)
HasRepositoryDirectories
setDirectories
in interface HasRepositoryDirectories
directories
- Array of updated rep directories to setpublic String getFileName()
public void setFileName(String fileName)
fileName
- the fileName to setpublic void replaceFileName(String fileName)
fileName
- the fileName to setpublic String getTransName()
public void setTransName(String transName)
transName
- the transName to setpublic ObjectId getTransObjectId()
public void setTransObjectId(ObjectId transObjectId)
transObjectId
- the transObjectId to setpublic String exportResources(VariableSpace space, Map<String,ResourceDefinition> definitions, ResourceNamingInterface resourceNamingInterface, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore) throws KettleException
exportResources
in interface StepMetaInterface
exportResources
in class BaseStepMeta
space
- the variable space to userepository
- The repository to optionally load other resources from (to be converted to XML)metaStore
- the metaStore in which non-kettle metadata could reside.KettleException
public static void addMissingVariables(VariableSpace fromSpace, VariableSpace toSpace)
public static void replaceVariableValues(VariableSpace childTransMeta, VariableSpace replaceBy)
public List<MappingIODefinition> getInputMappings()
public List<MappingIODefinition> getOutputMappings()
Copyright © 2018 Hitachi Vantara. All rights reserved.