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

java.lang.Object
  |
  +--edu.berkeley.cs.db.yfilterplus.queryparser.Query
Direct Known Subclasses:
XFQuery, XPQuery

public abstract class Query
extends java.lang.Object


Field Summary
protected  boolean m_hasNestedPaths
           
protected  boolean m_hasPredicates
           
protected  int m_queryId
           
 
Constructor Summary
Query()
           
 
Method Summary
 java.lang.String getExtraSelectAttribute()
           
 char getExtraSelectType()
           
abstract  int getNoPaths()
           
abstract  Path[] getPaths()
           
 int getQueryId()
           
 boolean hasExtraSelect()
           
 boolean hasNestedPaths()
           
 boolean hasPredicates()
           
 void setQueryId(int id)
           
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_hasPredicates

protected boolean m_hasPredicates

m_hasNestedPaths

protected boolean m_hasNestedPaths
Constructor Detail

Query

public Query()
Method Detail

setQueryId

public void setQueryId(int id)

getQueryId

public int getQueryId()

hasPredicates

public boolean hasPredicates()

hasNestedPaths

public boolean hasNestedPaths()

hasExtraSelect

public boolean hasExtraSelect()

getExtraSelectType

public char getExtraSelectType()

getExtraSelectAttribute

public java.lang.String getExtraSelectAttribute()

getPaths

public abstract Path[] getPaths()

getNoPaths

public abstract int getNoPaths()

toString

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