Class PartitionSettings
- java.lang.Object
-
- org.apache.hop.ui.hopgui.partition.PartitionSettings
-
public class PartitionSettings extends Object
-
-
Constructor Summary
Constructors Constructor Description PartitionSettings(int exactSize, PipelineMeta pipelineMeta, TransformMeta transformMeta, MetadataManager<PartitionSchema> schemaManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfillOptionsAndCodesByPlugins(List<IPlugin> plugins)TransformMetagetAfter()TransformMetagetBefore()String[]getCodes()intgetDefaultSelectedMethodIndex()intgetDefaultSelectedSchemaIndex()StringgetMethodByMethodDescription(String methodDescription)String[]getOptions()PipelineMetagetPipelineMeta()List<String>getSchemaNames()String[]getSchemaNamesArray()List<PartitionSchema>getSchemas()TransformMetagetTransformMeta()voidrollback(TransformMeta before)voidupdateMethod(String method)voidupdateMethodType(int methodType)voidupdateSchema(PartitionSchema schema)
-
-
-
Constructor Detail
-
PartitionSettings
public PartitionSettings(int exactSize, PipelineMeta pipelineMeta, TransformMeta transformMeta, MetadataManager<PartitionSchema> schemaManager)
-
-
Method Detail
-
getDefaultSelectedMethodIndex
public int getDefaultSelectedMethodIndex()
-
getDefaultSelectedSchemaIndex
public int getDefaultSelectedSchemaIndex()
-
getOptions
public String[] getOptions()
-
getCodes
public String[] getCodes()
-
getSchemaNamesArray
public String[] getSchemaNamesArray()
-
getSchemas
public List<PartitionSchema> getSchemas()
-
getTransformMeta
public TransformMeta getTransformMeta()
-
updateMethodType
public void updateMethodType(int methodType)
-
updateMethod
public void updateMethod(String method) throws HopPluginException
- Throws:
HopPluginException
-
updateSchema
public void updateSchema(PartitionSchema schema)
-
rollback
public void rollback(TransformMeta before) throws HopPluginException
- Throws:
HopPluginException
-
getBefore
public TransformMeta getBefore()
-
getAfter
public TransformMeta getAfter()
-
getPipelineMeta
public PipelineMeta getPipelineMeta()
-
-