Tuscany DAS for Relational Databases

org.apache.tuscany.das.rdb.impl
Class SPCommandImpl

java.lang.Object
  extended by org.apache.tuscany.das.rdb.impl.BaseCommandImpl
      extended by org.apache.tuscany.das.rdb.impl.CommandImpl
          extended by org.apache.tuscany.das.rdb.impl.ReadCommandImpl
              extended by org.apache.tuscany.das.rdb.impl.SPCommandImpl
All Implemented Interfaces:
Command

public class SPCommandImpl
extends ReadCommandImpl


Field Summary
 
Fields inherited from class org.apache.tuscany.das.rdb.impl.CommandImpl
debug, parameters, resultSetShape, statement
 
Fields inherited from class org.apache.tuscany.das.rdb.impl.BaseCommandImpl
configWrapper
 
Fields inherited from interface org.apache.tuscany.das.rdb.Command
FACTORY
 
Constructor Summary
SPCommandImpl(java.lang.String sqlString)
           
SPCommandImpl(java.lang.String sqlString, Config config)
           
 
Method Summary
 void execute()
          Performs the function defined by the command
 commonj.sdo.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.ReadCommandImpl
buildGraph, enablePaging, getEndRow, getStartRow, setConnection, setDataObjectModel, setEndRow, setStartRow
 
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 org.apache.tuscany.das.rdb.impl.BaseCommandImpl
addCollisionColumn, addConverter, addGeneratedPrimaryKey, addPrimaryKey, addPrimaryKey, addRelationship, addRelationship, setConnection, setConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.tuscany.das.rdb.Command
setConnection, setConnection
 

Constructor Detail

SPCommandImpl

public SPCommandImpl(java.lang.String sqlString)

SPCommandImpl

public SPCommandImpl(java.lang.String sqlString,
                     Config config)
Method Detail

executeQuery

public commonj.sdo.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

Tuscany DAS for Relational Databases

-