public abstract class AbstractStepMeta extends BaseStepMeta implements StepMetaInterface
attributes, databases, log, loggingObject, parentStepMeta, repository, STEP_ATTRIBUTES_FILE
Constructor and Description |
---|
AbstractStepMeta()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
StringPluginProperty |
getConnectionName() |
DatabaseMeta |
getDbMeta() |
KeyValueSet |
getProperties() |
PluginPropertyFactory |
getPropertyFactory() |
StepDataInterface |
getStepData()
Get a new instance of the appropriate data class.
|
String |
getXML()
Produces the XML string that describes this step's information.
|
void |
loadXML(Node node,
List<DatabaseMeta> databaseMeta,
org.pentaho.metastore.api.IMetaStore metaStore)
Load the values for this step from an XML Node
|
void |
readFromPreferences()
Read properties from preferences.
|
void |
readRep(Repository repo,
org.pentaho.metastore.api.IMetaStore metaStore,
ObjectId stepId,
List<DatabaseMeta> databaseList)
Read the steps information from a Kettle repository
|
void |
saveAsPreferences()
Saves properties to preferences.
|
void |
saveRep(Repository repo,
org.pentaho.metastore.api.IMetaStore metaStore,
ObjectId transformationId,
ObjectId stepId)
Save the steps data into a Kettle repository
|
void |
setConnectionName(StringPluginProperty connectionName) |
void |
setDbMeta(DatabaseMeta dbMeta) |
analyseImpact, analyseImpact, cancelQueries, check, check, check, clone, createEntry, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, 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, exportResources, extractStepMetadataEntries, fetchTransMeta, getActiveReferencedObjectDescription, getDialogClassName, getFields, getFields, getOptionalStreams, getParentStepMeta, getReferencedObjectDescriptions, getRequiredFields, getResourceDependencies, getSQLStatements, getSQLStatements, getStep, getStepIOMeta, getStepMetaInjectionInterface, getSupportedTransformationTypes, getTableFields, getUsedArguments, getUsedDatabaseConnections, getUsedLibraries, handleStreamSelection, hasChanged, hasRepositoryReferences, isReferencedObjectEnabled, loadReferencedObject, loadXML, lookupRepositoryReferences, passDataToServletOutput, readRep, resetStepIoMeta, saveRep, searchInfoAndTargetSteps, setChanged, setDefault, setParentStepMeta, supportsErrorHandling
public PluginPropertyFactory getPropertyFactory()
public KeyValueSet getProperties()
public void saveAsPreferences() throws BackingStoreException
BackingStoreException
- ...public void readFromPreferences()
public void loadXML(Node node, List<DatabaseMeta> databaseMeta, org.pentaho.metastore.api.IMetaStore metaStore) throws KettleXMLException
loadXML
in interface StepMetaInterface
loadXML
in class BaseStepMeta
node
- the Node to get the info fromdatabaseMeta
- The available list of databases to reference tometaStore
- the metastore to optionally load external reference metadata fromKettleXMLException
- When an unexpected XML error occurred. (malformed etc.)StepMetaInterface.loadXML(org.w3c.dom.Node, java.util.List, java.util.Map)
public String getXML() throws KettleException
getXML
in interface StepMetaInterface
getXML
in class BaseStepMeta
KettleException
- in case there is an XML conversion or encoding errorBaseStepMeta.getXML()
public void readRep(Repository repo, org.pentaho.metastore.api.IMetaStore metaStore, ObjectId stepId, List<DatabaseMeta> databaseList) throws KettleException
readRep
in interface StepMetaInterface
readRep
in class BaseStepMeta
repo
- The repository to read frommetaStore
- The MetaStore to read external information fromstepId
- The step IDdatabaseList
- The databases to referenceKettleException
- When an unexpected error occurred (database, network, etc)org.pentaho.di.trans.step.StepMetaInterface#readRep(org.pentaho.di.repository.Repository, long,
java.util.List, java.util.Map)
public void saveRep(Repository repo, org.pentaho.metastore.api.IMetaStore metaStore, ObjectId transformationId, ObjectId stepId) throws KettleException
saveRep
in interface StepMetaInterface
saveRep
in class BaseStepMeta
repo
- The Kettle repository to save tometaStore
- the metaStore to optionally write totransformationId
- The transformation IDstepId
- The step IDKettleException
- When an unexpected error occurred (database, network, etc)org.pentaho.di.trans.step.StepMetaInterface#saveRep(org.pentaho.di.repository.Repository, long, long)
public StepDataInterface getStepData()
getStepData
in interface StepMetaInterface
StepMetaInterface.getStepData()
public StringPluginProperty getConnectionName()
public void setConnectionName(StringPluginProperty connectionName)
connectionName
- the connectionName to setpublic DatabaseMeta getDbMeta()
public void setDbMeta(DatabaseMeta dbMeta)
dbMeta
- the dbMeta to setCopyright © 2018 Hitachi Vantara. All rights reserved.