org.apache.lucene.codecs
Class BlockTermState

java.lang.Object
  extended by org.apache.lucene.index.TermState
      extended by org.apache.lucene.index.OrdTermState
          extended by org.apache.lucene.codecs.BlockTermState
All Implemented Interfaces:
Cloneable

public class BlockTermState
extends OrdTermState

Holds all state required for PostingsReaderBase to produce a DocsEnum without re-seeking the terms dict.


Field Summary
 long blockFilePointer
           
 int docFreq
           
 int termBlockOrd
           
 long totalTermFreq
           
 
Fields inherited from class org.apache.lucene.index.OrdTermState
ord
 
Constructor Summary
BlockTermState()
           
 
Method Summary
 void copyFrom(TermState _other)
          Copies the content of the given TermState to this instance
 String toString()
           
 
Methods inherited from class org.apache.lucene.index.TermState
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

docFreq

public int docFreq

totalTermFreq

public long totalTermFreq

termBlockOrd

public int termBlockOrd

blockFilePointer

public long blockFilePointer
Constructor Detail

BlockTermState

public BlockTermState()
Method Detail

copyFrom

public void copyFrom(TermState _other)
Description copied from class: TermState
Copies the content of the given TermState to this instance

Overrides:
copyFrom in class OrdTermState
Parameters:
_other - the TermState to copy

toString

public String toString()
Overrides:
toString in class OrdTermState


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.