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

java.lang.Object
  |
  +--edu.berkeley.cs.db.yfilterplus.queryparser.Path
Direct Known Subclasses:
XFPath, XPPath

public abstract class Path
extends java.lang.Object


Field Summary
protected  int m_branchingLevel
           
protected  int m_joinWith
           
protected  int m_pathId
           
protected  Predicate[] m_predicates
           
protected  int m_queryId
           
protected  java.lang.String[] m_steps
           
 
Constructor Summary
Path()
           
 
Method Summary
 int getBranchingLevel()
           
 int getJoinWith()
           
 int getNoPredicates()
           
 int getPathId()
           
 Predicate[] getPredicates()
           
 int getQueryId()
           
abstract  java.lang.String[] getSteps()
           
 boolean hasPredicates()
           
abstract  void printStepElementsToFile(java.io.PrintWriter outFile)
           
abstract  java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_queryId

protected int m_queryId

m_pathId

protected int m_pathId

m_steps

protected java.lang.String[] m_steps

m_predicates

protected Predicate[] m_predicates

m_branchingLevel

protected int m_branchingLevel

m_joinWith

protected int m_joinWith
Constructor Detail

Path

public Path()
Method Detail

getQueryId

public int getQueryId()

getPathId

public int getPathId()

getPredicates

public Predicate[] getPredicates()

hasPredicates

public boolean hasPredicates()

getNoPredicates

public int getNoPredicates()

getBranchingLevel

public int getBranchingLevel()

getJoinWith

public int getJoinWith()

getSteps

public abstract java.lang.String[] getSteps()

toString

public abstract java.lang.String toString()
Overrides:
toString in class java.lang.Object

printStepElementsToFile

public abstract void printStepElementsToFile(java.io.PrintWriter outFile)