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

java.lang.Object
  |
  +--edu.berkeley.cs.db.yfilterplus.queryparser.Predicate
Direct Known Subclasses:
XFPredicate, XPPredicate

public abstract class Predicate
extends java.lang.Object


Field Summary
protected  java.lang.String m_attrName
           
protected  int m_level
           
protected  char m_operator
           
protected  int m_pathId
           
protected  char m_predicateType
           
protected  int m_queryId
           
protected  java.lang.String m_stringValue
           
protected  int m_value
           
 
Constructor Summary
Predicate()
           
 
Method Summary
 java.lang.String getAttrName()
           
 int getLevel()
           
 char getOperator()
           
 java.lang.String getOperatorString()
           
 int getPathId()
           
 int getQueryId()
           
 java.lang.String getStringValue()
           
 java.lang.String getTargetName()
           
 char getType()
           
 int getValue()
           
 void print()
           
 void printToFile(java.io.PrintWriter out)
           
 void setLevel(int level)
           
 java.lang.String toString()
           
 void updateLevel(int offSet)
           
 
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_level

protected int m_level

m_predicateType

protected char m_predicateType

m_attrName

protected java.lang.String m_attrName

m_operator

protected char m_operator

m_value

protected int m_value

m_stringValue

protected java.lang.String m_stringValue
Constructor Detail

Predicate

public Predicate()
Method Detail

setLevel

public void setLevel(int level)

updateLevel

public void updateLevel(int offSet)

toString

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

print

public void print()

printToFile

public void printToFile(java.io.PrintWriter out)

getLevel

public int getLevel()

getQueryId

public int getQueryId()

getPathId

public int getPathId()

getType

public char getType()

getAttrName

public java.lang.String getAttrName()

getTargetName

public java.lang.String getTargetName()

getOperator

public char getOperator()

getOperatorString

public java.lang.String getOperatorString()

getValue

public int getValue()

getStringValue

public java.lang.String getStringValue()