public class AssertingLeafReader extends FilterLeafReader
FilterLeafReader
that can be used to apply
additional checks for tests.Modifier and Type | Class and Description |
---|---|
static class |
AssertingLeafReader.AssertingBinaryDocValues
Wraps a BinaryDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingBits
Wraps a Bits but with additional asserts
|
static class |
AssertingLeafReader.AssertingFields
Wraps a Fields but with additional asserts
|
static class |
AssertingLeafReader.AssertingImpactsEnum
Wraps a
ImpactsEnum with additional checks |
static class |
AssertingLeafReader.AssertingNumericDocValues
Wraps a NumericDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingPointValues
Wraps a SortedSetDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingPostingsEnum
Wraps a docsenum with additional checks
|
static class |
AssertingLeafReader.AssertingSortedDocValues
Wraps a SortedDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingSortedNumericDocValues
Wraps a SortedNumericDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingSortedSetDocValues
Wraps a SortedSetDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingTerms
Wraps a Terms but with additional asserts
|
FilterLeafReader.FilterFields, FilterLeafReader.FilterPostingsEnum, FilterLeafReader.FilterTerms, FilterLeafReader.FilterTermsEnum
IndexReader.CacheHelper, IndexReader.CacheKey, IndexReader.ClosedListener
in
Constructor and Description |
---|
AssertingLeafReader(LeafReader in) |
Modifier and Type | Method and Description |
---|---|
BinaryDocValues |
getBinaryDocValues(String field) |
IndexReader.CacheHelper |
getCoreCacheHelper() |
Bits |
getLiveDocs() |
NumericDocValues |
getNormValues(String field) |
NumericDocValues |
getNumericDocValues(String field) |
PointValues |
getPointValues(String field) |
IndexReader.CacheHelper |
getReaderCacheHelper() |
SortedDocValues |
getSortedDocValues(String field) |
SortedNumericDocValues |
getSortedNumericDocValues(String field) |
SortedSetDocValues |
getSortedSetDocValues(String field) |
Fields |
getTermVectors(int docID) |
Terms |
terms(String field) |
checkIntegrity, doClose, document, getDelegate, getFieldInfos, getMetaData, maxDoc, numDocs, toString, unwrap
docFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, postings, postings, totalTermFreq
close, decRef, document, document, ensureOpen, equals, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, registerParentReader, tryIncRef
public AssertingLeafReader(LeafReader in)
public Terms terms(String field) throws IOException
terms
in class FilterLeafReader
IOException
public Fields getTermVectors(int docID) throws IOException
getTermVectors
in class FilterLeafReader
IOException
public NumericDocValues getNumericDocValues(String field) throws IOException
getNumericDocValues
in class FilterLeafReader
IOException
public BinaryDocValues getBinaryDocValues(String field) throws IOException
getBinaryDocValues
in class FilterLeafReader
IOException
public SortedDocValues getSortedDocValues(String field) throws IOException
getSortedDocValues
in class FilterLeafReader
IOException
public SortedNumericDocValues getSortedNumericDocValues(String field) throws IOException
getSortedNumericDocValues
in class FilterLeafReader
IOException
public SortedSetDocValues getSortedSetDocValues(String field) throws IOException
getSortedSetDocValues
in class FilterLeafReader
IOException
public NumericDocValues getNormValues(String field) throws IOException
getNormValues
in class FilterLeafReader
IOException
public PointValues getPointValues(String field) throws IOException
getPointValues
in class FilterLeafReader
IOException
public Bits getLiveDocs()
getLiveDocs
in class FilterLeafReader
public IndexReader.CacheHelper getCoreCacheHelper()
getCoreCacheHelper
in class LeafReader
public IndexReader.CacheHelper getReaderCacheHelper()
getReaderCacheHelper
in class IndexReader
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.