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 org.pentaho.di.core.exception.KettlePluginException
method
- partitionSchema
- org.pentaho.di.core.exception.KettlePluginException
public StepPartitioningMeta(Node partitioningMethodNode) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public 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.KettlePluginException
public String getXML()
getXML
in interface org.pentaho.di.core.xml.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 org.pentaho.di.core.exception.KettleException
partitionSchemas
- the list of partitioning schemasorg.pentaho.di.core.exception.KettleException
public void createPartitioner(String method) throws org.pentaho.di.core.exception.KettlePluginException
org.pentaho.di.core.exception.KettlePluginException
public 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.KettleException
public Partitioner getPartitioner()
public void setPartitioner(Partitioner partitioner)
public boolean hasChanged()
public void hasChanged(boolean hasChanged)
public void setMethodType(int methodType)