Class QueryTask

java.lang.Object
ca.phon.worker.PhonTask
ca.phon.query.script.QueryTask
All Implemented Interfaces:
Runnable

public class QueryTask extends PhonTask
Run a query given a project, session and query script.
  • Constructor Details

  • Method Details

    • getProject

      public Project getProject()
    • getSession

      public Session getSession()
    • getQueryScript

      public QueryScript getQueryScript()
    • getResultSet

      public ResultSet getResultSet()
    • setResultSet

      public void setResultSet(ResultSet rs)
    • isIncludeExcludedRecords

      public boolean isIncludeExcludedRecords()
    • setIncludeExcludedRecords

      public void setIncludeExcludedRecords(boolean includeExcludedRecords)
    • getDebugRecord

      public int getDebugRecord()
    • setDebugRecord

      public void setDebugRecord(int debugRecord)
    • isDebugSession

      public boolean isDebugSession()
    • setDebugSession

      public void setDebugSession(boolean debugSession)
    • performTask

      public void performTask()
      Description copied from class: PhonTask
      The abstract run method. This method must be implemented by all subclasses.
      Specified by:
      performTask in class PhonTask
    • executeQuery

      public ResultSet executeQuery() throws PhonScriptException
      Execute the query and return the result set.
      Returns:
      query results
      Throws:
      PhonScriptException