Class MergeJoinMeta
- java.lang.Object
- 
- org.pentaho.di.trans.step.BaseStepMeta
- 
- org.pentaho.di.trans.steps.mergejoin.MergeJoinMeta
 
 
- 
- All Implemented Interfaces:
- Cloneable,- StepAttributesInterface,- StepMetaInterface
 
 public class MergeJoinMeta extends BaseStepMeta implements StepMetaInterface 
- 
- 
Field SummaryFields Modifier and Type Field Description static String[]join_typesstatic boolean[]one_optionalsstatic boolean[]two_optionals- 
Fields inherited from class org.pentaho.di.trans.step.BaseStepMetaattributes, databases, log, loggingObject, parentStepMeta, repository, STEP_ATTRIBUTES_FILE
 
- 
 - 
Constructor SummaryConstructors Constructor Description MergeJoinMeta()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidallocate(int nrKeys1, int nrKeys2)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.Objectclone()Make an exact copy of this step, make sure to explicitly copy Collections etc.booleanexcludeFromRowLayoutVerification()This method is added to exclude certain steps from layout checking.voidgetFields(org.pentaho.di.core.row.RowMetaInterface r, 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.StringgetJoinType()The supported join types are INNER, LEFT OUTER, RIGHT OUTER and FULL OUTERString[]getKeyFields1()String[]getKeyFields2()StepInterfacegetStep(StepMeta stepMeta, StepDataInterface stepDataInterface, int cnr, TransMeta tr, Trans trans)Get the executing step, needed by Trans to launch a step.StepDataInterfacegetStepData()Get a new instance of the appropriate data class.StepIOMetaInterfacegetStepIOMeta()Returns the Input/Output metadata for this step.TransMeta.TransformationType[]getSupportedTransformationTypes()StringgetXML()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 repositoryvoidresetStepIoMeta()Reset step io meta.voidsaveRep(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 repositoryvoidsearchInfoAndTargetSteps(List<StepMeta> steps)Change step names into step objects to allow them to be name-changed etc.voidsetDefault()Set default valuesvoidsetJoinType(String joinType)Sets the type of joinvoidsetKeyFields1(String[] keyFields1)voidsetKeyFields2(String[] keyFields2)- 
Methods inherited from class org.pentaho.di.trans.step.BaseStepMetaanalyseImpact, analyseImpact, cancelQueries, check, check, createEntry, excludeFromCopyDistributeVerification, 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, getStepMetaInjectionInterface, 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, saveRep, setChanged, setChanged, setParentStepMeta, setStepIOMeta, supportsErrorHandling
 - 
Methods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.pentaho.di.trans.step.StepMetaInterfaceanalyseImpact, analyseImpact, cancelQueries, check, cleanAfterHopFromRemove, cleanAfterHopFromRemove, cleanAfterHopToRemove, excludeFromCopyDistributeVerification, exportResources, exportResources, extractStepMetadataEntries, fetchTransMeta, getActiveReferencedObjectDescription, getDialogClassName, getFields, getOptionalStreams, getParentStepMeta, getReferencedObjectDescriptions, getRequiredFields, getResourceDependencies, getSQLStatements, getSQLStatements, getStepMetaInjectionInterface, getTableFields, getUsedArguments, getUsedDatabaseConnections, getUsedLibraries, handleStreamSelection, hasChanged, hasRepositoryReferences, isReferencedObjectEnabled, loadReferencedObject, loadXML, lookupRepositoryReferences, passDataToServletOutput, readRep, saveRep, setChanged, setParentStepMeta, supportsErrorHandling
 
- 
 
- 
- 
- 
Field Detail- 
join_typespublic static final String[] join_types 
 - 
one_optionalspublic static final boolean[] one_optionals 
 - 
two_optionalspublic static final boolean[] two_optionals 
 
- 
 - 
Method Detail- 
getJoinTypepublic String getJoinType() The supported join types are INNER, LEFT OUTER, RIGHT OUTER and FULL OUTER- Returns:
- The type of join
 
 - 
setJoinTypepublic void setJoinType(String joinType) Sets the type of join- Parameters:
- joinType- The type of join, e.g. INNER/FULL OUTER
 
 - 
getKeyFields1public String[] getKeyFields1() - Returns:
- Returns the keyFields1.
 
 - 
setKeyFields1public void setKeyFields1(String[] keyFields1) - Parameters:
- keyFields1- The keyFields1 to set.
 
 - 
getKeyFields2public String[] getKeyFields2() - Returns:
- Returns the keyFields2.
 
 - 
setKeyFields2public void setKeyFields2(String[] keyFields2) - Parameters:
- keyFields2- The keyFields2 to set.
 
 - 
excludeFromRowLayoutVerificationpublic boolean excludeFromRowLayoutVerification() Description copied from class:BaseStepMetaThis method is added to exclude certain steps from layout checking.- Specified by:
- excludeFromRowLayoutVerificationin interface- StepMetaInterface
- Overrides:
- excludeFromRowLayoutVerificationin class- BaseStepMeta
 
 - 
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 nrKeys1, int nrKeys2)
 - 
clonepublic Object clone() Description 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
 
 - 
getXMLpublic String getXML() Description 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.
 
 - 
setDefaultpublic void setDefault() Description copied from interface:StepMetaInterfaceSet default values- Specified by:
- setDefaultin interface- StepMetaInterface
 
 - 
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)
 
 - 
searchInfoAndTargetStepspublic void searchInfoAndTargetSteps(List<StepMeta> steps) Description copied from class:BaseStepMetaChange step names into step objects to allow them to be name-changed etc.- Specified by:
- searchInfoAndTargetStepsin interface- StepMetaInterface
- Overrides:
- searchInfoAndTargetStepsin class- BaseStepMeta
- Parameters:
- steps- the steps to reference
 
 - 
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
 
 - 
getFieldspublic void getFields(org.pentaho.di.core.row.RowMetaInterface r, 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.KettleStepExceptionDescription copied from class:BaseStepMetaGets the fields.- Specified by:
- getFieldsin interface- StepMetaInterface
- Overrides:
- getFieldsin class- BaseStepMeta
- Parameters:
- r- 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
 
 - 
getSteppublic StepInterface getStep(StepMeta stepMeta, StepDataInterface stepDataInterface, int cnr, TransMeta tr, 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
- tr- The transformation info
- trans- The launching transformation
 
 - 
getStepDatapublic StepDataInterface getStepData() Description 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.
 
 - 
getStepIOMetapublic StepIOMetaInterface getStepIOMeta() Returns the Input/Output metadata for this step. The generator step only produces output, does not accept input!- Specified by:
- getStepIOMetain interface- StepMetaInterface
- Overrides:
- getStepIOMetain class- BaseStepMeta
 
 - 
resetStepIoMetapublic void resetStepIoMeta() Description copied from class:BaseStepMetaReset step io meta.- Specified by:
- resetStepIoMetain interface- StepMetaInterface
- Overrides:
- resetStepIoMetain class- BaseStepMeta
 
 - 
getSupportedTransformationTypespublic TransMeta.TransformationType[] getSupportedTransformationTypes() - Specified by:
- getSupportedTransformationTypesin interface- StepMetaInterface
- Overrides:
- getSupportedTransformationTypesin class- BaseStepMeta
- Returns:
- The supported transformation types that this step supports.
 
 
- 
 
-