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
- KettlePluginException
public StepPartitioningMeta(Node partitioningMethodNode) throws KettleException
KettleException
public StepPartitioningMeta clone()
public boolean equals(Object obj)
public int getMethodType()
public void setMethod(String method) throws KettlePluginException
method
- the partitioning method to setKettlePluginException
public String getXML()
getXML
in interface XMLInterface
public 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 schemasKettleException
public void createPartitioner(String method) throws KettlePluginException
KettlePluginException
public boolean isMethodMirror()
public int getPartition(RowMetaInterface rowMeta, Object[] row) throws KettleException
KettleException
public 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.