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 void
fillOptionsAndCodesByPlugins(List<org.pentaho.di.core.plugins.PluginInterface> plugins)
org.pentaho.di.trans.step.StepMeta
getAfter()
org.pentaho.di.trans.step.StepMeta
getBefore()
String[]
getCodes()
int
getDefaultSelectedMethodIndex()
int
getDefaultSelectedSchemaIndex()
String
getMethodByMethodDescription(String methodDescription)
String[]
getOptions()
List<String>
getSchemaNames()
String[]
getSchemaNamesArray()
List<org.pentaho.di.partition.PartitionSchema>
getSchemas()
org.pentaho.di.trans.step.StepMeta
getStepMeta()
org.pentaho.di.trans.TransMeta
getTransMeta()
void
rollback(org.pentaho.di.trans.step.StepMeta before)
void
updateMethod(String method)
void
updateMethodType(int methodType)
void
updateSchema(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()
-
-