org.apache.blur.index
Class ExitableReader.ExitableTerms

java.lang.Object
  extended by org.apache.lucene.index.Terms
      extended by org.apache.blur.index.ExitableReader.ExitableTerms
Enclosing class:
ExitableReader

public static class ExitableReader.ExitableTerms
extends org.apache.lucene.index.Terms


Field Summary
 
Fields inherited from class org.apache.lucene.index.Terms
EMPTY_ARRAY
 
Constructor Summary
ExitableReader.ExitableTerms(org.apache.lucene.index.Terms terms, ExitObject exitObject)
           
 
Method Summary
 Comparator<org.apache.lucene.util.BytesRef> getComparator()
           
 int getDocCount()
           
 long getSumDocFreq()
           
 long getSumTotalTermFreq()
           
 boolean hasOffsets()
           
 boolean hasPayloads()
           
 boolean hasPositions()
           
 org.apache.lucene.index.TermsEnum intersect(org.apache.lucene.util.automaton.CompiledAutomaton compiled, org.apache.lucene.util.BytesRef startTerm)
           
 org.apache.lucene.index.TermsEnum iterator(org.apache.lucene.index.TermsEnum reuse)
           
 long size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExitableReader.ExitableTerms

public ExitableReader.ExitableTerms(org.apache.lucene.index.Terms terms,
                                    ExitObject exitObject)
Method Detail

intersect

public org.apache.lucene.index.TermsEnum intersect(org.apache.lucene.util.automaton.CompiledAutomaton compiled,
                                                   org.apache.lucene.util.BytesRef startTerm)
                                            throws IOException
Overrides:
intersect in class org.apache.lucene.index.Terms
Throws:
IOException

iterator

public org.apache.lucene.index.TermsEnum iterator(org.apache.lucene.index.TermsEnum reuse)
                                           throws IOException
Specified by:
iterator in class org.apache.lucene.index.Terms
Throws:
IOException

getComparator

public Comparator<org.apache.lucene.util.BytesRef> getComparator()
Specified by:
getComparator in class org.apache.lucene.index.Terms

size

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

getSumTotalTermFreq

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

getSumDocFreq

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

getDocCount

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

hasOffsets

public boolean hasOffsets()
Specified by:
hasOffsets in class org.apache.lucene.index.Terms

hasPositions

public boolean hasPositions()
Specified by:
hasPositions in class org.apache.lucene.index.Terms

hasPayloads

public boolean hasPayloads()
Specified by:
hasPayloads in class org.apache.lucene.index.Terms


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