gov.nih.nci.cagrid.data.enumeration.service
Class LazyQueryResultEnumIterator

java.lang.Object
  extended by gov.nih.nci.cagrid.data.enumeration.service.LazyQueryResultEnumIterator
All Implemented Interfaces:
org.globus.ws.enumeration.EnumIterator

public class LazyQueryResultEnumIterator
extends java.lang.Object
implements org.globus.ws.enumeration.EnumIterator

LazyQueryResultEnumIterator EnumIterator implementation to take advantage of LazyCQLQueryProcessor results

Version:
$Id: LazyQueryResultEnumIterator.java,v 1.2 2007/12/14 17:10:46 dervin Exp $
Author:
David W. Ervin

Constructor Summary
LazyQueryResultEnumIterator(java.util.Iterator lazyResults)
           
 
Method Summary
 org.globus.ws.enumeration.IterationResult next(org.globus.ws.enumeration.IterationConstraints constraints)
           
 void release()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyQueryResultEnumIterator

public LazyQueryResultEnumIterator(java.util.Iterator lazyResults)
Method Detail

next

public org.globus.ws.enumeration.IterationResult next(org.globus.ws.enumeration.IterationConstraints constraints)
                                               throws org.globus.ws.enumeration.TimeoutException,
                                                      java.util.NoSuchElementException
Specified by:
next in interface org.globus.ws.enumeration.EnumIterator
Throws:
org.globus.ws.enumeration.TimeoutException
java.util.NoSuchElementException

release

public void release()
Specified by:
release in interface org.globus.ws.enumeration.EnumIterator