|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.ogsadai.activity.Activity | +--uk.org.ogsadai.activity.sql.AbstractSQLActivity | +--uk.org.ogsadai.activity.sql.AbstractParameterisedSQLActivity | +--uk.org.ogsadai.activity.sql.SQLQueryStatementActivity | +--uk.org.ogsadai.activity.sql.csv.CSVQueryStatementActivity
Executes SQL query statements on a CSV data resource.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE Copyright statement |
Fields inherited from class uk.org.ogsadai.activity.sql.SQLQueryStatementActivity |
|
Fields inherited from class uk.org.ogsadai.activity.sql.AbstractParameterisedSQLActivity |
mParameters |
Fields inherited from class uk.org.ogsadai.activity.sql.AbstractSQLActivity |
CREATE_DATABASE, DROP_DATABASE, EXPRESSION, mCredentials, mDataResource, mExpression, mInputStreamNames, mOutput, mStatement, RESULT_STREAM, SQL_OUT_PARAMETERS, SQL_PARAMETERS, STORED_PROCEDURE, WEB_ROW_SET_STREAM |
Fields inherited from class uk.org.ogsadai.activity.Activity |
mContext, mExternalInputs, mExternalOutputs, mInternalInputs, mInternalOutputs |
Constructor Summary | |
CSVQueryStatementActivity(org.w3c.dom.Element element) |
Method Summary | |
protected void |
parseSQLParameters(org.w3c.dom.NodeList nodes) This method will find the SQL parameters appropriate for this activity if any are specified. |
Methods inherited from class uk.org.ogsadai.activity.sql.SQLQueryStatementActivity |
cleanUp, processBlock, processFirst |
Methods inherited from class uk.org.ogsadai.activity.sql.AbstractParameterisedSQLActivity |
initialise, initialiseInputStreamNames |
Methods inherited from class uk.org.ogsadai.activity.sql.AbstractSQLActivity |
createOutputPipe, parseExpression, parseResultStream |
Methods inherited from class uk.org.ogsadai.activity.Activity |
connectsTo, getActivityConfiguration, getActivityName, getCause, getName, getObservableStatus, getProperties, getSession, getStatus, hasActivityConfiguration, hasProperties, process, setActivityName, setCompleted, setError |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
Constructor Detail |
public CSVQueryStatementActivity(org.w3c.dom.Element element) throws ActivitySpecificationException, ActivityCreationException
Method Detail |
protected void parseSQLParameters(org.w3c.dom.NodeList nodes) throws ActivitySpecificationException
AbstractParameterisedSQLActivity
These SQL parameters could be values or the names of output streams of other activities.
If no parameters are found then the internal SQL statement object is just set to be a simple SQL statement (SQLStatement
) else it will be set to a ParameterisedSQLStatement
).
parseSQLParameters
in class AbstractParameterisedSQLActivity
nodes
- A collection of elements each assumed to have name sqlParameter
.ActivitySpecificationException
- If SQL parameter is out of range or specified twice, or a parameter's value is missing or both a parameter value and an input stream have been specified.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |