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

Definition at line 51 of file ValueType.java.
Public Member Functions | |
| ValueType () | |
| ValueType (Type type) | |
| Value | binop (int op, Value l) throws ValueException |
| Two-level virtual operator dispatch. | |
| boolean | isTrue () |
| Object | asJavaObject () |
| void | fromJavaObject (Object obj) throws ValueException |
| Type | getType () |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | serializeKey (KeyStream out) throws IOException |
Package Attributes | |
| Type | type |
|
|
Definition at line 54 of file ValueType.java. |
|
|
Definition at line 56 of file ValueType.java. |
|
|
Implements com.quadcap.sql.types.Value. Definition at line 64 of file ValueType.java. |
|
||||||||||||
|
Two-level virtual operator dispatch. Each subtype implements the same basic template for this abstract function:
Value binop(int op, Value l) { return l.binop(op, this); }
Then, type overloading allows for each type to implement all ops for which it can be the left hand side for all allowed types on the right hand side: Value binop(int op, ValueInteger l); Value binop(int op, ValueLong l); ... Implements com.quadcap.sql.types.Value. Definition at line 58 of file ValueType.java. References com.quadcap.sql.types.ValueType.binop(). Referenced by com.quadcap.sql.types.ValueType.binop(). |
|
|
Implements com.quadcap.sql.types.Value. Definition at line 68 of file ValueType.java. References com.quadcap.sql.types.ValueType.fromJavaObject(). Referenced by com.quadcap.sql.types.ValueType.fromJavaObject(). |
|
|
Implements com.quadcap.sql.types.Value. Definition at line 72 of file ValueType.java. References com.quadcap.sql.types.ValueType.type. Referenced by com.quadcap.sql.FunctionExpression.getValue(). |
|
|
Definition at line 62 of file ValueType.java. |
|
|
Definition at line 76 of file ValueType.java. References com.quadcap.sql.types.ValueType.readExternal(), and com.quadcap.sql.types.ValueType.type. Referenced by com.quadcap.sql.types.ValueType.readExternal(). |
|
|
Implements com.quadcap.sql.types.Value. Definition at line 88 of file ValueType.java. References com.quadcap.sql.types.ValueType.serializeKey(). Referenced by com.quadcap.sql.types.ValueType.serializeKey(). |
|
|
Definition at line 82 of file ValueType.java. References com.quadcap.sql.types.ValueType.type, and com.quadcap.sql.types.ValueType.writeExternal(). Referenced by com.quadcap.sql.types.ValueType.writeExternal(). |
|
|
Definition at line 52 of file ValueType.java. Referenced by com.quadcap.sql.types.ValueType.getType(), com.quadcap.sql.types.ValueType.readExternal(), and com.quadcap.sql.types.ValueType.writeExternal(). |