org.apache.tuscany.das.rdb.impl
Class SPCommandImpl
java.lang.Object
org.apache.tuscany.das.rdb.impl.BaseCommandImpl
org.apache.tuscany.das.rdb.impl.CommandImpl
org.apache.tuscany.das.rdb.impl.ReadCommandImpl
org.apache.tuscany.das.rdb.impl.SPCommandImpl
- All Implemented Interfaces:
- Command
public class SPCommandImpl
- extends ReadCommandImpl
Fields inherited from interface org.apache.tuscany.das.rdb.Command |
FACTORY |
Method Summary |
void |
execute()
Performs the function defined by the command |
DataObject |
executeQuery()
Performs the function defined by the command and return the results in
the root DataObject |
Methods inherited from class org.apache.tuscany.das.rdb.impl.CommandImpl |
addParameter, addParameter, addParameter, addParameter, addParameter, close, getConnection, getParameter, getParameter, getParameters, getParameterValue, getParameterValue, setConnection, setParameterType, setParameterType, setParameterValue, setParameterValue, setResultSetShape |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPCommandImpl
public SPCommandImpl(String sqlString)
SPCommandImpl
public SPCommandImpl(String sqlString,
Config config)
executeQuery
public DataObject executeQuery()
- Description copied from interface:
Command
- Performs the function defined by the command and return the results in
the root DataObject
- Specified by:
executeQuery
in interface Command
- Overrides:
executeQuery
in class ReadCommandImpl
- Returns:
- the root DataObject
execute
public void execute()
- Description copied from interface:
Command
- Performs the function defined by the command
- Specified by:
execute
in interface Command
- Overrides:
execute
in class ReadCommandImpl
-