public final class FieldFilterAtomicReader extends FilterAtomicReader
FilterAtomicReader
that exposes only a subset
of fields from the underlying wrapped reader.FilterAtomicReader.FilterDocsAndPositionsEnum, FilterAtomicReader.FilterDocsEnum, FilterAtomicReader.FilterFields, FilterAtomicReader.FilterTerms, FilterAtomicReader.FilterTermsEnum
IndexReader.ReaderClosedListener
in
Constructor and Description |
---|
FieldFilterAtomicReader(AtomicReader 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) |
Fields |
getTermVectors(int docID) |
String |
toString() |
checkIntegrity, doClose, getLiveDocs, getSortedSetDocValues, maxDoc, numDocs, unwrap
docFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, hasNorms, termDocsEnum, termPositionsEnum, terms, totalTermFreq
addReaderClosedListener, close, decRef, document, document, ensureOpen, equals, getCombinedCoreAndDeletesKey, getCoreCacheKey, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, open, open, open, open, open, registerParentReader, removeReaderClosedListener, tryIncRef
public FieldFilterAtomicReader(AtomicReader in, Set<String> fields, boolean negate)
public FieldInfos getFieldInfos()
getFieldInfos
in class FilterAtomicReader
public Fields getTermVectors(int docID) throws IOException
getTermVectors
in class FilterAtomicReader
IOException
public void document(int docID, StoredFieldVisitor visitor) throws IOException
document
in class FilterAtomicReader
IOException
public Fields fields() throws IOException
fields
in class FilterAtomicReader
IOException
public NumericDocValues getNumericDocValues(String field) throws IOException
getNumericDocValues
in class FilterAtomicReader
IOException
public BinaryDocValues getBinaryDocValues(String field) throws IOException
getBinaryDocValues
in class FilterAtomicReader
IOException
public SortedDocValues getSortedDocValues(String field) throws IOException
getSortedDocValues
in class FilterAtomicReader
IOException
public NumericDocValues getNormValues(String field) throws IOException
getNormValues
in class FilterAtomicReader
IOException
public Bits getDocsWithField(String field) throws IOException
getDocsWithField
in class FilterAtomicReader
IOException
public String toString()
toString
in class FilterAtomicReader
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.