org.pentaho.di.trans
Class BasePartitioner

java.lang.Object
  extended by org.pentaho.di.trans.BasePartitioner
All Implemented Interfaces:
Partitioner
Direct Known Subclasses:
ModPartitioner

public abstract class BasePartitioner
extends Object
implements Partitioner


Constructor Summary
BasePartitioner()
           
 
Method Summary
 Partitioner clone()
           
 String getDescription()
           
 String getId()
           
abstract  Partitioner getInstance()
           
 StepPartitioningMeta getMeta()
           
 int getNrPartitions()
           
 void init(RowMetaInterface rowMeta)
           
 void setDescription(String description)
           
 void setId(String id)
           
 void setMeta(StepPartitioningMeta meta)
           
 void setNrPartitions(int nrPartitions)
           
 
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

BasePartitioner

public BasePartitioner()
Method Detail

clone

public Partitioner clone()
Specified by:
clone in interface Partitioner
Overrides:
clone in class Object

getNrPartitions

public int getNrPartitions()

setNrPartitions

public void setNrPartitions(int nrPartitions)

init

public void init(RowMetaInterface rowMeta)
          throws KettleException
Throws:
KettleException

getMeta

public StepPartitioningMeta getMeta()

setMeta

public void setMeta(StepPartitioningMeta meta)
Specified by:
setMeta in interface Partitioner

getInstance

public abstract Partitioner getInstance()
Specified by:
getInstance in interface Partitioner

getDescription

public String getDescription()
Specified by:
getDescription in interface Partitioner

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface Partitioner

getId

public String getId()
Specified by:
getId in interface Partitioner

setId

public void setId(String id)
Specified by:
setId in interface Partitioner