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

java.lang.Object
  extended by java.lang.Thread
      extended by org.apache.manifoldcf.crawler.connectors.jdbc.JDBCConnection.PreparedStatementQueryThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
JDBCConnection

protected class JDBCConnection.PreparedStatementQueryThread
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.util.ArrayList params
           
protected  java.sql.PreparedStatement ps
           
protected  java.lang.String query
           
protected  java.lang.String[] resultCols
           
protected  java.sql.ResultSet rs
           
protected  java.sql.ResultSetMetaData rsmd
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
JDBCConnection.PreparedStatementQueryThread(java.lang.String query, java.util.ArrayList params)
           
 
Method Summary
 java.lang.String[] getColumnNames()
           
 java.sql.Connection getConnection()
           
 java.lang.Throwable getException()
           
 java.sql.PreparedStatement getPreparedStatement()
           
 java.sql.ResultSet getResultSet()
           
 java.sql.ResultSetMetaData getResultSetMetaData()
           
 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

params

protected java.util.ArrayList params

query

protected java.lang.String query

connection

protected java.sql.Connection connection

exception

protected java.lang.Throwable exception

ps

protected java.sql.PreparedStatement ps

rs

protected java.sql.ResultSet rs

rsmd

protected java.sql.ResultSetMetaData rsmd

resultCols

protected java.lang.String[] resultCols
Constructor Detail

JDBCConnection.PreparedStatementQueryThread

public JDBCConnection.PreparedStatementQueryThread(java.lang.String query,
                                                   java.util.ArrayList params)
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()

getPreparedStatement

public java.sql.PreparedStatement getPreparedStatement()

getResultSet

public java.sql.ResultSet getResultSet()

getResultSetMetaData

public java.sql.ResultSetMetaData getResultSetMetaData()

getColumnNames

public java.lang.String[] getColumnNames()