|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.di.trans.BasePartitioner
public abstract class BasePartitioner
Implements common functionality needed by partitioner plugins.
| Constructor Summary | |
|---|---|
BasePartitioner()
Instantiates a new base partitioner. |
|
| Method Summary | |
|---|---|
Partitioner |
clone()
Clone. |
String |
getDescription()
Gets the description. |
String |
getId()
Gets the id. |
abstract Partitioner |
getInstance()
Gets the single instance of Partitioner. |
StepPartitioningMeta |
getMeta()
Gets the meta. |
int |
getNrPartitions()
Gets the nr partitions. |
void |
init(RowMetaInterface rowMeta)
Inits the. |
void |
setDescription(String description)
Sets the description. |
void |
setId(String id)
Sets the id. |
void |
setMeta(StepPartitioningMeta meta)
Sets the meta. |
void |
setNrPartitions(int nrPartitions)
Sets the nr partitions. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.pentaho.di.trans.Partitioner |
|---|
getDialogClassName, getPartition, getXML, loadRep, loadXML, saveRep |
| Constructor Detail |
|---|
public BasePartitioner()
| Method Detail |
|---|
public Partitioner clone()
Partitioner
clone in interface Partitionerclone in class Objectpublic int getNrPartitions()
public void setNrPartitions(int nrPartitions)
nrPartitions - the new nr partitions
public void init(RowMetaInterface rowMeta)
throws KettleException
rowMeta - the row meta
KettleException - the kettle exceptionpublic StepPartitioningMeta getMeta()
public void setMeta(StepPartitioningMeta meta)
Partitioner
setMeta in interface Partitionermeta - the new metapublic abstract Partitioner getInstance()
Partitioner
getInstance in interface Partitionerpublic String getDescription()
Partitioner
getDescription in interface Partitionerpublic void setDescription(String description)
Partitioner
setDescription in interface Partitionerdescription - the new descriptionpublic String getId()
Partitioner
getId in interface Partitionerpublic void setId(String id)
Partitioner
setId in interface Partitionerid - the new id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||