public abstract class AbstractStepMeta extends BaseStepMeta implements StepMetaInterface
loggingObject, STEP_ATTRIBUTES_FILE| Constructor and Description |
|---|
AbstractStepMeta()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
StringPluginProperty |
getConnectionName() |
org.pentaho.di.core.database.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<org.pentaho.di.core.database.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,
org.pentaho.di.repository.ObjectId stepId,
List<org.pentaho.di.core.database.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,
org.pentaho.di.repository.ObjectId transformationId,
org.pentaho.di.repository.ObjectId stepId)
Save the steps data into a Kettle repository
|
void |
setConnectionName(StringPluginProperty connectionName) |
void |
setDbMeta(org.pentaho.di.core.database.DatabaseMeta dbMeta) |
analyseImpact, analyseImpact, cancelQueries, check, check, check, clone, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, exportResources, findAttribute, findParent, 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, 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, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitanalyseImpact, analyseImpact, cancelQueries, check, check, clone, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, exportResources, 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, readRep, resetStepIoMeta, saveRep, searchInfoAndTargetSteps, setChanged, setDefault, setParentStepMeta, supportsErrorHandlingpublic PluginPropertyFactory getPropertyFactory()
public KeyValueSet getProperties()
public void saveAsPreferences()
throws BackingStoreException
BackingStoreException - ...public void readFromPreferences()
public void loadXML(Node node, List<org.pentaho.di.core.database.DatabaseMeta> databaseMeta, org.pentaho.metastore.api.IMetaStore metaStore) throws org.pentaho.di.core.exception.KettleXMLException
loadXML in interface StepMetaInterfaceloadXML in class BaseStepMetanode - the Node to get the info fromdatabaseMeta - The available list of databases to reference tometaStore - the metastore to optionally load external reference metadata fromorg.pentaho.di.core.exception.KettleXMLException - When an unexpected XML error occurred. (malformed etc.)StepMetaInterface.loadXML(org.w3c.dom.Node, java.util.List, java.util.Map)public String getXML() throws org.pentaho.di.core.exception.KettleException
getXML in interface StepMetaInterfacegetXML in class BaseStepMetaorg.pentaho.di.core.exception.KettleException - in case there is a conversion or XML encoding errorBaseStepMeta.getXML()public void readRep(Repository repo, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId stepId, List<org.pentaho.di.core.database.DatabaseMeta> databaseList) throws org.pentaho.di.core.exception.KettleException
readRep in interface StepMetaInterfacereadRep in class BaseStepMetarepo - The repository to read frommetaStore - The MetaStore to read external information fromstepId - The step IDdatabaseList - The databases to referenceorg.pentaho.di.core.exception.KettleException - 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, org.pentaho.di.repository.ObjectId transformationId, org.pentaho.di.repository.ObjectId stepId) throws org.pentaho.di.core.exception.KettleException
saveRep in interface StepMetaInterfacesaveRep in class BaseStepMetarepo - The Kettle repository to save tometaStore - the metaStore to optionally write totransformationId - The transformation IDstepId - The step IDorg.pentaho.di.core.exception.KettleException - 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 StepMetaInterfaceStepMetaInterface.getStepData()public StringPluginProperty getConnectionName()
public void setConnectionName(StringPluginProperty connectionName)
connectionName - the connectionName to setpublic org.pentaho.di.core.database.DatabaseMeta getDbMeta()
public void setDbMeta(org.pentaho.di.core.database.DatabaseMeta dbMeta)
dbMeta - the dbMeta to set