org.eml.MMAX2.api
Interface QueryResultListAPI

All Known Implementing Classes:
MMAX2QueryResultList

public interface QueryResultListAPI

This interface defines public methods for accessing query results.


Method Summary
 int getResultSize()
          (API) Returns the size of the query result as the number of MMAX2QueryResultTuple objects.
 MMAX2QueryResultTuple getTupleAtIndex(int listIndex)
          (API) Returns the MMAX2QueryResultTuple at index listIndex.
 

Method Detail

getTupleAtIndex

MMAX2QueryResultTuple getTupleAtIndex(int listIndex)
(API) Returns the MMAX2QueryResultTuple at index listIndex.

Parameters:
listIndex - The (zero-based) position in this list of the result tuple to return.
Returns:
The MMAX2QueryResultTuple object at index listIndex.

getResultSize

int getResultSize()
(API) Returns the size of the query result as the number of MMAX2QueryResultTuple objects.

Returns:
The number of MMAX2QueryResultTuple objects in this list.