com.metamatrix.connector.metadata.adapter
Class ObjectSynchExecution
java.lang.Object
org.teiid.connector.basic.BasicExecution
com.metamatrix.connector.metadata.adapter.ObjectSynchExecution
- All Implemented Interfaces:
- Execution, ResultSetExecution
public class ObjectSynchExecution
- extends BasicExecution
- implements ResultSetExecution
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectSynchExecution
public ObjectSynchExecution(IQuery command,
RuntimeMetadata metadata,
ObjectConnection connection)
execute
public void execute()
throws ConnectorException
- Specified by:
execute
in interface Execution
- Throws:
ConnectorException
next
public java.util.List next()
throws ConnectorException,
DataNotAvailableException
- Specified by:
next
in interface ResultSetExecution
- Throws:
ConnectorException
DataNotAvailableException
cancel
public void cancel()
throws ConnectorException
- Specified by:
cancel
in interface Execution
- Throws:
ConnectorException
close
public void close()
throws ConnectorException
- Specified by:
close
in interface Execution
- Throws:
ConnectorException
Copyright © 2009. All Rights Reserved.