net.ontopia.topicmaps.query.spi
Interface SearchResultIF

All Known Implementing Classes:
AbstractSearchResult

public interface SearchResultIF

PUBLIC: Search result interfaced used by implementations of the SearcherIF interface.


Method Summary
 void close()
          PUBLIC: Closes the search result.
 float getScore()
          PUBLIC: Gets the score for the current result value;
 java.lang.Object getValue()
          PUBLIC: Gets the current result value.
 boolean next()
          PUBLIC: Moves ahead to the next result.
 

Method Detail

next

boolean next()
PUBLIC: Moves ahead to the next result. Returns true if there were more results.


getValue

java.lang.Object getValue()
PUBLIC: Gets the current result value.


getScore

float getScore()
PUBLIC: Gets the score for the current result value;


close

void close()
PUBLIC: Closes the search result. This method will be called when done with the search results, so that resources can be released.



Copyright © 2000-2012 Ontopia.