public abstract class BasePartitioner extends Object implements Partitioner
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
description |
protected String |
id |
protected StepPartitioningMeta |
meta |
protected int |
nrPartitions |
| 构造器和说明 |
|---|
BasePartitioner()
Instantiates a new base partitioner.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDialogClassName, getPartition, getXML, loadRep, loadXML, saveRepprotected StepPartitioningMeta meta
protected int nrPartitions
protected String id
protected String description
public Partitioner clone()
Partitionerclone 在接口中 Partitionerclone 在类中 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 在接口中 Partitionermeta - the new metapublic abstract Partitioner getInstance()
PartitionergetInstance 在接口中 Partitionerpublic String getDescription()
PartitionergetDescription 在接口中 Partitionerpublic void setDescription(String description)
PartitionersetDescription 在接口中 Partitionerdescription - the new descriptionpublic String getId()
PartitionergetId 在接口中 Partitionerpublic void setId(String id)
PartitionersetId 在接口中 Partitionerid - the new idCopyright © 2024 Hitachi Vantara. All rights reserved.