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) |
DocValues |
docValues(String field) |
Fields |
fields() |
FieldInfos |
getFieldInfos() |
Fields |
getTermVectors(int docID) |
DocValues |
normValues(String field) |
String |
toString() |
doClose, getCombinedCoreAndDeletesKey, getCoreCacheKey, getLiveDocs, hasDeletions, maxDoc, numDocs
docFreq, getContext, hasNorms, termDocsEnum, termPositionsEnum, terms, totalTermFreq
addReaderClosedListener, close, decRef, document, document, ensureOpen, equals, getRefCount, getTermVector, 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 DocValues docValues(String field) throws IOException
docValues
in class FilterAtomicReader
IOException
public DocValues normValues(String field) throws IOException
normValues
in class FilterAtomicReader
IOException
public String toString()
toString
in class FilterAtomicReader
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.