![]() |
Quadcap Embeddable Database |
Inheritance diagram for com.quadcap.sql.TernaryExpression:

Definition at line 59 of file TernaryExpression.java.
Public Member Functions | |
| TernaryExpression () | |
| TernaryExpression (int op, Expression e, Expression f, Expression g) | |
| int | rank () |
| Returns zero if this is a scalar expression, one if it's a vector type and 2 if it's a table/cursor type. | |
| Type | getType (Session session, Cursor cursor) |
| Return the expression's type if known. | |
| Value | getValue (Session session, Cursor cursor) throws SQLException |
| If this is a scalar, return its value. | |
| void | invert () |
| Negate the logical value of the expression. | |
| void | visitSubExpressions (ExpressionVisitor ev) |
| Give a visitor access to the parse tree. | |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| void | writeExternal (ObjectOutput out) throws IOException |
| String | toString () |
Package Attributes | |
| Expression | e = null |
| Expression | f = null |
| Expression | g = null |
| int | op = 0 |
| boolean | not = false |
| ValueBoolean | value = null |
|
|
Definition at line 67 of file TernaryExpression.java. |
|
||||||||||||||||||||
|
Definition at line 69 of file TernaryExpression.java. |
|
||||||||||||
|
Return the expression's type if known.
Implements com.quadcap.sql.Expression. Definition at line 80 of file TernaryExpression.java. References com.quadcap.sql.TernaryExpression.getType(). Referenced by com.quadcap.sql.TernaryExpression.getType(). |
|
||||||||||||
|
If this is a scalar, return its value.
Reimplemented from com.quadcap.sql.Expression. Definition at line 84 of file TernaryExpression.java. References com.quadcap.sql.TernaryExpression.e, com.quadcap.sql.TernaryExpression.f, com.quadcap.sql.TernaryExpression.g, com.quadcap.sql.Expression.getValue(), com.quadcap.sql.TernaryExpression.getValue(), com.quadcap.sql.TernaryExpression.not, com.quadcap.sql.TernaryExpression.op, and com.quadcap.sql.types.Value.unop(). Referenced by com.quadcap.sql.TernaryExpression.getValue(). |
|
|
Negate the logical value of the expression.
Reimplemented from com.quadcap.sql.Expression. Definition at line 100 of file TernaryExpression.java. References com.quadcap.sql.TernaryExpression.not. |
|
|
Returns zero if this is a scalar expression, one if it's a vector type and 2 if it's a table/cursor type.
Implements com.quadcap.sql.Expression. Definition at line 78 of file TernaryExpression.java. |
|
|
|
Implements com.quadcap.sql.Expression. Definition at line 126 of file TernaryExpression.java. References com.quadcap.sql.TernaryExpression.e, com.quadcap.sql.TernaryExpression.f, com.quadcap.sql.TernaryExpression.g, com.quadcap.sql.TernaryExpression.not, and com.quadcap.sql.Expression.toString(). |
|
|
Give a visitor access to the parse tree.
Reimplemented from com.quadcap.sql.Expression. Definition at line 102 of file TernaryExpression.java. References com.quadcap.sql.TernaryExpression.e, com.quadcap.sql.TernaryExpression.f, com.quadcap.sql.TernaryExpression.g, com.quadcap.sql.ExpressionVisitor.visit(), and com.quadcap.sql.TernaryExpression.visitSubExpressions(). Referenced by com.quadcap.sql.TernaryExpression.visitSubExpressions(). |
|
|
|
|
|
|
|
Definition at line 63 of file TernaryExpression.java. Referenced by com.quadcap.sql.IndexCursor.getCursorRange(), com.quadcap.sql.TernaryExpression.getValue(), com.quadcap.sql.TernaryExpression.readExternal(), and com.quadcap.sql.TernaryExpression.writeExternal(). |
|
|
Definition at line 65 of file TernaryExpression.java. |