public final class FieldFilterLeafReader extends FilterLeafReader
FilterLeafReader that exposes only a subset
of fields from the underlying wrapped reader.FilterLeafReader.FilterFields, FilterLeafReader.FilterPostingsEnum, FilterLeafReader.FilterTerms, FilterLeafReader.FilterTermsEnumLeafReader.CoreClosedListenerIndexReader.ReaderClosedListenerin| Constructor and Description |
|---|
FieldFilterLeafReader(LeafReader in,
Set<String> fields,
boolean negate) |
| Modifier and Type | Method and Description |
|---|---|
void |
document(int docID,
StoredFieldVisitor visitor) |
Fields |
fields() |
BinaryDocValues |
getBinaryDocValues(String field) |
Bits |
getDocsWithField(String field) |
FieldInfos |
getFieldInfos() |
NumericDocValues |
getNormValues(String field) |
NumericDocValues |
getNumericDocValues(String field) |
SortedDocValues |
getSortedDocValues(String field) |
SortedNumericDocValues |
getSortedNumericDocValues(String field) |
SortedSetDocValues |
getSortedSetDocValues(String field) |
Fields |
getTermVectors(int docID) |
String |
toString() |
addCoreClosedListener, checkIntegrity, doClose, getDelegate, getLiveDocs, maxDoc, numDocs, removeCoreClosedListener, unwrapaddCoreClosedListenerAsReaderClosedListener, docFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, postings, postings, removeCoreClosedListenerAsReaderClosedListener, termDocsEnum, termPositionsEnum, terms, totalTermFreqaddReaderClosedListener, close, decRef, document, document, ensureOpen, equals, getCombinedCoreAndDeletesKey, getCoreCacheKey, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, registerParentReader, removeReaderClosedListener, tryIncRefpublic FieldFilterLeafReader(LeafReader in, Set<String> fields, boolean negate)
public FieldInfos getFieldInfos()
getFieldInfos in class FilterLeafReaderpublic Fields getTermVectors(int docID) throws IOException
getTermVectors in class FilterLeafReaderIOExceptionpublic void document(int docID,
StoredFieldVisitor visitor)
throws IOException
document in class FilterLeafReaderIOExceptionpublic Fields fields() throws IOException
fields in class FilterLeafReaderIOExceptionpublic NumericDocValues getNumericDocValues(String field) throws IOException
getNumericDocValues in class FilterLeafReaderIOExceptionpublic BinaryDocValues getBinaryDocValues(String field) throws IOException
getBinaryDocValues in class FilterLeafReaderIOExceptionpublic SortedDocValues getSortedDocValues(String field) throws IOException
getSortedDocValues in class FilterLeafReaderIOExceptionpublic SortedNumericDocValues getSortedNumericDocValues(String field) throws IOException
getSortedNumericDocValues in class FilterLeafReaderIOExceptionpublic SortedSetDocValues getSortedSetDocValues(String field) throws IOException
getSortedSetDocValues in class FilterLeafReaderIOExceptionpublic NumericDocValues getNormValues(String field) throws IOException
getNormValues in class FilterLeafReaderIOExceptionpublic Bits getDocsWithField(String field) throws IOException
getDocsWithField in class FilterLeafReaderIOExceptionpublic String toString()
toString in class FilterLeafReaderCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.