|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.index.IndexReader
org.apache.lucene.index.AtomicReader
org.apache.lucene.index.FilterAtomicReader
org.apache.lucene.index.AssertingAtomicReader
public class AssertingAtomicReader
A FilterAtomicReader
that can be used to apply
additional checks for tests.
Nested Class Summary | |
---|---|
static class |
AssertingAtomicReader.AssertingFields
Wraps a Fields but with additional asserts |
static class |
AssertingAtomicReader.AssertingFieldsEnum
Wraps a FieldsEnum but with additional asserts |
static class |
AssertingAtomicReader.AssertingTerms
Wraps a Terms but with additional asserts |
Nested classes/interfaces inherited from class org.apache.lucene.index.FilterAtomicReader |
---|
FilterAtomicReader.FilterDocsAndPositionsEnum, FilterAtomicReader.FilterDocsEnum, FilterAtomicReader.FilterFields, FilterAtomicReader.FilterFieldsEnum, 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 | |
---|---|
AssertingAtomicReader(AtomicReader in)
|
Method Summary | |
---|---|
Fields |
fields()
|
Object |
getCombinedCoreAndDeletesKey()
|
Object |
getCoreCacheKey()
|
Fields |
getTermVectors(int docID)
|
Methods inherited from class org.apache.lucene.index.FilterAtomicReader |
---|
doClose, document, docValues, getFieldInfos, getLiveDocs, hasDeletions, maxDoc, normValues, numDocs, toString |
Methods inherited from class org.apache.lucene.index.AtomicReader |
---|
docFreq, getTopReaderContext, getUniqueTermCount, hasNorms, termDocsEnum, termDocsEnum, termPositionsEnum, termPositionsEnum, terms, totalTermFreq |
Methods inherited from class org.apache.lucene.index.IndexReader |
---|
addReaderClosedListener, close, decRef, docFreq, document, document, ensureOpen, equals, getRefCount, getTermVector, hashCode, incRef, 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 |
---|
public AssertingAtomicReader(AtomicReader in)
Method Detail |
---|
public Fields fields() throws IOException
fields
in class FilterAtomicReader
IOException
public Fields getTermVectors(int docID) throws IOException
getTermVectors
in class FilterAtomicReader
IOException
public Object getCoreCacheKey()
getCoreCacheKey
in class FilterAtomicReader
public Object getCombinedCoreAndDeletesKey()
getCombinedCoreAndDeletesKey
in class FilterAtomicReader
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |