com.crystaldecisions.sdk.occa.infostore
Interface IStreamingQuery


public interface IStreamingQuery

This interface is used to return info objects in batches to users who query the CMS for a large set of objects.


Method Summary
 void close()
          Close the streaming query to release resources held on the CMS
 boolean hasNext()
          Flag indicating whether there are more query result to be retrieved
 IInfoObjects next()
          Retrieves next batch of info objects as query result
 

Method Detail

hasNext

boolean hasNext()
                throws SDKException
Flag indicating whether there are more query result to be retrieved

Returns:
Flag indicating whether there are more query result to be retrieved
Throws:
SDKException

next

IInfoObjects next()
                  throws SDKException
Retrieves next batch of info objects as query result

Returns:
A set of info objects as query result
Throws:
SDKException

close

void close()
           throws SDKException
Close the streaming query to release resources held on the CMS

Throws:
SDKException