Class DenormaliserMeta
java.lang.Object
org.pentaho.di.trans.step.BaseStepMeta
org.pentaho.di.trans.steps.denormaliser.DenormaliserMeta
- All Implemented Interfaces:
- Cloneable,- StepAttributesInterface,- StepMetaInterface
The Denormaliser transformation step meta-data
- Since:
- 17-jan-2006
- Author:
- Matt
- 
Field SummaryFields inherited from class org.pentaho.di.trans.step.BaseStepMetaattributes, databases, log, loggingObject, parentStepMeta, repository, STEP_ATTRIBUTES_FILE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidallocate(int sizegroup, int nrfields) voidcheck(List<org.pentaho.di.core.CheckResultInterface> remarks, TransMeta transMeta, StepMeta stepMeta, org.pentaho.di.core.row.RowMetaInterface prev, String[] input, String[] output, org.pentaho.di.core.row.RowMetaInterface info, org.pentaho.di.core.variables.VariableSpace space, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore) Checks the settings of this step and puts the findings in a remarks List.clone()Make an exact copy of this step, make sure to explicitly copy Collections etc.String[]voidgetFields(org.pentaho.di.core.row.RowMetaInterface row, String name, org.pentaho.di.core.row.RowMetaInterface[] info, StepMeta nextStep, org.pentaho.di.core.variables.VariableSpace space, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore) Gets the fields.String[]getStep(StepMeta stepMeta, StepDataInterface stepDataInterface, int cnr, TransMeta transMeta, Trans trans) Get the executing step, needed by Trans to launch a step.Get a new instance of the appropriate data class.getXML()Produces the XML string that describes this step's information.voidloadXML(Node stepnode, List<org.pentaho.di.core.database.DatabaseMeta> databases, org.pentaho.metastore.api.IMetaStore metaStore) Load the values for this step from an XML NodevoidreadRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId id_step, List<org.pentaho.di.core.database.DatabaseMeta> databases) Read the steps information from a Kettle repositoryvoidsaveRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step) Save the steps data into a Kettle repositorysearchTargetField(String targetName) voidSet default valuesvoidsetDenormaliserTargetField(DenormaliserTargetField[] pivotField) voidsetGroupField(String[] groupField) voidsetKeyField(String keyField) Methods inherited from class org.pentaho.di.trans.step.BaseStepMetaanalyseImpact, analyseImpact, cancelQueries, check, check, createEntry, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, exportResources, extractStepMetadataEntries, findAttribute, findParent, findParentEntry, getActiveReferencedObjectDescription, getDescription, getDialogClassName, getFields, getLog, getLogChannelId, getName, getObjectCopy, getObjectId, getObjectRevision, getObjectType, getOptionalStreams, getParent, getParentStepMeta, getReferencedObjectDescriptions, getRepCode, getRepositoryDirectory, getRequiredFields, getRequiredFields, getResourceDependencies, getSQLStatements, getSQLStatements, getStepInjectionMetadataEntries, getStepIOMeta, getStepIOMeta, 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, supportsErrorHandlingMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.pentaho.di.trans.step.StepMetaInterfaceanalyseImpact, analyseImpact, cancelQueries, check, cleanAfterHopFromRemove, cleanAfterHopFromRemove, cleanAfterHopToRemove, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, exportResources, extractStepMetadataEntries, fetchTransMeta, getActiveReferencedObjectDescription, getDialogClassName, getFields, getOptionalStreams, getParentStepMeta, getReferencedObjectDescriptions, getRequiredFields, getResourceDependencies, getSQLStatements, getSQLStatements, getStepIOMeta, getSupportedTransformationTypes, getTableFields, getUsedArguments, getUsedDatabaseConnections, getUsedLibraries, handleStreamSelection, hasChanged, hasRepositoryReferences, isReferencedObjectEnabled, loadReferencedObject, loadXML, lookupRepositoryReferences, passDataToServletOutput, readRep, resetStepIoMeta, saveRep, searchInfoAndTargetSteps, setChanged, setParentStepMeta, supportsErrorHandling
- 
Constructor Details- 
DenormaliserMetapublic DenormaliserMeta()
 
- 
- 
Method Details- 
getKeyField- Returns:
- Returns the keyField.
 
- 
setKeyField- Parameters:
- keyField- The keyField to set.
 
- 
getGroupField- Returns:
- Returns the groupField.
 
- 
setGroupField- Parameters:
- groupField- The groupField to set.
 
- 
getDenormaliserTargetFields
- 
searchTargetField
- 
getDenormaliserTargetField- Returns:
- Returns the pivotField.
 
- 
setDenormaliserTargetField- Parameters:
- pivotField- The pivotField to set.
 
- 
loadXMLpublic void loadXML(Node stepnode, List<org.pentaho.di.core.database.DatabaseMeta> databases, org.pentaho.metastore.api.IMetaStore metaStore) throws org.pentaho.di.core.exception.KettleXMLException Description copied from interface:StepMetaInterfaceLoad the values for this step from an XML Node- Specified by:
- loadXMLin interface- StepMetaInterface
- Overrides:
- loadXMLin class- BaseStepMeta
- Parameters:
- stepnode- the Node to get the info from
- databases- The available list of databases to reference to
- metaStore- the metastore to optionally load external reference metadata from
- Throws:
- org.pentaho.di.core.exception.KettleXMLException- When an unexpected XML error occurred. (malformed etc.)
 
- 
allocatepublic void allocate(int sizegroup, int nrfields) 
- 
cloneDescription copied from interface:StepMetaInterfaceMake an exact copy of this step, make sure to explicitly copy Collections etc.- Specified by:
- clonein interface- StepMetaInterface
- Overrides:
- clonein class- BaseStepMeta
- Returns:
- an exact copy of this step
 
- 
setDefaultpublic void setDefault()Description copied from interface:StepMetaInterfaceSet default values- Specified by:
- setDefaultin interface- StepMetaInterface
 
- 
getFieldspublic void getFields(org.pentaho.di.core.row.RowMetaInterface row, String name, org.pentaho.di.core.row.RowMetaInterface[] info, StepMeta nextStep, org.pentaho.di.core.variables.VariableSpace space, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore) throws org.pentaho.di.core.exception.KettleStepException Description copied from class:BaseStepMetaGets the fields.- Specified by:
- getFieldsin interface- StepMetaInterface
- Overrides:
- getFieldsin class- BaseStepMeta
- Parameters:
- row- the input row meta that is modified in this method to reflect the output row metadata of the step
- name- Name of the step to use as input for the origin field in the values
- info- Fields used as extra lookup information
- nextStep- the next step that is targeted
- space- the space The variable space to use to replace variables
- repository- the repository to use to load Kettle metadata objects impacting the output fields
- metaStore- the MetaStore to use to load additional external data or metadata impacting the output fields
- Throws:
- org.pentaho.di.core.exception.KettleStepException- the kettle step exception
 
- 
getXMLDescription copied from class:BaseStepMetaProduces the XML string that describes this step's information.- Specified by:
- getXMLin interface- StepMetaInterface
- Overrides:
- getXMLin class- BaseStepMeta
- Returns:
- String containing the XML describing this step.
 
- 
readReppublic void readRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId id_step, List<org.pentaho.di.core.database.DatabaseMeta> databases) throws org.pentaho.di.core.exception.KettleException Description copied from interface:StepMetaInterfaceRead the steps information from a Kettle repository- Specified by:
- readRepin interface- StepMetaInterface
- Overrides:
- readRepin class- BaseStepMeta
- Parameters:
- rep- The repository to read from
- metaStore- The MetaStore to read external information from
- id_step- The step ID
- databases- The databases to reference
- Throws:
- org.pentaho.di.core.exception.KettleException- When an unexpected error occurred (database, network, etc)
 
- 
saveReppublic void saveRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step) throws org.pentaho.di.core.exception.KettleException Description copied from interface:StepMetaInterfaceSave the steps data into a Kettle repository- Specified by:
- saveRepin interface- StepMetaInterface
- Overrides:
- saveRepin class- BaseStepMeta
- Parameters:
- rep- The Kettle repository to save to
- metaStore- the metaStore to optionally write to
- id_transformation- The transformation ID
- id_step- The step ID
- Throws:
- org.pentaho.di.core.exception.KettleException- When an unexpected error occurred (database, network, etc)
 
- 
checkpublic void check(List<org.pentaho.di.core.CheckResultInterface> remarks, TransMeta transMeta, StepMeta stepMeta, org.pentaho.di.core.row.RowMetaInterface prev, String[] input, String[] output, org.pentaho.di.core.row.RowMetaInterface info, org.pentaho.di.core.variables.VariableSpace space, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore) Description copied from interface:StepMetaInterfaceChecks the settings of this step and puts the findings in a remarks List.- Specified by:
- checkin interface- StepMetaInterface
- Overrides:
- checkin class- BaseStepMeta
- Parameters:
- remarks- The list to put the remarks in @see org.pentaho.di.core.CheckResult
- stepMeta- The stepMeta to help checking
- prev- The fields coming from the previous step
- input- The input step names
- output- The output step names
- info- The fields that are used as information by the step
- space- the variable space to resolve variable expressions with
- repository- the repository to use to load Kettle metadata objects impacting the output fields
- metaStore- the MetaStore to use to load additional external data or metadata impacting the output fields
 
- 
getSteppublic StepInterface getStep(StepMeta stepMeta, StepDataInterface stepDataInterface, int cnr, TransMeta transMeta, Trans trans) Description copied from interface:StepMetaInterfaceGet the executing step, needed by Trans to launch a step.- Specified by:
- getStepin interface- StepMetaInterface
- Parameters:
- stepMeta- The step info
- stepDataInterface- the step data interface linked to this step. Here the step can store temporary data, database connections, etc.
- cnr- The copy nr to get
- transMeta- The transformation info
- trans- The launching transformation
 
- 
getStepDataDescription copied from interface:StepMetaInterfaceGet a new instance of the appropriate data class. This data class implements the StepDataInterface. It basically contains the persisting data that needs to live on, even if a worker thread is terminated.- Specified by:
- getStepDatain interface- StepMetaInterface
- Returns:
- The appropriate StepDataInterface class.
 
- 
getStepMetaInjectionInterface- Specified by:
- getStepMetaInjectionInterfacein interface- StepMetaInterface
- Overrides:
- getStepMetaInjectionInterfacein class- BaseStepMeta
- Returns:
- Optional interface that allows an external program to inject step metadata in a standardized fasion. This method will return null if the interface is not available for this step.
 
 
-