For information on converting to InterSystems IRIS, see the
InterSystems IRIS Adoption Guide
and the InterSystems IRIS In-Place Conversion Guide,
both available on the WRC Distributions page (login required).
ACCESSPOLICY defines how collection is fetched to the client application.
EAGER: The whole collection is fetched no later than it is first accessed by application in any manner.
If collection contains object values then objects are opened and instantiated in application memory.
For applications using POJO mode this means that application can use this collection even if it has
been disconnected from the server afterwards. Value EAGER is a requirement, meaning that if it is
specified then EAGER policy always be employed.
LAZY: Values in collection can be fetched as they are requested by the application, e.g. when methods get()
or Iterator.next() are invoked. Value LAZY is a hint meaning that if it is specified it tells that LAZY
policy may be used for this collection but does not guarantee that it is used. In case LAZY fetching is
used collection may become invalid when application disconnected from the server.
Returns up to FetchCount number of rows (or up to 32k of data if FetchCount
is zero) in RowSet. ReturnCount indicates the number of rows returned. AtEnd
is TRUE if the query encountered an end-of-data condition while retrieving data - in other words, don't try calling
This method stores a new value for the OID of the referenced object. if swizzling has not occurred,
it simply stores the OID (after perhaps stripping the class name if CLASSNAME=0). If swizzling has occurred,
then it references the object to obtain its OID. If it is the same, then nothing happens. If they
are different then the old object is closed and the new OID is stored.