|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.di.trans.BasePartitioner
org.pentaho.di.trans.ModPartitioner
public class ModPartitioner
| Constructor Summary | |
|---|---|
ModPartitioner()
|
|
| Method Summary | |
|---|---|
ModPartitioner |
clone()
Clone. |
String |
getDescription()
Gets the description. |
String |
getDialogClassName()
Gets the dialog class name. |
String |
getFieldName()
|
Partitioner |
getInstance()
Gets the single instance of Partitioner. |
int |
getPartition(RowMetaInterface rowMeta,
Object[] row)
Gets the partition. |
String |
getXML()
Gets the xml. |
void |
loadRep(Repository rep,
ObjectId id_step)
Load rep. |
void |
loadXML(Node partitioningMethodNode)
Load xml. |
void |
saveRep(Repository rep,
ObjectId id_transformation,
ObjectId id_step)
Saves partitioning properties in the repository for the given step. |
void |
setFieldName(String fieldName)
|
| Methods inherited from class org.pentaho.di.trans.BasePartitioner |
|---|
getId, getMeta, getNrPartitions, init, setDescription, setId, setMeta, setNrPartitions |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModPartitioner()
| Method Detail |
|---|
public Partitioner getInstance()
Partitioner
getInstance in interface PartitionergetInstance in class BasePartitionerpublic ModPartitioner clone()
Partitioner
clone in interface Partitionerclone in class BasePartitionerpublic String getDialogClassName()
Partitioner
public int getPartition(RowMetaInterface rowMeta,
Object[] row)
throws KettleException
Partitioner
rowMeta - the row metarow - the r
KettleException - the kettle exceptionpublic String getDescription()
Partitioner
getDescription in interface PartitionergetDescription in class BasePartitionerpublic String getXML()
Partitioner
public void loadXML(Node partitioningMethodNode)
throws KettleXMLException
Partitioner
partitioningMethodNode - the partitioning method node
KettleXMLException - the kettle xml exception
public void saveRep(Repository rep,
ObjectId id_transformation,
ObjectId id_step)
throws KettleException
Partitioner
rep - the repository to save inid_transformation - the ID of the transformationid_step - the ID of the step
KettleDatabaseException - In case anything goes wrong
KettleException
public void loadRep(Repository rep,
ObjectId id_step)
throws KettleException
Partitioner
rep - the repid_step - the id_step
KettleException - the kettle exceptionpublic String getFieldName()
public void setFieldName(String fieldName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||