org.apache.blur.index
Class ExitableReader.ExitableTermsEnum

java.lang.Object
  extended by org.apache.lucene.index.TermsEnum
      extended by org.apache.blur.index.ExitableReader.ExitableTermsEnum
All Implemented Interfaces:
org.apache.lucene.util.BytesRefIterator
Enclosing class:
ExitableReader

public static class ExitableReader.ExitableTermsEnum
extends org.apache.lucene.index.TermsEnum


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lucene.index.TermsEnum
org.apache.lucene.index.TermsEnum.SeekStatus
 
Field Summary
 
Fields inherited from class org.apache.lucene.index.TermsEnum
EMPTY
 
Constructor Summary
ExitableReader.ExitableTermsEnum(org.apache.lucene.index.TermsEnum termsEnum, ExitObject exitObject)
           
 
Method Summary
 int docFreq()
           
 org.apache.lucene.index.DocsEnum docs(org.apache.lucene.util.Bits liveDocs, org.apache.lucene.index.DocsEnum reuse, int flags)
           
 org.apache.lucene.index.DocsAndPositionsEnum docsAndPositions(org.apache.lucene.util.Bits liveDocs, org.apache.lucene.index.DocsAndPositionsEnum reuse, int flags)
           
 Comparator<org.apache.lucene.util.BytesRef> getComparator()
           
 org.apache.lucene.util.BytesRef next()
           
 long ord()
           
 org.apache.lucene.index.TermsEnum.SeekStatus seekCeil(org.apache.lucene.util.BytesRef text, boolean useCache)
           
 void seekExact(long ord)
           
 org.apache.lucene.util.BytesRef term()
           
 long totalTermFreq()
           
 
Methods inherited from class org.apache.lucene.index.TermsEnum
attributes, docs, docsAndPositions, seekCeil, seekExact, seekExact, termState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExitableReader.ExitableTermsEnum

public ExitableReader.ExitableTermsEnum(org.apache.lucene.index.TermsEnum termsEnum,
                                        ExitObject exitObject)
Method Detail

next

public org.apache.lucene.util.BytesRef next()
                                     throws IOException
Throws:
IOException

getComparator

public Comparator<org.apache.lucene.util.BytesRef> getComparator()

seekCeil

public org.apache.lucene.index.TermsEnum.SeekStatus seekCeil(org.apache.lucene.util.BytesRef text,
                                                             boolean useCache)
                                                      throws IOException
Specified by:
seekCeil in class org.apache.lucene.index.TermsEnum
Throws:
IOException

seekExact

public void seekExact(long ord)
               throws IOException
Specified by:
seekExact in class org.apache.lucene.index.TermsEnum
Throws:
IOException

term

public org.apache.lucene.util.BytesRef term()
                                     throws IOException
Specified by:
term in class org.apache.lucene.index.TermsEnum
Throws:
IOException

ord

public long ord()
         throws IOException
Specified by:
ord in class org.apache.lucene.index.TermsEnum
Throws:
IOException

docFreq

public int docFreq()
            throws IOException
Specified by:
docFreq in class org.apache.lucene.index.TermsEnum
Throws:
IOException

totalTermFreq

public long totalTermFreq()
                   throws IOException
Specified by:
totalTermFreq in class org.apache.lucene.index.TermsEnum
Throws:
IOException

docs

public org.apache.lucene.index.DocsEnum docs(org.apache.lucene.util.Bits liveDocs,
                                             org.apache.lucene.index.DocsEnum reuse,
                                             int flags)
                                      throws IOException
Specified by:
docs in class org.apache.lucene.index.TermsEnum
Throws:
IOException

docsAndPositions

public org.apache.lucene.index.DocsAndPositionsEnum docsAndPositions(org.apache.lucene.util.Bits liveDocs,
                                                                     org.apache.lucene.index.DocsAndPositionsEnum reuse,
                                                                     int flags)
                                                              throws IOException
Specified by:
docsAndPositions in class org.apache.lucene.index.TermsEnum
Throws:
IOException


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.