Package org.pentaho.di.trans.step
Class StepPartitioningMeta
java.lang.Object
org.pentaho.di.trans.step.StepPartitioningMeta
- All Implemented Interfaces:
Cloneable
,org.pentaho.di.core.xml.XMLInterface
-
Field Summary
-
Constructor Summary
ConstructorDescriptionStepPartitioningMeta
(String method, PartitionSchema partitionSchema) StepPartitioningMeta
(Node partitioningMethodNode) -
Method Summary
Modifier and TypeMethodDescriptionclone()
void
createPartitioner
(String method) boolean
static final String
int
static final int
getMethodType
(String description) int
getPartition
(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row) getXML()
boolean
void
hasChanged
(boolean hasChanged) int
hashCode()
boolean
boolean
void
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 repositoryvoid
setPartitionSchemaName
(String partitionSchemaName) toString()
-
Field Details
-
PARTITIONING_METHOD_NONE
public static final int PARTITIONING_METHOD_NONE- See Also:
-
PARTITIONING_METHOD_MIRROR
public static final int PARTITIONING_METHOD_MIRROR- See Also:
-
PARTITIONING_METHOD_SPECIAL
public static final int PARTITIONING_METHOD_SPECIAL- See Also:
-
methodCodes
-
methodDescriptions
-
-
Constructor Details
-
StepPartitioningMeta
public StepPartitioningMeta() -
StepPartitioningMeta
public StepPartitioningMeta(String method, PartitionSchema partitionSchema) throws org.pentaho.di.core.exception.KettlePluginException - Parameters:
method
-partitionSchema
-- Throws:
org.pentaho.di.core.exception.KettlePluginException
-
StepPartitioningMeta
public StepPartitioningMeta(Node partitioningMethodNode) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
-
Method Details
-
clone
-
equals
-
hashCode
public int hashCode() -
toString
-
getMethodType
public int getMethodType()- Returns:
- the partitioningMethod
-
setMethod
- Parameters:
method
- the partitioning method to set- Throws:
org.pentaho.di.core.exception.KettlePluginException
-
getXML
- Specified by:
getXML
in interfaceorg.pentaho.di.core.xml.XMLInterface
-
getMethodCode
-
getMethodDescription
-
getMethod
-
getMethod
-
getMethodType
-
isPartitioned
public boolean isPartitioned() -
setPartitionSchemaName
-
getPartitionSchema
- Returns:
- the partitionSchema
-
setPartitionSchema
- Parameters:
partitionSchema
- the partitionSchema to set
-
setPartitionSchemaAfterLoading
public void setPartitionSchemaAfterLoading(List<PartitionSchema> partitionSchemas) throws org.pentaho.di.core.exception.KettleException Set the partitioning schema after loading from XML or repository- Parameters:
partitionSchemas
- the list of partitioning schemas- Throws:
org.pentaho.di.core.exception.KettleException
-
createPartitioner
public void createPartitioner(String method) throws org.pentaho.di.core.exception.KettlePluginException - Throws:
org.pentaho.di.core.exception.KettlePluginException
-
isMethodMirror
public boolean isMethodMirror() -
getPartition
public int getPartition(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
getPartitioner
-
setPartitioner
-
hasChanged
public boolean hasChanged() -
hasChanged
public void hasChanged(boolean hasChanged) -
setMethodType
public void setMethodType(int methodType)
-