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, ioMeta, 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 |
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() |
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) |
getXML, loadXML, readRep, saveRep, withVariablesanalyseImpact, 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, 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, supportsErrorHandlingequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitanalyseImpact, analyseImpact, cancelQueries, check, check, cleanAfterHopFromRemove, clone, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, extractStepMetadataEntries, 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, supportsErrorHandlingprotected 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
KettleExceptionpublic static TransMeta loadMappingMeta(StepWithMappingMeta executorMeta, Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, VariableSpace space, boolean share) throws KettleException
KettleExceptionpublic static void activateParams(VariableSpace childVariableSpace, NamedParams childNamedParams, VariableSpace parent, String[] listParameters, String[] mappingVariables, String[] inputFields)
public ObjectLocationSpecificationMethod getSpecificationMethod()
public ObjectLocationSpecificationMethod[] getSpecificationMethods()
HasRepositoryDirectoriesgetSpecificationMethods in interface HasRepositoryDirectoriespublic void setSpecificationMethod(ObjectLocationSpecificationMethod specificationMethod)
specificationMethod - the specificationMethod to setpublic String getDirectoryPath()
public void setDirectoryPath(String directoryPath)
directoryPath - the directoryPath to setpublic String[] getDirectories()
HasRepositoryDirectoriesgetDirectories in interface HasRepositoryDirectoriespublic void setDirectories(String[] directories)
HasRepositoryDirectoriessetDirectories in interface HasRepositoryDirectoriesdirectories - 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 StepMetaInterfaceexportResources in class BaseStepMetaspace - 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.KettleExceptionpublic static void addMissingVariables(VariableSpace fromSpace, VariableSpace toSpace)
public static void replaceVariableValues(VariableSpace childTransMeta, VariableSpace replaceBy)
Copyright © 2018 Hitachi Vantara. All rights reserved.