|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Partitioner
clone
in class Object
public int getNrPartitions()
public void setNrPartitions(int nrPartitions)
nrPartitions
- the new nr partitionspublic 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 Partitioner
meta
- the new metapublic abstract Partitioner getInstance()
Partitioner
getInstance
in interface Partitioner
public String getDescription()
Partitioner
getDescription
in interface Partitioner
public void setDescription(String description)
Partitioner
setDescription
in interface Partitioner
description
- the new descriptionpublic String getId()
Partitioner
getId
in interface Partitioner
public void setId(String id)
Partitioner
setId
in interface Partitioner
id
- the new id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |