| Modifier and Type | Field and Description | 
|---|---|
static String[] | 
methodCodes  | 
static String[] | 
methodDescriptions  | 
static int | 
PARTITIONING_METHOD_MIRROR  | 
static int | 
PARTITIONING_METHOD_NONE  | 
static int | 
PARTITIONING_METHOD_SPECIAL  | 
| Constructor and Description | 
|---|
StepPartitioningMeta()  | 
StepPartitioningMeta(Node partitioningMethodNode)  | 
StepPartitioningMeta(String method,
                    PartitionSchema partitionSchema)  | 
| Modifier and Type | Method and Description | 
|---|---|
StepPartitioningMeta | 
clone()  | 
void | 
createPartitioner(String method)  | 
boolean | 
equals(Object obj)  | 
String | 
getMethod()  | 
static String | 
getMethod(String name)  | 
String | 
getMethodCode()  | 
String | 
getMethodDescription()  | 
int | 
getMethodType()  | 
static int | 
getMethodType(String description)  | 
int | 
getPartition(org.pentaho.di.core.row.RowMetaInterface rowMeta,
            Object[] row)  | 
Partitioner | 
getPartitioner()  | 
PartitionSchema | 
getPartitionSchema()  | 
String | 
getXML()  | 
boolean | 
hasChanged()  | 
void | 
hasChanged(boolean hasChanged)  | 
boolean | 
isMethodMirror()  | 
boolean | 
isPartitioned()  | 
void | 
setMethod(String method)  | 
void | 
setMethodType(int methodType)  | 
void | 
setPartitioner(Partitioner partitioner)  | 
void | 
setPartitionSchema(PartitionSchema partitionSchema)  | 
void | 
setPartitionSchemaAfterLoading(List<PartitionSchema> partitionSchemas)
Set the partitioning schema after loading from XML or repository 
 | 
void | 
setPartitionSchemaName(String partitionSchemaName)  | 
String | 
toString()  | 
public static final int PARTITIONING_METHOD_NONE
public static final int PARTITIONING_METHOD_MIRROR
public static final int PARTITIONING_METHOD_SPECIAL
public static final String[] methodCodes
public static final String[] methodDescriptions
public StepPartitioningMeta()
public StepPartitioningMeta(String method, PartitionSchema partitionSchema) throws org.pentaho.di.core.exception.KettlePluginException
method - partitionSchema - org.pentaho.di.core.exception.KettlePluginExceptionpublic StepPartitioningMeta(Node partitioningMethodNode) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic StepPartitioningMeta clone()
public boolean equals(Object obj)
public int getMethodType()
public void setMethod(String method) throws org.pentaho.di.core.exception.KettlePluginException
method - the partitioning method to setorg.pentaho.di.core.exception.KettlePluginExceptionpublic String getXML()
getXML in interface org.pentaho.di.core.xml.XMLInterfacepublic String getMethodCode()
public String getMethodDescription()
public String getMethod()
public static final int getMethodType(String description)
public boolean isPartitioned()
public void setPartitionSchemaName(String partitionSchemaName)
public PartitionSchema getPartitionSchema()
public void setPartitionSchema(PartitionSchema partitionSchema)
partitionSchema - the partitionSchema to setpublic void setPartitionSchemaAfterLoading(List<PartitionSchema> partitionSchemas) throws org.pentaho.di.core.exception.KettleException
partitionSchemas - the list of partitioning schemasorg.pentaho.di.core.exception.KettleExceptionpublic void createPartitioner(String method) throws org.pentaho.di.core.exception.KettlePluginException
org.pentaho.di.core.exception.KettlePluginExceptionpublic boolean isMethodMirror()
public int getPartition(org.pentaho.di.core.row.RowMetaInterface rowMeta,
               Object[] row)
                 throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic Partitioner getPartitioner()
public void setPartitioner(Partitioner partitioner)
public boolean hasChanged()
public void hasChanged(boolean hasChanged)
public void setMethodType(int methodType)