mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added support for result set meta data
Added size limits for result sets Updated/improved comments git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2573 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -53,26 +53,45 @@ public interface ResultSet extends Iterable<ResultSetRow> // Specfic iterator
|
||||
float getScore(int n);
|
||||
|
||||
/**
|
||||
* Generate the XML form of this result set
|
||||
* Close the result set.
|
||||
* This must be called to allow the release of underlying resources.
|
||||
*/
|
||||
// Dom getXML(int page, int pageSize, boolean includeMetaData);
|
||||
/**
|
||||
* Generate as XML for Reading
|
||||
*/
|
||||
// Stream getStream(int page, int pageSize, boolean includeMetaData);
|
||||
/**
|
||||
* toString() as above but for the whole set
|
||||
*/
|
||||
// String toString();
|
||||
// ResultSetMetaData getMetaData();
|
||||
|
||||
void close();
|
||||
|
||||
/**
|
||||
* Get a row from the result set by row index, starting at 0.
|
||||
*
|
||||
* @param i
|
||||
* @return
|
||||
*/
|
||||
ResultSetRow getRow(int i);
|
||||
|
||||
/**
|
||||
* Get a list of all the node refs in the result set
|
||||
* @return
|
||||
*/
|
||||
List<NodeRef> getNodeRefs();
|
||||
|
||||
/**
|
||||
* Get a list of all the child associations in the results set.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
List<ChildAssociationRef> getChildAssocRefs();
|
||||
|
||||
/**
|
||||
* Get the child assoc ref for a particular row.
|
||||
*
|
||||
* @param n
|
||||
* @return
|
||||
*/
|
||||
ChildAssociationRef getChildAssocRef(int n);
|
||||
|
||||
/**
|
||||
* Get the meta data for the results set.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
ResultSetMetaData getResultSetMetaData();
|
||||
}
|
||||
|
Reference in New Issue
Block a user