org.pentaho.di.trans
Interface Partitioner
- All Known Implementing Classes:
- BasePartitioner, ModPartitioner
public interface Partitioner
getInstance
Partitioner getInstance()
getPartition
int getPartition(RowMetaInterface rowMeta,
Object[] r)
throws KettleException
- Throws:
KettleException
setMeta
void setMeta(StepPartitioningMeta meta)
getId
String getId()
getDescription
String getDescription()
setId
void setId(String id)
setDescription
void setDescription(String description)
getDialogClassName
String getDialogClassName()
clone
Partitioner clone()
getXML
String getXML()
loadXML
void loadXML(Node partitioningMethodNode)
throws KettleXMLException
- Throws:
KettleXMLException
saveRep
void saveRep(Repository rep,
ObjectId id_transformation,
ObjectId id_step)
throws KettleException
- Saves partitioning properties in the repository for the given step.
- Parameters:
rep
- the repository to save inid_transformation
- the ID of the transformationid_step
- the ID of the step
- Throws:
KettleDatabaseException
- In case anything goes wrong
KettleException
loadRep
void loadRep(Repository rep,
ObjectId id_step)
throws KettleException
- Throws:
KettleException