Class PartitionSettings


  • public class PartitionSettings
    extends Object
    Author:
    Evgeniy_Lyakhov@epam.com
    • Constructor Detail

      • PartitionSettings

        public PartitionSettings​(int exactSize,
                                 org.pentaho.di.trans.TransMeta transMeta,
                                 org.pentaho.di.trans.step.StepMeta stepMeta,
                                 PartitionSchemasProvider schemasProvider)
    • Method Detail

      • fillOptionsAndCodesByPlugins

        public void fillOptionsAndCodesByPlugins​(List<org.pentaho.di.core.plugins.PluginInterface> plugins)
      • getDefaultSelectedMethodIndex

        public int getDefaultSelectedMethodIndex()
      • getDefaultSelectedSchemaIndex

        public int getDefaultSelectedSchemaIndex()
      • getMethodByMethodDescription

        public String getMethodByMethodDescription​(String methodDescription)
      • getOptions

        public String[] getOptions()
      • getCodes

        public String[] getCodes()
      • getSchemaNames

        public List<String> getSchemaNames()
      • getSchemaNamesArray

        public String[] getSchemaNamesArray()
      • getSchemas

        public List<org.pentaho.di.partition.PartitionSchema> getSchemas()
      • getStepMeta

        public org.pentaho.di.trans.step.StepMeta getStepMeta()
      • updateMethodType

        public void updateMethodType​(int methodType)
      • updateMethod

        public void updateMethod​(String method)
                          throws org.pentaho.di.core.exception.KettlePluginException
        Throws:
        org.pentaho.di.core.exception.KettlePluginException
      • updateSchema

        public void updateSchema​(org.pentaho.di.partition.PartitionSchema schema)
      • rollback

        public void rollback​(org.pentaho.di.trans.step.StepMeta before)
                      throws org.pentaho.di.core.exception.KettlePluginException
        Throws:
        org.pentaho.di.core.exception.KettlePluginException
      • getBefore

        public org.pentaho.di.trans.step.StepMeta getBefore()
      • getAfter

        public org.pentaho.di.trans.step.StepMeta getAfter()
      • getTransMeta

        public org.pentaho.di.trans.TransMeta getTransMeta()