edu.berkeley.cs.db.yfilterplus.queryparser
Class XPPath

java.lang.Object
  |
  +--edu.berkeley.cs.db.yfilterplus.queryparser.Path
        |
        +--edu.berkeley.cs.db.yfilterplus.queryparser.XPPath

public class XPPath
extends Path


Field Summary
protected  int m_noLocationSteps
           
 
Fields inherited from class edu.berkeley.cs.db.yfilterplus.queryparser.Path
m_branchingLevel, m_joinWith, m_pathId, m_predicates, m_queryId, m_steps
 
Constructor Summary
XPPath(java.lang.String[] steps, Predicate[] predicates, int branchingLevel, int joinWith)
           
 
Method Summary
 Predicate getLastPredicate()
           
 int getNoLocationSteps()
           
 java.lang.String[] getSteps()
           
 void printStepElementsToFile(java.io.PrintWriter outFile)
           
 void setPathId(int id)
           
 void setQueryId(int id)
           
 java.lang.String toString()
           
 
Methods inherited from class edu.berkeley.cs.db.yfilterplus.queryparser.Path
getBranchingLevel, getJoinWith, getNoPredicates, getPathId, getPredicates, getQueryId, hasPredicates
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_noLocationSteps

protected int m_noLocationSteps
Constructor Detail

XPPath

public XPPath(java.lang.String[] steps,
              Predicate[] predicates,
              int branchingLevel,
              int joinWith)
       throws java.lang.Exception
Method Detail

setQueryId

public void setQueryId(int id)

setPathId

public void setPathId(int id)

getSteps

public java.lang.String[] getSteps()
Specified by:
getSteps in class Path

getLastPredicate

public Predicate getLastPredicate()

getNoLocationSteps

public int getNoLocationSteps()

toString

public java.lang.String toString()
Specified by:
toString in class Path

printStepElementsToFile

public void printStepElementsToFile(java.io.PrintWriter outFile)
Specified by:
printStepElementsToFile in class Path