Class JDBCConnection.StatementQueryThread

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    JDBCConnection

    protected class JDBCConnection.StatementQueryThread
    extends java.lang.Thread
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.manifoldcf.core.jdbcpool.WrappedConnection connection  
      protected java.lang.Throwable exception  
      protected java.lang.String query  
      protected java.lang.String[] resultCols  
      protected java.sql.ResultSet rs  
      protected java.sql.ResultSetMetaData rsmd  
      protected java.sql.Statement stmt  
      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • Constructor Summary

      Constructors 
      Constructor Description
      StatementQueryThread​(java.lang.String query)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void finishUp()  
      java.lang.String[] getColumnNames()  
      org.apache.manifoldcf.core.jdbcpool.WrappedConnection getConnection()  
      java.sql.ResultSet getResultSet()  
      java.sql.ResultSetMetaData getResultSetMetaData()  
      java.sql.Statement getStatement()  
      void run()  
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • query

        protected java.lang.String query
      • exception

        protected java.lang.Throwable exception
      • connection

        protected org.apache.manifoldcf.core.jdbcpool.WrappedConnection connection
      • stmt

        protected java.sql.Statement stmt
      • rs

        protected java.sql.ResultSet rs
      • rsmd

        protected java.sql.ResultSetMetaData rsmd
      • resultCols

        protected java.lang.String[] resultCols
    • Constructor Detail

      • StatementQueryThread

        public StatementQueryThread​(java.lang.String query)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Overrides:
        run in class java.lang.Thread
      • finishUp

        public void finishUp()
                      throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
                             org.apache.manifoldcf.agents.interfaces.ServiceInterruption,
                             java.lang.InterruptedException
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        java.lang.InterruptedException
      • getConnection

        public org.apache.manifoldcf.core.jdbcpool.WrappedConnection getConnection()
      • getStatement

        public java.sql.Statement getStatement()
      • getResultSet

        public java.sql.ResultSet getResultSet()
      • getResultSetMetaData

        public java.sql.ResultSetMetaData getResultSetMetaData()
      • getColumnNames

        public java.lang.String[] getColumnNames()