Class ModPartitioner

    • Field Detail

      • partitionColumnIndex

        protected int partitionColumnIndex
    • Constructor Detail

      • ModPartitioner

        public ModPartitioner()
    • Method Detail

      • getDialogClassName

        public String getDialogClassName()
        Description copied from interface: Partitioner
        Gets the dialog class name.
        Returns:
        the dialog class name
      • getPartition

        public int getPartition​(org.pentaho.di.core.row.RowMetaInterface rowMeta,
                                Object[] row)
                         throws org.pentaho.di.core.exception.KettleException
        Description copied from interface: Partitioner
        Gets the partition.
        Parameters:
        rowMeta - the row meta
        row - the r
        Returns:
        the partition
        Throws:
        org.pentaho.di.core.exception.KettleException - the kettle exception
      • getXML

        public String getXML()
        Description copied from interface: Partitioner
        Gets the xml.
        Returns:
        the xml
      • loadXML

        public void loadXML​(Node partitioningMethodNode)
                     throws org.pentaho.di.core.exception.KettleXMLException
        Description copied from interface: Partitioner
        Load xml.
        Parameters:
        partitioningMethodNode - the partitioning method node
        Throws:
        org.pentaho.di.core.exception.KettleXMLException - the kettle xml exception
      • saveRep

        public void saveRep​(Repository rep,
                            org.pentaho.di.repository.ObjectId id_transformation,
                            org.pentaho.di.repository.ObjectId id_step)
                     throws org.pentaho.di.core.exception.KettleException
        Description copied from interface: Partitioner
        Saves partitioning properties in the repository for the given step.
        Parameters:
        rep - the repository to save in
        id_transformation - the ID of the transformation
        id_step - the ID of the step
        Throws:
        org.pentaho.di.core.exception.KettleException - In case anything goes wrong
      • loadRep

        public void loadRep​(Repository rep,
                            org.pentaho.di.repository.ObjectId id_step)
                     throws org.pentaho.di.core.exception.KettleException
        Description copied from interface: Partitioner
        Load rep.
        Parameters:
        rep - the rep
        id_step - the id_step
        Throws:
        org.pentaho.di.core.exception.KettleException - the kettle exception
      • getFieldName

        public String getFieldName()
      • setFieldName

        public void setFieldName​(String fieldName)