public abstract class BasePartitioner extends Object implements Partitioner
| Constructor and Description |
|---|
BasePartitioner()
Instantiates a new base partitioner.
|
| Modifier and Type | Method and Description |
|---|---|
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(org.pentaho.di.core.row.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.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDialogClassName, getPartition, getXML, loadRep, loadXML, saveReppublic Partitioner clone()
Partitionerclone in interface Partitionerclone in class Objectpublic int getNrPartitions()
public void setNrPartitions(int nrPartitions)
nrPartitions - the new nr partitionspublic void init(org.pentaho.di.core.row.RowMetaInterface rowMeta)
throws org.pentaho.di.core.exception.KettleException
rowMeta - the row metaorg.pentaho.di.core.exception.KettleException - the kettle exceptionpublic StepPartitioningMeta getMeta()
public void setMeta(StepPartitioningMeta meta)
PartitionersetMeta in interface Partitionermeta - the new metapublic abstract Partitioner getInstance()
PartitionergetInstance in interface Partitionerpublic String getDescription()
PartitionergetDescription in interface Partitionerpublic void setDescription(String description)
PartitionersetDescription in interface Partitionerdescription - the new descriptionpublic String getId()
PartitionergetId in interface Partitionerpublic void setId(String id)
PartitionersetId in interface Partitionerid - the new id