|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uk.org.ogsadai.engine.Activity
|
+--uk.org.ogsadai.activity.sql.SQLActivity
|
+--uk.org.ogsadai.activity.sql.SQLQueryStatementActivity
|
+--uk.org.ogsadai.activity.sql.csv.CSVQueryStatementActivity
| Nested Class Summary |
| Nested classes inherited from class uk.org.ogsadai.activity.sql.SQLActivity |
SQLActivity.ParameterInput, SQLActivity.StreamInput, SQLActivity.ValueInput |
| Field Summary |
| Fields inherited from class uk.org.ogsadai.activity.sql.SQLQueryStatementActivity |
mRowset, mStatementPrepared |
| Fields inherited from class uk.org.ogsadai.activity.sql.SQLActivity |
CREATE_DATABASE, DROP_DATABASE, EXPRESSION, mAllInput, mConnection, mConnectionManager, mCredentials, mExpression, mExpressionInput, mInputStreams, mIsTransaction, mNameToInput, mOpenConnection, mOutput, mStatement, RESULT_STREAM, SQL_PARAMETERS, STORED_PROCEDURE, WEB_ROW_SET_STREAM |
| Fields inherited from class uk.org.ogsadai.engine.Activity |
mContext, mExternalInputs, mExternalOutputs, mInternalInputs, mInternalOutputs |
| Constructor Summary | |
CSVQueryStatementActivity(org.w3c.dom.Element element)
Constructor for CSVQueryStatementActivity. |
|
| Method Summary | |
void |
cleanUp()
This method is called once this object is no longer required It is needed because it is unclear when a PreparedStatement is no longer required So we tidy up the PreparedStatement and return any connections |
protected void |
endProcessing()
This method will complete the processing and tidy up |
protected void |
processFirst()
This method will start processing. |
| Methods inherited from class uk.org.ogsadai.activity.sql.SQLQueryStatementActivity |
getResult, processBlock |
| Methods inherited from class uk.org.ogsadai.activity.sql.SQLActivity |
initialise, loadNextExpression, parseCommand, parseResultStream, parseSQLParameters, prepareStatement, setupInputStreamNames |
| Methods inherited from class uk.org.ogsadai.engine.Activity |
connectsTo, getActivityConfiguration, getName, getObservableStatus, getProperties, getStatus, hasActivityConfiguration, hasProperties, setCompleted, setError |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CSVQueryStatementActivity(org.w3c.dom.Element element)
throws ActivityUserException,
ActivitySystemException
element -
ActivityUserException
ActivitySystemException| Method Detail |
protected void processFirst()
processFirst in class SQLQueryStatementActivity
protected void endProcessing()
throws java.sql.SQLException,
ActivitySystemException
endProcessing in class SQLQueryStatementActivityjava.sql.SQLException
ActivitySystemException - the database connection could not be returnedpublic void cleanUp()
cleanUp in class SQLQueryStatementActivity
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||