|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gibello.zql.data.ZEval
public class ZEval
Evaluate SQL expressions
| Constructor Summary | |
|---|---|
ZEval()
|
|
| Method Summary | |
|---|---|
boolean |
eval(ZTuple tuple,
ZExp exp)
Evaluate a boolean expression to true or false (for example, SQL WHERE clauses are boolean expressions) |
java.lang.Object |
evalExpValue(ZTuple tuple,
ZExp exp)
Evaluate a numeric or string expression (example: a+1) |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZEval()
| Method Detail |
|---|
public boolean eval(ZTuple tuple,
ZExp exp)
throws java.sql.SQLException
tuple - The tuple on which to evaluate the expressionexp - The expression to evaluate
java.sql.SQLException
public java.lang.Object evalExpValue(ZTuple tuple,
ZExp exp)
throws java.sql.SQLException
tuple - The tuple on which to evaluate the expressionexp - The expression to evaluate
java.sql.SQLExceptionpublic static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||