Class CustomParameterMarkers

java.lang.Object
com.iizigo.db.editor.CustomParameterMarkers

public class CustomParameterMarkers extends Object
A helper class that takes a SQLStatement as input and substitute the parameter markers with value by invoking the ParameterWizard dialog.

The class is copied from the ParameterMarkers and modified to work with VS Fields.

Author:
Christopher Mindus
  • Constructor Details

    • CustomParameterMarkers

      public CustomParameterMarkers(CustomSQLBuilder builder, org.eclipse.datatools.modelbase.sql.query.QueryStatement sqlStatement)
      Custom parameter markers.
      Parameters:
      builder - The SQL Builder.
      sqlStatement - The statement.
  • Method Details

    • getContinueExecution

      public boolean getContinueExecution()
      Returns if execution should continue.
      Returns:
      false to abort.
    • getMarkerValues

      public Vector getMarkerValues()
      Gets thge current marker values.
      Returns:
      The array.
    • substituteParameters

      public String substituteParameters()
      Return the SQL statement with values substituted if there are any markers
      Returns:
      The substituted variable string.