org.outerj.daisy.ftindex
Class EmptyHits

java.lang.Object
  extended by org.outerj.daisy.ftindex.EmptyHits
All Implemented Interfaces:
Hits

public class EmptyHits
extends java.lang.Object
implements Hits


Constructor Summary
EmptyHits()
           
 
Method Summary
 long branchId(int n)
           
 long docId(int n)
          Returns the Daisy Document ID for the nth matching document.
 long languageId(int n)
           
 int length()
          Returns the total number of hits available in this set.
 float score(int n)
          Returns the score for the nth document in this set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyHits

public EmptyHits()
Method Detail

docId

public long docId(int n)
Description copied from interface: Hits
Returns the Daisy Document ID for the nth matching document.

Specified by:
docId in interface Hits

branchId

public long branchId(int n)
              throws java.io.IOException
Specified by:
branchId in interface Hits
Throws:
java.io.IOException

languageId

public long languageId(int n)
                throws java.io.IOException
Specified by:
languageId in interface Hits
Throws:
java.io.IOException

length

public int length()
Description copied from interface: Hits
Returns the total number of hits available in this set.

Specified by:
length in interface Hits

score

public float score(int n)
Description copied from interface: Hits
Returns the score for the nth document in this set.

Specified by:
score in interface Hits


Copyright © -2012 . All Rights Reserved.