org.pentaho.di.trans
Class BasePartitioner
java.lang.Object
org.pentaho.di.trans.BasePartitioner
- All Implemented Interfaces:
- Partitioner
- Direct Known Subclasses:
- ModPartitioner
public abstract class BasePartitioner
- extends Object
- implements Partitioner
BasePartitioner
public BasePartitioner()
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