IBM DB2 Information Integrator
Java API Reference
for Developing Wrappers

com.ibm.db2.wrapper
Class RemoteOperation

java.lang.Object
  extended bycom.ibm.db2.wrapper.SqlqgBaseClass
      extended bycom.ibm.db2.wrapper.RemoteOperation
Direct Known Subclasses:
RemotePassthru, RemoteQuery

public class RemoteOperation
extends com.ibm.db2.wrapper.SqlqgBaseClass

The RemoteOperation class serves as the base class for classes that represent various remote operations. These remote operations include queries and pass-through sessions. The RemoteOperation class is not directly instantiated and cannot be customized directly. The RemoteOperation base class implementation maintains the following information:

Since:
IBM DB2 Information Integrator Version 8.2

Method Summary
 RemoteConnection getConnection()
          Retrieve the connection for the remote operation.
 java.lang.Object getExecDesc()
          Retrieve the execution descriptor for the remote operation.
 RuntimeDataList getInputData()
          Retrieve the list of input values for the remote operation.
 RuntimeDataList getOutputData()
          Retrieve the list of output data buffers for the remote operation.
 FencedServer getServer()
          Retrieve the data source server that owns the remote operation.
 Wrapper getWrapper()
          Get the wrapper object.
protected  void reportEof()
          Report an end-of-file condition during a fetch operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConnection

public final RemoteConnection getConnection()
Retrieve the connection for the remote operation.

Returns:
The RemoteConnection instance.
Since:
IBM DB2 Information Integrator Version 8.2
See Also:
RemoteConnection

getExecDesc

public final java.lang.Object getExecDesc()
                                   throws WrapperException,
                                          java.io.IOException,
                                          java.lang.ClassNotFoundException
Retrieve the execution descriptor for the remote operation.

Returns:
The execution descriptor.
Throws:
WrapperException - if the retrieval of the execution descriptor object fails.
java.io.IOException - if the streaming of the execution descriptor fails.
java.lang.ClassNotFoundException - if the execution descriptor class cannot be found.
Since:
IBM DB2 Information Integrator Version 8.2

getInputData

public final RuntimeDataList getInputData()
Retrieve the list of input values for the remote operation.

Returns:
The list of input values.
Since:
IBM DB2 Information Integrator Version 8.2
See Also:
RuntimeDataList

getOutputData

public final RuntimeDataList getOutputData()
Retrieve the list of output data buffers for the remote operation.

Returns:
The list of output data buffers.
Since:
IBM DB2 Information Integrator Version 8.2
See Also:
RuntimeDataList

getServer

public final FencedServer getServer()
Retrieve the data source server that owns the remote operation.

Returns:
The FencedServer instance where the remote operation runs.
Since:
IBM DB2 Information Integrator Version 8.2
See Also:
FencedServer

getWrapper

public final Wrapper getWrapper()
Get the wrapper object.

Returns:
The wrapper object.
Since:
IBM DB2 Information Integrator Version 8.2
See Also:
Wrapper

reportEof

protected void reportEof()
                  throws WrapperException
Report an end-of-file condition during a fetch operation.

Throws:
WrapperException - if the method fails.
Since:
IBM DB2 Information Integrator Version 8.2

IBM DB2 Information Integrator
Java API Reference
for Developing Wrappers

(C)Copyright IBM Corp. 2002. All rights reserved.

Links on this page are made available for your convenience and may take you to non-IBM sites. IBM does not warrant any sample code provided on these sites.