public class StepPartitioningMeta extends Object implements XMLInterface, Cloneable
| 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) |
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 KettlePluginException
method - partitionSchema - KettlePluginExceptionpublic StepPartitioningMeta(Node partitioningMethodNode) throws KettleException
KettleExceptionpublic StepPartitioningMeta clone()
public boolean equals(Object obj)
public int getMethodType()
public void setMethod(String method) throws KettlePluginException
method - the partitioning method to setKettlePluginExceptionpublic String getXML()
getXML in interface 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 KettleException
partitionSchemas - the list of partitioning schemasKettleExceptionpublic void createPartitioner(String method) throws KettlePluginException
KettlePluginExceptionpublic boolean isMethodMirror()
public int getPartition(RowMetaInterface rowMeta, Object[] row) throws KettleException
KettleExceptionpublic Partitioner getPartitioner()
public void setPartitioner(Partitioner partitioner)
public boolean hasChanged()
public void hasChanged(boolean hasChanged)
public void setMethodType(int methodType)
Copyright © 2018 Hitachi Vantara. All rights reserved.