net.jxta.impl.cm
Class Indexer.SearchCallback
java.lang.Object
net.jxta.impl.cm.Indexer.SearchCallback
- All Implemented Interfaces:
- BTreeCallback
- Enclosing class:
- Indexer
public static final class Indexer.SearchCallback
- extends Object
- implements BTreeCallback
Method Summary |
boolean |
indexInfo(Value val,
long pos)
indexInfo is a callback method for index enumeration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Indexer.SearchCallback
public Indexer.SearchCallback(BTreeFiler listDB,
BTreeCallback callback)
indexInfo
public boolean indexInfo(Value val,
long pos)
- Description copied from interface:
BTreeCallback
- indexInfo is a callback method for index enumeration.
- Specified by:
indexInfo
in interface BTreeCallback
- Parameters:
val
- The Value being reportedpos
- The data pointer being reported
- Returns:
- false to cancel the enumeration