Class PartitionSettings
- java.lang.Object
-
- org.pentaho.di.ui.spoon.partition.PartitionSettings
-
public class PartitionSettings extends Object
- Author:
- Evgeniy_Lyakhov@epam.com
-
-
Constructor Summary
Constructors Constructor Description PartitionSettings(int exactSize, org.pentaho.di.trans.TransMeta transMeta, org.pentaho.di.trans.step.StepMeta stepMeta, PartitionSchemasProvider schemasProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfillOptionsAndCodesByPlugins(List<org.pentaho.di.core.plugins.PluginInterface> plugins)org.pentaho.di.trans.step.StepMetagetAfter()org.pentaho.di.trans.step.StepMetagetBefore()String[]getCodes()intgetDefaultSelectedMethodIndex()intgetDefaultSelectedSchemaIndex()StringgetMethodByMethodDescription(String methodDescription)String[]getOptions()List<String>getSchemaNames()String[]getSchemaNamesArray()List<org.pentaho.di.partition.PartitionSchema>getSchemas()org.pentaho.di.trans.step.StepMetagetStepMeta()org.pentaho.di.trans.TransMetagetTransMeta()voidrollback(org.pentaho.di.trans.step.StepMeta before)voidupdateMethod(String method)voidupdateMethodType(int methodType)voidupdateSchema(org.pentaho.di.partition.PartitionSchema schema)
-
-
-
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()
-
getOptions
public String[] getOptions()
-
getCodes
public String[] getCodes()
-
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()
-
-