com.browseengine.bobo.search.section
Class AbstractTerminalNode

java.lang.Object
  extended by com.browseengine.bobo.search.section.SectionSearchQueryPlan
      extended by com.browseengine.bobo.search.section.AbstractTerminalNode
Direct Known Subclasses:
IntMetaDataQuery.IntMetaDataNodeNoCache, TermNode

public abstract class AbstractTerminalNode
extends SectionSearchQueryPlan

An abstract class for terminal nodes of SectionSearchQueryPlan


Nested Class Summary
 
Nested classes/interfaces inherited from class com.browseengine.bobo.search.section.SectionSearchQueryPlan
SectionSearchQueryPlan.NodeQueue
 
Field Summary
protected  int _curPos
           
protected  int _posLeft
           
protected  org.apache.lucene.index.TermPositions _tp
           
 
Fields inherited from class com.browseengine.bobo.search.section.SectionSearchQueryPlan
_curDoc, _curSec, NO_MORE_POSITIONS, NO_MORE_SECTIONS
 
Constructor Summary
AbstractTerminalNode(org.apache.lucene.index.Term term, org.apache.lucene.index.IndexReader reader)
           
 
Method Summary
 int fetchDoc(int targetDoc)
           
abstract  int fetchSec(int targetSec)
           
 
Methods inherited from class com.browseengine.bobo.search.section.SectionSearchQueryPlan
fetch, fetchPos, getDocId, getSecId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tp

protected org.apache.lucene.index.TermPositions _tp

_posLeft

protected int _posLeft

_curPos

protected int _curPos
Constructor Detail

AbstractTerminalNode

public AbstractTerminalNode(org.apache.lucene.index.Term term,
                            org.apache.lucene.index.IndexReader reader)
                     throws IOException
Throws:
IOException
Method Detail

fetchDoc

public int fetchDoc(int targetDoc)
             throws IOException
Specified by:
fetchDoc in class SectionSearchQueryPlan
Throws:
IOException

fetchSec

public abstract int fetchSec(int targetSec)
                      throws IOException
Specified by:
fetchSec in class SectionSearchQueryPlan
Throws:
IOException


Copyright © 2011. All Rights Reserved.