org.apache.lucene.index
Class AllDeletedFilterReader

java.lang.Object
  extended by org.apache.lucene.index.IndexReader
      extended by org.apache.lucene.index.AtomicReader
          extended by org.apache.lucene.index.FilterAtomicReader
              extended by org.apache.lucene.index.AllDeletedFilterReader
All Implemented Interfaces:
Closeable

public class AllDeletedFilterReader
extends FilterAtomicReader

Filters the incoming reader and makes all documents appear deleted.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lucene.index.FilterAtomicReader
FilterAtomicReader.FilterDocsAndPositionsEnum, FilterAtomicReader.FilterDocsEnum, FilterAtomicReader.FilterFields, FilterAtomicReader.FilterTerms, FilterAtomicReader.FilterTermsEnum
 
Nested classes/interfaces inherited from class org.apache.lucene.index.IndexReader
IndexReader.ReaderClosedListener
 
Field Summary
 
Fields inherited from class org.apache.lucene.index.FilterAtomicReader
in
 
Constructor Summary
AllDeletedFilterReader(AtomicReader in)
           
 
Method Summary
 Bits getLiveDocs()
           
 int numDocs()
           
 
Methods inherited from class org.apache.lucene.index.FilterAtomicReader
doClose, document, fields, getBinaryDocValues, getDocsWithField, getFieldInfos, getNormValues, getNumericDocValues, getSortedDocValues, getSortedSetDocValues, getTermVectors, maxDoc, toString
 
Methods inherited from class org.apache.lucene.index.AtomicReader
docFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, hasNorms, termDocsEnum, termPositionsEnum, terms, totalTermFreq
 
Methods inherited from class org.apache.lucene.index.IndexReader
addReaderClosedListener, close, decRef, document, document, ensureOpen, equals, getCombinedCoreAndDeletesKey, getCoreCacheKey, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, open, open, open, open, open, registerParentReader, removeReaderClosedListener, tryIncRef
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AllDeletedFilterReader

public AllDeletedFilterReader(AtomicReader in)
Method Detail

getLiveDocs

public Bits getLiveDocs()
Overrides:
getLiveDocs in class FilterAtomicReader

numDocs

public int numDocs()
Overrides:
numDocs in class FilterAtomicReader


Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.