|
||||||||||
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.metadata.adapter.ObjectSynchExecution
public class ObjectSynchExecution
Adapter to expose the object processing logic via the standard connector API. Makes the batches coming from the objectSource match the batch sizes requested by the caller.
Constructor Summary | |
---|---|
ObjectSynchExecution(IQuery command,
RuntimeMetadata metadata,
ObjectConnection connection)
|
Method Summary | |
---|---|
void |
cancel()
Cancels the execution abnormally. |
void |
close()
Terminates the execution normally. |
void |
execute()
Execute the associated command. |
java.util.List |
next()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectSynchExecution(IQuery command, RuntimeMetadata metadata, ObjectConnection connection)
Method Detail |
---|
public void execute() throws ConnectorException
Execution
execute
in interface Execution
ConnectorException
public java.util.List next() throws ConnectorException, DataNotAvailableException
next
in interface ResultSetExecution
ConnectorException
DataNotAvailableException
public void cancel() throws ConnectorException
Execution
cancel
in interface Execution
ConnectorException
public void close() throws ConnectorException
Execution
close
in interface Execution
ConnectorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |