com.mkdoc.query
Interface QueryResult

All Known Implementing Classes:
NullQueryResult, StoreQueryResult

public interface QueryResult

The result of a query.

Version:
0.3 2005-10-11
Author:
Philip Shaw

Method Summary
 int getColumns()
          Get the number of columns in the result set.
 java.lang.String getItemSummary(int row)
          Get the item summary for a row.
 java.lang.String getItemTitle(int row)
          Get the item title for a row.
 java.lang.String getItemUri(int row)
          Get the item URI for a row.
 int getRows()
          Get the number of rows in the result set.
 

Method Detail

getRows

public int getRows()
Get the number of rows in the result set.

Returns:
The number of rows in the result set.
Since:
Version 0.1 2005-07-12

getColumns

public int getColumns()
Get the number of columns in the result set.

Returns:
The number of columns in the result set.
Since:
Version 0.1 2005-07-12

getItemUri

public java.lang.String getItemUri(int row)
Get the item URI for a row.

Parameters:
row - The row index.
Returns:
The item URI.
Since:
Version 0.2 2005-07-28

getItemTitle

public java.lang.String getItemTitle(int row)
Get the item title for a row.

Parameters:
row - The row index.
Returns:
The item title or a "No title..." statement.
Since:
Version 0.2 2005-07-28

getItemSummary

public java.lang.String getItemSummary(int row)
Get the item summary for a row.

Parameters:
row - The row index.
Returns:
The item summary or a "No summary..." statement.
Since:
Version 0.2 2005-07-28