org.eclipse.birt.data.engine.api
Interface IBaseQueryResults

All Known Subinterfaces:
IQueryResults

public interface IBaseQueryResults

The new IBaseQueryResults is an interface which will be extends by IQueryResults and ICubeQueryResults interfaces. It provides service for client to get/set query results id.


Method Summary
 void close()
          Closes all query result set(s) associated with this object; provides a hint to the query that it can safely release all associated resources.
 java.lang.String getID()
          Every query results has a unique id.
 

Method Detail

getID

public java.lang.String getID()
Every query results has a unique id. This ID will be used to retrieve a stored query results from report document. Meantime, it might be used as a data source ID to define a query definition.

Returns:
a unique ID

close

public void close()
           throws BirtException
Closes all query result set(s) associated with this object; provides a hint to the query that it can safely release all associated resources. The query results might have iterators open on them. Iterators associated with the query result sets are invalidated and can no longer be used.

Throws:
BirtException


Copyright © 2005 Actuate Corp. All rights reserved.