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

Definition at line 58 of file ValueDate.java.
Public Member Functions | |
| ValueDate () | |
| ValueDate (long val) | |
| ValueDate (String str) throws antlr.RecognitionException | |
| String | toString () |
| Value | binop (int op, ValueString r) throws ValueException |
| Value | binop (int op, Value l) throws ValueException |
| Two-level virtual operator dispatch. | |
| Value | binop (int op, ValueInterval r) throws ValueException |
| Value | unop (int op) throws ValueException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| void | writeExternal (ObjectOutput out) throws IOException |
| Object | readObject (ObjectInput in) throws IOException, ClassNotFoundException |
| void | writeObject (ObjectOutput out, Object object) throws IOException |
| Object | asJavaObject () |
| void | fromJavaObject (Object obj) throws ValueException |
| Type | getType () |
| Value | convert (TypeDate t) |
| Value | convert (TypeTimestamp t) |
Static Package Attributes | |
| SimpleDateFormat | df = new SimpleDateFormat("yyyy-MM-dd") |
|
|
Definition at line 61 of file ValueDate.java. Referenced by com.quadcap.sql.types.ValueDate.binop(), and com.quadcap.sql.types.ValueDate.readObject(). |
|
|
Definition at line 63 of file ValueDate.java. |
|
|
Definition at line 67 of file ValueDate.java. References com.quadcap.sql.types.ValueDate.df. |
|
|
Reimplemented from com.quadcap.sql.types.ValueDateTime. Definition at line 154 of file ValueDate.java. |
|
||||||||||||
|
Reimplemented from com.quadcap.sql.types.Value. Definition at line 95 of file ValueDate.java. References com.quadcap.sql.types.ValueDateTime.getCal(), and com.quadcap.sql.types.ValueDate.ValueDate(). |
|
||||||||||||
|
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.ValueDateTime. Definition at line 91 of file ValueDate.java. References com.quadcap.sql.types.Value.binop(). |
|
||||||||||||
|
Reimplemented from com.quadcap.sql.types.Value. Definition at line 83 of file ValueDate.java. References com.quadcap.sql.types.ValueDate.binop(), and com.quadcap.sql.types.ValueDate.ValueDate(). Referenced by com.quadcap.sql.types.ValueDate.binop(). |
|
|
Reimplemented from com.quadcap.sql.types.Value. Definition at line 174 of file ValueDate.java. |
|
|
Reimplemented from com.quadcap.sql.types.Value. Definition at line 170 of file ValueDate.java. References com.quadcap.sql.types.ValueDate.convert(). Referenced by com.quadcap.sql.types.ValueDate.convert(). |
|
|
Implements com.quadcap.sql.types.Value. Definition at line 158 of file ValueDate.java. References com.quadcap.sql.types.ValueDate.fromJavaObject(). Referenced by com.quadcap.sql.types.ValueDate.fromJavaObject(). |
|
|
Implements com.quadcap.sql.types.ValueDateTime. Definition at line 166 of file ValueDate.java. |
|
|
Reimplemented from com.quadcap.sql.types.ValueDateTime. Definition at line 128 of file ValueDate.java. References com.quadcap.sql.types.ValueDate.readExternal(). Referenced by com.quadcap.sql.types.ValueDate.readExternal(), and com.quadcap.sql.types.ValueDate.readObject(). |
|
|
Definition at line 140 of file ValueDate.java. References com.quadcap.sql.types.ValueDate.readExternal(), com.quadcap.sql.types.ValueDate.readObject(), and com.quadcap.sql.types.ValueDate.ValueDate(). Referenced by com.quadcap.sql.types.ValueDate.readObject(). |
|
|
Reimplemented from com.quadcap.sql.types.ValueDateTime. Definition at line 77 of file ValueDate.java. References com.quadcap.sql.types.ValueDate.df. |
|
|
Reimplemented from com.quadcap.sql.types.ValueDateTime. Definition at line 118 of file ValueDate.java. References com.quadcap.sql.types.ValueDate.unop(). Referenced by com.quadcap.sql.types.ValueDate.unop(). |
|
|
Reimplemented from com.quadcap.sql.types.ValueDateTime. Definition at line 134 of file ValueDate.java. References com.quadcap.sql.types.ValueDate.writeExternal(). Referenced by com.quadcap.sql.types.ValueDate.writeExternal(), and com.quadcap.sql.types.ValueDate.writeObject(). |
|
||||||||||||
|
Definition at line 148 of file ValueDate.java. References com.quadcap.sql.types.ValueDate.writeExternal(), and com.quadcap.sql.types.ValueDate.writeObject(). Referenced by com.quadcap.sql.types.ValueDate.writeObject(). |
|
|
Definition at line 59 of file ValueDate.java. Referenced by com.quadcap.sql.types.ValueDate.toString(), and com.quadcap.sql.types.ValueDate.ValueDate(). |