org.tm4j.topicmap.index.text
Interface QueryResult

All Known Implementing Classes:
LuceneQueryResultImpl

public interface QueryResult

This encapsulates the Result of Quering a FullText Index

Author:
Harald Kuhn, harald_kuhn at users.sourceforge.net

Method Summary
 QueryHit getHit(int index)
          The hit with the given index or an IndexException if this index is not available
 int size()
          The size of the QueryResult
 

Method Detail

size

public int size()
The size of the QueryResult

Returns:
the size of the QueryResult

getHit

public QueryHit getHit(int index)
                throws IndexException
The hit with the given index or an IndexException if this index is not available

Parameters:
index -
Returns:
the QueryHit for the given Index
Throws:
IndexException