org.apache.manifoldcf.crawler.connectors.jdbc
Class JDBCConnection.StatementQueryThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.apache.manifoldcf.crawler.connectors.jdbc.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
protected  java.sql.Connection 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
JDBCConnection.StatementQueryThread(java.lang.String query)
           
 
Method Summary
 java.lang.String[] getColumnNames()
           
 java.sql.Connection getConnection()
           
 java.lang.Throwable getException()
           
 java.sql.ResultSet getResultSet()
           
 java.sql.ResultSetMetaData getResultSetMetaData()
           
 java.sql.Statement getStatement()
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, 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 java.sql.Connection 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

JDBCConnection.StatementQueryThread

public JDBCConnection.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

getException

public java.lang.Throwable getException()

getConnection

public java.sql.Connection 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()