|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.teiid.connector.basic.BasicExecution
com.metamatrix.connector.loopback.LoopbackExecution
public class LoopbackExecution
Represents the execution of a command.
Field Summary | |
---|---|
static java.sql.Date |
SQL_DATE_VAL
|
static java.sql.Time |
TIME_VAL
|
static java.sql.Timestamp |
TIMESTAMP_VAL
|
Constructor Summary | |
---|---|
LoopbackExecution(ICommand command,
ConnectorEnvironment env,
RuntimeMetadata metadata)
|
Method Summary | |
---|---|
void |
cancel()
Cancels the execution abnormally. |
void |
close()
Terminates the execution normally. |
void |
execute()
Execute the associated command. |
java.util.List<?> |
getOutputParameterValues()
Get the output parameter values. |
int[] |
getUpdateCounts()
|
java.util.List<?> |
next()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.sql.Date SQL_DATE_VAL
public static java.sql.Time TIME_VAL
public static java.sql.Timestamp TIMESTAMP_VAL
Constructor Detail |
---|
public LoopbackExecution(ICommand command, ConnectorEnvironment env, RuntimeMetadata metadata)
Method Detail |
---|
public java.util.List<?> next() throws ConnectorException, DataNotAvailableException
next
in interface ResultSetExecution
ConnectorException
DataNotAvailableException
public void execute() throws ConnectorException
Execution
execute
in interface Execution
ConnectorException
public int[] getUpdateCounts() throws DataNotAvailableException, ConnectorException
getUpdateCounts
in interface UpdateExecution
DataNotAvailableException
ConnectorException
public java.util.List<?> getOutputParameterValues() throws ConnectorException
ProcedureExecution
getOutputParameterValues
in interface ProcedureExecution
ConnectorException
- If an error occurs while retrieving the output valuepublic void close() throws ConnectorException
Execution
close
in interface Execution
ConnectorException
public void cancel() throws ConnectorException
Execution
cancel
in interface Execution
ConnectorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |