public interface PathSet
PathSet is only used for batch retrieval and represents a
collection of Path objects, each containing the segment data
returned from a database retrieve call.
A PathSet is typically used when the application expects more
than one record to be retrieved in the IMS DL/I database call.
For a code example of how to use this interface, refer to the related
PCB method in the Javadoc.
PCB.batchRetrieve(SSAList)| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Returns
true if the set has more Path elements. |
Path |
next()
Returns the next
Path element in the set. |
void |
next(Path path)
Copies the next
Path element in the set into the
Path object passed in. |
boolean |
nextCallDLI()
Returns
true if the next call is a DLI call. |
boolean hasNext()
throws DLIException
true if the set has more Path elements.true if the set has more Path elements.DLIException - if an error occurs during processingPath next() throws DLIException
Path element in the set. Calling this
method repeatedly until the hasNext() method returns
false will return each element in the underlying set exactly
once.Path element in the setDLIException - if an error occurs during processingvoid next(Path path) throws DLIException
Path element in the set into the
Path object passed in.path - the element into which the next Path element in
the set is copiedDLIException - if an error occurs during processingboolean nextCallDLI()
true if the next call is a DLI call.true if the next call is a DLI call.