org.pentaho.di.trans
Class ModPartitioner
java.lang.Object
org.pentaho.di.trans.BasePartitioner
org.pentaho.di.trans.ModPartitioner
- All Implemented Interfaces:
- Partitioner
public class ModPartitioner
- extends BasePartitioner
ModPartitioner
public ModPartitioner()
getInstance
public Partitioner getInstance()
- Specified by:
getInstance
in interface Partitioner
- Specified by:
getInstance
in class BasePartitioner
clone
public ModPartitioner clone()
- Specified by:
clone
in interface Partitioner
- Overrides:
clone
in class BasePartitioner
getDialogClassName
public String getDialogClassName()
getPartition
public int getPartition(RowMetaInterface rowMeta,
Object[] row)
throws KettleException
- Throws:
KettleException
getDescription
public String getDescription()
- Specified by:
getDescription
in interface Partitioner
- Overrides:
getDescription
in class BasePartitioner
getXML
public String getXML()
loadXML
public void loadXML(Node partitioningMethodNode)
throws KettleXMLException
- Throws:
KettleXMLException
saveRep
public void saveRep(Repository rep,
ObjectId id_transformation,
ObjectId id_step)
throws KettleException
- Description copied from interface:
Partitioner
- Saves partitioning properties in the repository for the given step.
- Parameters:
rep
- the repository to save inid_transformation
- the ID of the transformationid_step
- the ID of the step
- Throws:
KettleDatabaseException
- In case anything goes wrong
KettleException
loadRep
public void loadRep(Repository rep,
ObjectId id_step)
throws KettleException
- Throws:
KettleException
getFieldName
public String getFieldName()
setFieldName
public void setFieldName(String fieldName)