All Packages    This Package  Previous  Next  

Class sqlj.runtime.profile.ref.IterConvertProfile

java.lang.Object
   |
   +----sqlj.runtime.profile.ref.ProfileWrapper
           |
           +----sqlj.runtime.profile.ref.DynamicProfileWrapper
                   |
                   +----sqlj.runtime.profile.ref.IterConvertProfile

public class IterConvertProfile
extends DynamicProfileWrapper
An IterConvertProfile is a locally implemented statement which augments the functionality of the statement creation methods by intercepting any entries flagged as ITERATOR_CONVERSION and handling the execute of such an entry by wrapping the passed result set parameter in a RTResultSetJDBC, and constructing the iterator parameter dynamically.

See Also:
RTResultSetJDBC

Constructor Index

 o IterConvertProfile(DynamicProfile)
Creates a new iterator conversion profile.

Method Index

 o getStatement(int)
If the current entry is an iterator conversion, then an IterConvertStatement is created an returned.

Constructors

 o IterConvertProfile
 public IterConvertProfile(DynamicProfile p)
Creates a new iterator conversion profile. The passed profile is used to handle entries that are not iterator conversion related.

Methods

 o getStatement
 public RTStatement getStatement(int ndx) throws SQLException
If the current entry is an iterator conversion, then an IterConvertStatement is created an returned. Otherwise the default implementation of the underlying profile is returned.

Throws: SQLException
if the profile entry is invalid
Overrides:
getStatement in class ProfileWrapper

All Packages    This Package  Previous  Next