org.basex.index
Class IndexIterator

java.lang.Object
  extended by org.basex.index.IndexIterator
Direct Known Subclasses:
FTIndexIterator

public abstract class IndexIterator
extends Object

This interface provides methods for returning index results.

Author:
Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen

Constructor Summary
IndexIterator()
           
 
Method Summary
abstract  boolean more()
          Returns true if more results are found.
abstract  int next()
          Returns the next result.
abstract  double score()
          Returns the scoring value out of the index.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexIterator

public IndexIterator()
Method Detail

more

public abstract boolean more()
Returns true if more results are found.

Returns:
size

next

public abstract int next()
Returns the next result.

Returns:
result

score

public abstract double score()
Returns the scoring value out of the index. socre = -1 => no scoring value indexed

Returns:
scoring value