Package com.iizigo.db.editor
Class CustomParameterMarkers
java.lang.Object
com.iizigo.db.editor.CustomParameterMarkers
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 Summary
ConstructorDescriptionCustomParameterMarkers
(CustomSQLBuilder builder, org.eclipse.datatools.modelbase.sql.query.QueryStatement sqlStatement) Custom parameter markers.Method Summary
Modifier and TypeMethodDescriptionboolean
Returns if execution should continue.Gets thge current marker values.Return the SQL statement with values substituted if there are any markers
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
Gets thge current marker values.- Returns:
- The array.
substituteParameters
Return the SQL statement with values substituted if there are any markers- Returns:
- The substituted variable string.