public class PulsingPostingsReader extends PostingsReaderBase
Modifier and Type | Class and Description |
---|---|
static interface |
PulsingPostingsReader.PulsingEnumAttribute
A per-docsenum attribute that stores additional reuse information
so that pulsing enums can keep a reference to their wrapped enums,
and vice versa.
|
static class |
PulsingPostingsReader.PulsingEnumAttributeImpl
Implementation of
PulsingPostingsReader.PulsingEnumAttribute for reuse of
wrapped postings readers underneath pulsing. |
Constructor and Description |
---|
PulsingPostingsReader(PostingsReaderBase wrappedPostingsReader) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
DocsEnum |
docs(FieldInfo field,
BlockTermState _termState,
Bits liveDocs,
DocsEnum reuse,
int flags) |
DocsAndPositionsEnum |
docsAndPositions(FieldInfo field,
BlockTermState _termState,
Bits liveDocs,
DocsAndPositionsEnum reuse,
int flags) |
void |
init(IndexInput termsIn) |
BlockTermState |
newTermState() |
void |
nextTerm(FieldInfo fieldInfo,
BlockTermState _termState) |
long |
ramBytesUsed() |
void |
readTermsBlock(IndexInput termsIn,
FieldInfo fieldInfo,
BlockTermState _termState) |
public PulsingPostingsReader(PostingsReaderBase wrappedPostingsReader)
public void init(IndexInput termsIn) throws IOException
init
in class PostingsReaderBase
IOException
public void readTermsBlock(IndexInput termsIn, FieldInfo fieldInfo, BlockTermState _termState) throws IOException
readTermsBlock
in class PostingsReaderBase
IOException
public BlockTermState newTermState() throws IOException
newTermState
in class PostingsReaderBase
IOException
public void nextTerm(FieldInfo fieldInfo, BlockTermState _termState) throws IOException
nextTerm
in class PostingsReaderBase
IOException
public DocsEnum docs(FieldInfo field, BlockTermState _termState, Bits liveDocs, DocsEnum reuse, int flags) throws IOException
docs
in class PostingsReaderBase
IOException
public DocsAndPositionsEnum docsAndPositions(FieldInfo field, BlockTermState _termState, Bits liveDocs, DocsAndPositionsEnum reuse, int flags) throws IOException
docsAndPositions
in class PostingsReaderBase
IOException
public void close() throws IOException
close
in interface Closeable
close
in class PostingsReaderBase
IOException
public long ramBytesUsed()
ramBytesUsed
in class PostingsReaderBase
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.