com.browseengine.bobo.search.section
Class AndNode

java.lang.Object
  extended by com.browseengine.bobo.search.section.SectionSearchQueryPlan
      extended by com.browseengine.bobo.search.section.AndNode
Direct Known Subclasses:
PhraseNode

public class AndNode
extends SectionSearchQueryPlan

AND operator node for SectionSearchQueryPlan


Nested Class Summary
 
Nested classes/interfaces inherited from class com.browseengine.bobo.search.section.SectionSearchQueryPlan
SectionSearchQueryPlan.NodeQueue
 
Field Summary
protected  SectionSearchQueryPlan[] _subqueries
           
 
Fields inherited from class com.browseengine.bobo.search.section.SectionSearchQueryPlan
_curDoc, _curSec, NO_MORE_POSITIONS, NO_MORE_SECTIONS
 
Constructor Summary
AndNode(SectionSearchQueryPlan[] subqueries)
           
 
Method Summary
 int fetchDoc(int targetDoc)
           
 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

_subqueries

protected SectionSearchQueryPlan[] _subqueries
Constructor Detail

AndNode

public AndNode(SectionSearchQueryPlan[] subqueries)
Method Detail

fetchDoc

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

fetchSec

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


Copyright © 2011. All Rights Reserved.