com.browseengine.bobo.search.section
Class SectionSearchQueryPlan

java.lang.Object
  extended by com.browseengine.bobo.search.section.SectionSearchQueryPlan
Direct Known Subclasses:
AbstractTerminalNode, AndNode, AndNotNode, IntMetaDataQuery.IntMetaDataNode, OrNode, UnaryNotNode

public abstract class SectionSearchQueryPlan
extends Object

This class represents a section search query plan


Nested Class Summary
static class SectionSearchQueryPlan.NodeQueue
           
 
Field Summary
protected  int _curDoc
           
protected  int _curSec
           
static int NO_MORE_POSITIONS
           
static int NO_MORE_SECTIONS
           
 
Constructor Summary
SectionSearchQueryPlan()
           
 
Method Summary
 int fetch(int targetDoc)
           
abstract  int fetchDoc(int targetDoc)
           
protected  int fetchPos()
           
abstract  int fetchSec(int targetSec)
           
 int getDocId()
           
 int getSecId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_MORE_POSITIONS

public static final int NO_MORE_POSITIONS
See Also:
Constant Field Values

NO_MORE_SECTIONS

public static final int NO_MORE_SECTIONS
See Also:
Constant Field Values

_curDoc

protected int _curDoc

_curSec

protected int _curSec
Constructor Detail

SectionSearchQueryPlan

public SectionSearchQueryPlan()
Method Detail

getDocId

public int getDocId()

getSecId

public int getSecId()

fetch

public int fetch(int targetDoc)
          throws IOException
Throws:
IOException

fetchDoc

public abstract int fetchDoc(int targetDoc)
                      throws IOException
Throws:
IOException

fetchSec

public abstract int fetchSec(int targetSec)
                      throws IOException
Throws:
IOException

fetchPos

protected int fetchPos()
                throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.