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

Definition at line 57 of file ValueInterval.java.
Public Member Functions | |
| ValueInterval () | |
| ValueInterval (TypeInterval type, long val, boolean ym) | |
| ValueInterval (String sval, int sign, TypeInterval type) throws RecognitionException | |
| long | getValue () |
| Calendar | getCalendar () |
| Value | getTimeComponent (int field) throws ValueException |
| Value | unop (int op) throws ValueException |
| Value | binop (int op, Value l) throws ValueException |
| Two-level virtual operator dispatch. | |
| Value | binop (int op, ValueNull r) throws ValueException |
| Value | binop (int op, ValueDouble r) throws ValueException |
| Value | binop (int op, ValueFloat r) throws ValueException |
| Value | binop (int op, ValueScaledInteger r) throws ValueException |
| Value | binop (int op, ValueLong r) throws ValueException |
| Value | binop (int op, ValueInteger r) throws ValueException |
| Value | binop (int op, ValueShort r) throws ValueException |
| Value | binop (int op, ValueByte r) throws ValueException |
| Value | binop (int op, ValueInterval r) throws ValueException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| void | writeExternal (ObjectOutput out) throws IOException |
| Object | asJavaObject () |
| void | fromJavaObject (Object obj) throws ValueException |
| String | toString () |
| Value | convert (TypeInterval newType) throws ValueException |
| Value | convert (TypeDecimal t) |
| Type | getType () |
| void | serializeKey (KeyStream out) throws IOException |
Static Public Member Functions | |
| final Value | binop (int op, ValueInterval e, ValueInterval f) throws ValueException |
Package Attributes | |
| long | val |
| boolean | ym |
| TypeInterval | type |
|
|
Definition at line 62 of file ValueInterval.java. Referenced by com.quadcap.sql.types.ValueInterval.binop(), com.quadcap.sql.types.ValueInterval.convert(), and com.quadcap.sql.types.ValueInterval.unop(). |
|
||||||||||||||||
|
Definition at line 64 of file ValueInterval.java. |
|
||||||||||||||||
|
|
Implements com.quadcap.sql.types.Value. Definition at line 328 of file ValueInterval.java. References com.quadcap.sql.types.ValueInterval.toString(). |
|
||||||||||||||||
|
Definition at line 274 of file ValueInterval.java. References com.quadcap.sql.types.ValueInterval.ValueInterval(). |
|
||||||||||||
|
Reimplemented from com.quadcap.sql.types.Value. Definition at line 270 of file ValueInterval.java. References com.quadcap.sql.types.Value.binop(). |
|
||||||||||||
|
Reimplemented from com.quadcap.sql.types.Value. Definition at line 259 of file ValueInterval.java. References com.quadcap.sql.types.ValueInterval.type, com.quadcap.sql.types.ValueInterval.val, com.quadcap.sql.types.ValueInterval.ValueInterval(), and com.quadcap.sql.types.ValueInterval.ym. |
|
||||||||||||
|
Reimplemented from com.quadcap.sql.types.Value. Definition at line 248 of file ValueInterval.java. References com.quadcap.sql.types.ValueInterval.type, com.quadcap.sql.types.ValueInterval.val, com.quadcap.sql.types.ValueInterval.ValueInterval(), and com.quadcap.sql.types.ValueInterval.ym. |
|
||||||||||||
|
Reimplemented from com.quadcap.sql.types.Value. Definition at line 237 of file ValueInterval.java. References com.quadcap.sql.types.ValueInterval.type, com.quadcap.sql.types.ValueInterval.val, com.quadcap.sql.types.ValueInterval.ValueInterval(), and com.quadcap.sql.types.ValueInterval.ym. |
|
||||||||||||
|
Reimplemented from com.quadcap.sql.types.Value. Definition at line 226 of file ValueInterval.java. References com.quadcap.sql.types.ValueInterval.type, com.quadcap.sql.types.ValueInterval.val, com.quadcap.sql.types.ValueInterval.ValueInterval(), and com.quadcap.sql.types.ValueInterval.ym. |
|
||||||||||||
|
Reimplemented from com.quadcap.sql.types.Value. Definition at line 215 of file ValueInterval.java. References com.quadcap.sql.types.ValueInterval.type, com.quadcap.sql.types.ValueInterval.val, com.quadcap.sql.types.ValueInterval.ValueInterval(), and com.quadcap.sql.types.ValueInterval.ym. |
|
||||||||||||
|
Reimplemented from com.quadcap.sql.types.Value. Definition at line 204 of file ValueInterval.java. References com.quadcap.sql.types.ValueInterval.type, com.quadcap.sql.types.ValueInterval.val, com.quadcap.sql.types.ValueInterval.ValueInterval(), and com.quadcap.sql.types.ValueInterval.ym. |
|
||||||||||||
|
Reimplemented from com.quadcap.sql.types.Value. Definition at line 193 of file ValueInterval.java. References com.quadcap.sql.types.ValueInterval.type, com.quadcap.sql.types.ValueInterval.val, com.quadcap.sql.types.ValueInterval.ValueInterval(), and com.quadcap.sql.types.ValueInterval.ym. |
|
||||||||||||
|
Reimplemented from com.quadcap.sql.types.Value. Definition at line 175 of file ValueInterval.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 171 of file ValueInterval.java. References com.quadcap.sql.types.ValueInterval.binop(). Referenced by com.quadcap.sql.types.ValueInterval.binop(). |
|
|
Reimplemented from com.quadcap.sql.types.Value. Definition at line 383 of file ValueInterval.java. References com.quadcap.sql.types.TypeInterval.getStart(), com.quadcap.sql.types.ValueInterval.type, com.quadcap.sql.types.TypeInterval.units(), com.quadcap.sql.types.ValueInterval.val, and com.quadcap.sql.types.ValueInterval.ym. |
|
|
Reimplemented from com.quadcap.sql.types.Value. Definition at line 369 of file ValueInterval.java. References com.quadcap.sql.types.ValueInterval.convert(), com.quadcap.sql.types.TypeInterval.getMult(), com.quadcap.sql.types.ValueInterval.type, com.quadcap.sql.types.ValueInterval.val, com.quadcap.sql.types.ValueInterval.ValueInterval(), and com.quadcap.sql.types.ValueInterval.ym. Referenced by com.quadcap.sql.types.ValueInterval.convert(). |
|
|
Implements com.quadcap.sql.types.Value. Definition at line 332 of file ValueInterval.java. References com.quadcap.sql.types.ValueInterval.fromJavaObject(). Referenced by com.quadcap.sql.types.ValueInterval.fromJavaObject(). |
|
|
Definition at line 110 of file ValueInterval.java. References com.quadcap.sql.types.TypeInterval.getMult(), com.quadcap.sql.types.ValueInterval.type, com.quadcap.sql.types.ValueInterval.val, and com.quadcap.sql.types.ValueInterval.ym. |
|
|
|
Implements com.quadcap.sql.types.Value. Definition at line 388 of file ValueInterval.java. References com.quadcap.sql.types.ValueInterval.type. |
|
|
Definition at line 108 of file ValueInterval.java. References com.quadcap.sql.types.ValueInterval.val. |
|
|
|
Implements com.quadcap.sql.types.Value. Definition at line 392 of file ValueInterval.java. References com.quadcap.sql.types.ValueInterval.serializeKey(), com.quadcap.sql.types.ValueInterval.val, and com.quadcap.sql.types.ValueInterval.ym. Referenced by com.quadcap.sql.types.ValueInterval.serializeKey(). |
|
|
|
Reimplemented from com.quadcap.sql.types.Value. Definition at line 157 of file ValueInterval.java. References com.quadcap.sql.types.ValueInterval.type, com.quadcap.sql.types.ValueInterval.unop(), com.quadcap.sql.types.ValueInterval.val, com.quadcap.sql.types.ValueInterval.ValueInterval(), and com.quadcap.sql.types.ValueInterval.ym. Referenced by com.quadcap.sql.types.ValueInterval.unop(). |
|
|
Definition at line 321 of file ValueInterval.java. References com.quadcap.sql.types.ValueInterval.type, com.quadcap.sql.types.ValueInterval.val, and com.quadcap.sql.types.ValueInterval.writeExternal(). Referenced by com.quadcap.sql.types.ValueInterval.writeExternal(). |
|
|
|