Package org.pentaho.di.trans.cluster
Class TransSplitter
java.lang.Object
org.pentaho.di.trans.cluster.TransSplitter
This class takes care of the separation of the original transformation into pieces that run on the different slave
servers in the clusters used.
- Author:
- Matt
-
Constructor Summary
ConstructorsModifierConstructorDescriptionTransSplitter(TransMeta transMeta) protectedTransSplitter(TransMeta transMeta, TransMetaFactory transMetaFactory) -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreatePartitionSchemaNameFromTarget(String targetName) createPortCacheKey(SlaveServer sourceSlave, String sourceStepName, int sourceStepCopy, SlaveServer targetSlave, String targetStepName, int targetStepCopy) static Stringstatic StringvoidsetOriginalTransformation(TransMeta originalTransformation) void
-
Constructor Details
-
TransSplitter
public TransSplitter() -
TransSplitter
- Parameters:
transMeta- The original transformation- Throws:
org.pentaho.di.core.exception.KettleException
-
TransSplitter
protected TransSplitter(TransMeta transMeta, TransMetaFactory transMetaFactory) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
-
Method Details
-
getOriginalTransformation
- Returns:
- the originalTransformation
-
setOriginalTransformation
- Parameters:
originalTransformation- the originalTransformation to set
-
createPortCacheKey
public String createPortCacheKey(SlaveServer sourceSlave, String sourceStepName, int sourceStepCopy, SlaveServer targetSlave, String targetStepName, int targetStepCopy) -
createSlavePartitionSchemaName
-
createTargetPartitionSchemaName
-
createPartitionSchemaNameFromTarget
-
getMaster
- Returns:
- the master
-
getSlaveTransMap
- Returns:
- the slaveTransMap : the mapping between a slaveServer and the transformation
-
getSlaves
-
getSlaveTargets
-
getMasterServer
- Throws:
org.pentaho.di.core.exception.KettleException
-
splitOriginalTransformation
public void splitOriginalTransformation() throws org.pentaho.di.core.exception.KettleException- Throws:
org.pentaho.di.core.exception.KettleException
-
getCarteObjectMap
-
getClusteredRunId
-