Class SQLEditor


  • public class SQLEditor
    extends Object
    Dialog that allows the user to launch SQL statements towards the database.
    Since:
    13-10-2003
    Author:
    Matt
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.pentaho.di.core.logging.LoggingObjectInterface loggingObject  
    • Constructor Summary

      Constructors 
      Constructor Description
      SQLEditor​(org.eclipse.swt.widgets.Shell parent, int style, org.pentaho.di.core.database.DatabaseMeta ci, org.pentaho.di.core.DBCache dbc, String sql)  
      SQLEditor​(org.pentaho.di.core.variables.VariableSpace space, org.eclipse.swt.widgets.Shell parent, int style, org.pentaho.di.core.database.DatabaseMeta ci, org.pentaho.di.core.DBCache dbc, String sql)  
    • Field Detail

      • loggingObject

        public static final org.pentaho.di.core.logging.LoggingObjectInterface loggingObject
    • Constructor Detail

      • SQLEditor

        public SQLEditor​(org.eclipse.swt.widgets.Shell parent,
                         int style,
                         org.pentaho.di.core.database.DatabaseMeta ci,
                         org.pentaho.di.core.DBCache dbc,
                         String sql)
      • SQLEditor

        public SQLEditor​(org.pentaho.di.core.variables.VariableSpace space,
                         org.eclipse.swt.widgets.Shell parent,
                         int style,
                         org.pentaho.di.core.database.DatabaseMeta ci,
                         org.pentaho.di.core.DBCache dbc,
                         String sql)
    • Method Detail

      • open

        public void open()
      • setPosition

        public void setPosition()
      • dispose

        public void dispose()
      • getData

        public void getData()
        Copy information from the meta-data input to the dialog fields.
      • refreshExecutionResults

        protected void refreshExecutionResults()
        During or after an execution we will mark regions of the SQL editor dialog in green or red.