dragon.ir.query
Class AbstractExpression

java.lang.Object
  |
  +--dragon.ir.query.AbstractExpression
All Implemented Interfaces:
Expression
Direct Known Subclasses:
BoolExpression, SimpleExpression

public abstract class AbstractExpression
extends java.lang.Object
implements Expression

Abstract class for query expression

Copyright: Copyright (c) 2005

Company: IST, Drexel University

Version:
1.0
Author:
Davis Zhou

Field Summary
protected  int expressionType
           
protected  Operator optr
           
 
Fields inherited from interface dragon.ir.query.Expression
EXPRESSION_BOOL, EXPRESSION_SIMPLE
 
Constructor Summary
AbstractExpression()
           
 
Method Summary
 Operator getOperator()
           
 boolean isBoolExpression()
           
 boolean isSimpleExpression()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface dragon.ir.query.Expression
getChild, getChildNum, toSQLExpression, toString
 

Field Detail

optr

protected Operator optr

expressionType

protected int expressionType
Constructor Detail

AbstractExpression

public AbstractExpression()
Method Detail

getOperator

public Operator getOperator()
Specified by:
getOperator in interface Expression

isBoolExpression

public boolean isBoolExpression()
Specified by:
isBoolExpression in interface Expression

isSimpleExpression

public boolean isSimpleExpression()
Specified by:
isSimpleExpression in interface Expression