| |
|
| java.lang.Object org.continuent.sequoia.controller.requests.AbstractRequest org.continuent.sequoia.controller.requests.StoredProcedure
Constructor Summary | |
public | StoredProcedure(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator) Creates a new StoredProcedure instance. |
altersAggregateList | protected boolean altersAggregateList(Code) | | |
altersDatabaseCatalog | protected boolean altersDatabaseCatalog(Code) | | |
altersDatabaseSchema | protected boolean altersDatabaseSchema(Code) | | |
altersMetadataCache | protected boolean altersMetadataCache(Code) | | |
altersQueryResultCache | protected boolean altersQueryResultCache(Code) | | |
altersSomething | protected boolean altersSomething(Code) | | |
altersStoredProcedureList | protected boolean altersStoredProcedureList(Code) | | |
altersUserDefinedTypes | protected boolean altersUserDefinedTypes(Code) | | |
altersUsers | protected boolean altersUsers(Code) | | |
nbOfParameters | protected int nbOfParameters(Code) | | Number of parameters of the stored procedure
|
StoredProcedure | public StoredProcedure(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator)(Code) | | Creates a new StoredProcedure instance.
Parameters: sqlQuery - the SQL request Parameters: escapeProcessing - should the driver to escape processing beforesending to the database ? Parameters: timeout - an int value Parameters: lineSeparator - the line separator used in the query |
copyNamedAndOutParameters | public void copyNamedAndOutParameters(StoredProcedure otherProc)(Code) | | Copy (simple assignment, no object cloning so be sure to not modify the
original object else you expose yourself to nasty side effects) named
parameter values and names ; and out parameter values and indexes of this
stored procedure call.
Parameters: otherProc - the other stored procedure that has the result to copyinto this object |
getNamedParameterNames | public List getNamedParameterNames()(Code) | | Returns the named parameter names or none if this stored procedure call has
no named parameter.
Returns the namedParameterNames. |
getNamedParameterValue | public Object getNamedParameterValue(String name)(Code) | | Returns the the value of a named parameter.
Parameters: name - parameter name Returns the named parameter value. |
getNbOfParameters | final public int getNbOfParameters()(Code) | | Returns the nbOfParameters value.
Returns the nbOfParameters. |
getOutParameterIndexes | public List getOutParameterIndexes()(Code) | | Returns the list of out parameter indexes (null if none).
Returns the outParameterIndexes. |
getOutParameterValue | public Object getOutParameterValue(Object idx)(Code) | | Returns the the value of an out parameter.
Parameters: idx - parameter index Returns the out parameter value. |
getProcedureName | public String getProcedureName()(Code) | | Returns the stored procedure name.
the stored procedure name |
mightBlock | public boolean mightBlock()(Code) | | Tests if this request might block.
true if this request might block |
setBlocking | public void setBlocking(boolean blocking)(Code) | | Sets if this request might block.
Parameters: blocking - a boolean value |
setNamedParameterName | public synchronized void setNamedParameterName(String paramName)(Code) | | Set a named parameter name on this stored procedure call.
Parameters: paramName - name of the parameter |
setNamedParameterValue | public synchronized void setNamedParameterValue(String paramName, Object val)(Code) | | Set a named parameter on this stored procedure call.
Parameters: paramName - name of the parameter Parameters: val - named parameter value |
setOutParameterIndex | public synchronized void setOutParameterIndex(int paramIdx)(Code) | | Set an out parameter index on this stored procedure call.
Parameters: paramIdx - index of the parameter |
setOutParameterValue | public synchronized void setOutParameterValue(Object paramIdx, Object val)(Code) | | Set an out parameter value on this stored procedure call.
Parameters: paramIdx - index of the parameter Parameters: val - value of the parameter |
|
|
|