org.basex.query.xquery.util
Class ItemSet

java.lang.Object
  extended by org.basex.query.xquery.util.ItemSet

public final class ItemSet
extends java.lang.Object

Scoring class, assembling all scoring calculations. Current scoring is very simple and mainly used for testing.

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

Constructor Summary
ItemSet()
           
 
Method Summary
 boolean index(Item i)
          Indexes the specified item.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemSet

public ItemSet()
Method Detail

index

public boolean index(Item i)
              throws XQException
Indexes the specified item.

Parameters:
i - item
Returns:
true if value is new
Throws:
XQException - evaluation exception