public class ModPartitioner extends BasePartitioner
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
partitionColumnIndex |
description, id, meta, nrPartitions| 构造器和说明 |
|---|
ModPartitioner() |
| 限定符和类型 | 方法和说明 |
|---|---|
ModPartitioner |
clone()
Clone.
|
String |
getDescription()
Gets the description.
|
String |
getDialogClassName()
Gets the dialog class name.
|
String |
getFieldName() |
Partitioner |
getInstance()
Gets the single instance of Partitioner.
|
int |
getPartition(org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] row)
Gets the partition.
|
String |
getXML()
Gets the xml.
|
void |
loadRep(Repository rep,
org.pentaho.di.repository.ObjectId id_step)
Load rep.
|
void |
loadXML(Node partitioningMethodNode)
Load xml.
|
void |
saveRep(Repository rep,
org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step)
Saves partitioning properties in the repository for the given step.
|
void |
setFieldName(String fieldName) |
getId, getMeta, getNrPartitions, init, setDescription, setId, setMeta, setNrPartitionspublic Partitioner getInstance()
PartitionergetInstance 在接口中 PartitionergetInstance 在类中 BasePartitionerpublic ModPartitioner clone()
Partitionerclone 在接口中 Partitionerclone 在类中 BasePartitionerpublic String getDialogClassName()
Partitionerpublic int getPartition(org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] row)
throws org.pentaho.di.core.exception.KettleException
PartitionerrowMeta - the row metarow - the rorg.pentaho.di.core.exception.KettleException - the kettle exceptionpublic String getDescription()
PartitionergetDescription 在接口中 PartitionergetDescription 在类中 BasePartitionerpublic String getXML()
Partitionerpublic void loadXML(Node partitioningMethodNode) throws org.pentaho.di.core.exception.KettleXMLException
PartitionerpartitioningMethodNode - the partitioning method nodeorg.pentaho.di.core.exception.KettleXMLException - the kettle xml exceptionpublic void saveRep(Repository rep, org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step) throws org.pentaho.di.core.exception.KettleException
Partitionerrep - the repository to save inid_transformation - the ID of the transformationid_step - the ID of the steporg.pentaho.di.core.exception.KettleException - In case anything goes wrongpublic void loadRep(Repository rep, org.pentaho.di.repository.ObjectId id_step) throws org.pentaho.di.core.exception.KettleException
Partitionerrep - the repid_step - the id_steporg.pentaho.di.core.exception.KettleException - the kettle exceptionpublic String getFieldName()
public void setFieldName(String fieldName)
Copyright © 2024 Hitachi Vantara. All rights reserved.