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

Definition at line 69 of file MergeExpression.java.
Public Member Functions | |
| MergeExpression () | |
| MergeExpression (int op, boolean all, TableExpression a, TableExpression b, Vector columns, boolean corr) | |
| 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. | |
| boolean | isUpdatable () |
| Is this table expression updatable? | |
| void | getBaseTables (Vector v) |
| Return a vector consisting of the names of the underlying base tables that are used to derive this table expression. | |
| void | setWhere (Expression where) |
| Set the WHERE clause associated with this table expression. | |
| Cursor | getCursor (Session session, Cursor c) throws SQLException |
| Return a cursor which can be used to access this table expression. | |
| void | invert () |
| Negate the logical value of the expression. | |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | visitSubExpressions (ExpressionVisitor ev) |
| Give a visitor access to the parse tree. | |
| String | toString () |
| String | name () |
Package Functions | |
| void | checkCorresponding (Cursor ca, Cursor cb) throws SQLException |
Package Attributes | |
| int | op |
| boolean | all |
| boolean | corr |
| TableExpression | a |
| TableExpression | b |
| Vector | columns |
| TempTableMerge | tempTable |
| MergeCursor | mcursor = null |
| int[] | amap = null |
| int[] | bmap = null |
| Type[] | typeMap = null |
|
|
Definition at line 84 of file MergeExpression.java. |
|
||||||||||||||||||||||||||||
|
Definition at line 86 of file MergeExpression.java. |
|
||||||||||||
|
|
Return a vector consisting of the names of the underlying base tables that are used to derive this table expression.
Implements com.quadcap.sql.TableExpression. Definition at line 101 of file MergeExpression.java. References com.quadcap.sql.MergeExpression.a, com.quadcap.sql.MergeExpression.b, com.quadcap.sql.TableExpression.getBaseTables(), and com.quadcap.sql.MergeExpression.getBaseTables(). Referenced by com.quadcap.sql.MergeExpression.getBaseTables(). |
|
||||||||||||
|
|
Negate the logical value of the expression.
Reimplemented from com.quadcap.sql.Expression. Definition at line 209 of file MergeExpression.java. |
|
|
Is this table expression updatable?
Implements com.quadcap.sql.TableExpression. Definition at line 99 of file MergeExpression.java. |
|
|
Implements com.quadcap.sql.TableExpression. Definition at line 261 of file MergeExpression.java. References com.quadcap.sql.MergeExpression.a, com.quadcap.sql.MergeExpression.b, com.quadcap.sql.TableExpression.name(), and com.quadcap.sql.MergeExpression.op. Referenced by com.quadcap.sql.MergeExpression.checkCorresponding(). |
|
|
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.TableExpression. Definition at line 97 of file MergeExpression.java. |
|
|
Definition at line 214 of file MergeExpression.java. References com.quadcap.sql.MergeExpression.readExternal(). Referenced by com.quadcap.sql.MergeExpression.readExternal(). |
|
|
Set the WHERE clause associated with this table expression.
Reimplemented from com.quadcap.sql.TableExpression. Definition at line 106 of file MergeExpression.java. References com.quadcap.sql.MergeExpression.a, com.quadcap.sql.MergeExpression.b, com.quadcap.sql.TableExpression.setWhere(), and com.quadcap.sql.MergeExpression.setWhere(). Referenced by com.quadcap.sql.MergeExpression.setWhere(). |
|
|
|
Give a visitor access to the parse tree.
Reimplemented from com.quadcap.sql.Expression. Definition at line 234 of file MergeExpression.java. References com.quadcap.sql.MergeExpression.a, com.quadcap.sql.MergeExpression.b, com.quadcap.sql.ExpressionVisitor.visit(), and com.quadcap.sql.MergeExpression.visitSubExpressions(). Referenced by com.quadcap.sql.MergeExpression.visitSubExpressions(). |
|
|
|
|
Definition at line 73 of file MergeExpression.java. Referenced by com.quadcap.sql.MergeExpression.getCursor(), com.quadcap.sql.MergeExpression.toString(), and com.quadcap.sql.MergeExpression.writeExternal(). |
|
|
Definition at line 80 of file MergeExpression.java. Referenced by com.quadcap.sql.MergeExpression.checkCorresponding(), and com.quadcap.sql.MergeExpression.getCursor(). |
|
|
|
Definition at line 81 of file MergeExpression.java. Referenced by com.quadcap.sql.MergeExpression.checkCorresponding(), and com.quadcap.sql.MergeExpression.getCursor(). |
|
|
Definition at line 77 of file MergeExpression.java. Referenced by com.quadcap.sql.MergeExpression.checkCorresponding(), com.quadcap.sql.MergeExpression.toString(), and com.quadcap.sql.MergeExpression.writeExternal(). |
|
|
Definition at line 74 of file MergeExpression.java. Referenced by com.quadcap.sql.MergeExpression.checkCorresponding(), com.quadcap.sql.MergeExpression.getCursor(), com.quadcap.sql.MergeExpression.toString(), and com.quadcap.sql.MergeExpression.writeExternal(). |
|
|
Definition at line 79 of file MergeExpression.java. Referenced by com.quadcap.sql.MergeExpression.getCursor(). |
|
|
|
Definition at line 78 of file MergeExpression.java. Referenced by com.quadcap.sql.MergeExpression.getCursor(). |
|
|
Definition at line 82 of file MergeExpression.java. |