Quadcap Embeddable Database

com.quadcap.sql.types.ValueNull Class Reference

Inheritance diagram for com.quadcap.sql.types.ValueNull:

com.quadcap.sql.types.Value Externalizable ExternalizeProxy List of all members.

Detailed Description

A NULL value.

Author:
Stan Bailes

Definition at line 55 of file ValueNull.java.

Public Member Functions

 ValueNull ()
 ValueNull (boolean collatesLast)
Value binop (int op, Value l) throws ValueException
 Two-level virtual operator dispatch.

ValueInteger nullCmpVal ()
ValueInteger valCmpNull ()
Value binop (int op, ValueBlob r) throws ValueException
Value binop (int op, ValueBoolean r) throws ValueException
Value binop (int op, ValueByte r) throws ValueException
Value binop (int op, ValueClob r) throws ValueException
Value binop (int op, ValueDate r) throws ValueException
Value binop (int op, ValueDefault r) throws ValueException
Value binop (int op, ValueDouble r) throws ValueException
Value binop (int op, ValueInteger r) throws ValueException
Value binop (int op, ValueInterval r) throws ValueException
Value binop (int op, ValueLong r) throws ValueException
Value binop (int op, ValueNull r) throws ValueException
Value binop (int op, ValueOctets r) throws ValueException
Value binop (int op, ValuePattern r) throws ValueException
Value binop (int op, ValueScaledInteger r) throws ValueException
Value binop (int op, ValueShort r) throws ValueException
Value binop (int op, ValueString r) throws ValueException
Value binop (int op, ValueTime r) throws ValueException
Value binop (int op, ValueTimestamp r) throws ValueException
Value binop (int op, ValueType r) throws ValueException
Value binop (int op, ValueUnknown r) throws ValueException
Value unop (int op) throws ValueException
String toString ()
void readExternal (ObjectInput in) throws IOException
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
Value convert (TypeBigInt type)
Value convert (TypeBinary type)
Value convert (TypeBlob type)
Value convert (TypeBoolean type)
Value convert (TypeChar type)
Value convert (TypeClob type)
Value convert (TypeDate type)
Value convert (TypeDecimal type)
Value convert (TypeInt type)
Value convert (TypeInterval type)
Value convert (TypeReal type)
Value convert (TypeSmallInt type)
Value convert (TypeTime type)
Value convert (TypeTimestamp type)
Value convert (TypeTinyInt type)
Value convert (TypeVarBinary type)
Value convert (TypeVarChar type)
Type getType ()
void serializeKey (KeyStream out) throws IOException

Static Public Member Functions

final Value binop (int op, ValueNull e, ValueNull f) throws ValueException

Static Public Attributes

ValueNull valueNull = new ValueNull()
ValueNull valueLastNull = new ValueNull(true)

Package Functions

Value anyBinOp (int op, Value r) throws ValueException

Package Attributes

boolean collatesLast = false


Constructor & Destructor Documentation

com.quadcap.sql.types.ValueNull.ValueNull  ) 
 

Definition at line 61 of file ValueNull.java.

Referenced by com.quadcap.sql.types.ValueNull.readObject().

com.quadcap.sql.types.ValueNull.ValueNull boolean  collatesLast  ) 
 

Definition at line 63 of file ValueNull.java.


Member Function Documentation

Value com.quadcap.sql.types.ValueNull.anyBinOp int  op,
Value  r
throws ValueException [package]
 

Definition at line 79 of file ValueNull.java.

References com.quadcap.sql.types.ValueNull.anyBinOp(), and com.quadcap.sql.types.ValueNull.nullCmpVal().

Referenced by com.quadcap.sql.types.ValueNull.anyBinOp().

Object com.quadcap.sql.types.ValueNull.asJavaObject  )  [virtual]
 

Implements com.quadcap.sql.types.Value.

Definition at line 249 of file ValueNull.java.

final Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueNull  e,
ValueNull  f
throws ValueException [static]
 

Definition at line 181 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueUnknown  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 177 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueType  r
throws ValueException
 

Definition at line 173 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueTimestamp  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 169 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueTime  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 165 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueString  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 161 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueShort  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 157 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueScaledInteger  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 153 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValuePattern  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 149 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueOctets  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 145 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueNull  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 141 of file ValueNull.java.

References com.quadcap.sql.types.ValueNull.binop().

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueLong  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 137 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueInterval  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 133 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueInteger  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 129 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueDouble  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 125 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueDefault  r
throws ValueException
 

Definition at line 121 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueDate  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 117 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueClob  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 113 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueByte  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 109 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueBoolean  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 105 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
ValueBlob  r
throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 101 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.binop int  op,
Value  l
throws ValueException [virtual]
 

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 67 of file ValueNull.java.

References com.quadcap.sql.types.ValueNull.binop().

Referenced by com.quadcap.sql.types.ValueNull.binop().

Value com.quadcap.sql.types.ValueNull.convert TypeVarChar  type  ) 
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 274 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.convert TypeVarBinary  type  ) 
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 273 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.convert TypeTinyInt  type  ) 
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 272 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.convert TypeTimestamp  type  ) 
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 271 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.convert TypeTime  type  ) 
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 270 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.convert TypeSmallInt  type  ) 
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 269 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.convert TypeReal  type  ) 
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 268 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.convert TypeInterval  type  ) 
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 267 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.convert TypeInt  type  ) 
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 266 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.convert TypeDecimal  type  ) 
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 265 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.convert TypeDate  type  ) 
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 264 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.convert TypeClob  type  ) 
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 263 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.convert TypeChar  type  ) 
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 262 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.convert TypeBoolean  type  ) 
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 261 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.convert TypeBlob  type  ) 
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 260 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.convert TypeBinary  type  ) 
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 259 of file ValueNull.java.

Value com.quadcap.sql.types.ValueNull.convert TypeBigInt  type  ) 
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 258 of file ValueNull.java.

References com.quadcap.sql.types.ValueNull.convert().

Referenced by com.quadcap.sql.types.ValueNull.convert().

void com.quadcap.sql.types.ValueNull.fromJavaObject Object  obj  )  throws ValueException [virtual]
 

Implements com.quadcap.sql.types.Value.

Definition at line 253 of file ValueNull.java.

References com.quadcap.sql.types.ValueNull.fromJavaObject().

Referenced by com.quadcap.sql.types.ValueNull.fromJavaObject().

Type com.quadcap.sql.types.ValueNull.getType  )  [virtual]
 

Implements com.quadcap.sql.types.Value.

Definition at line 276 of file ValueNull.java.

ValueInteger com.quadcap.sql.types.ValueNull.nullCmpVal  ) 
 

Definition at line 71 of file ValueNull.java.

References com.quadcap.sql.types.ValueNull.collatesLast.

Referenced by com.quadcap.sql.types.ValueNull.anyBinOp().

void com.quadcap.sql.types.ValueNull.readExternal ObjectInput  in  )  throws IOException
 

Definition at line 224 of file ValueNull.java.

References com.quadcap.sql.types.ValueNull.collatesLast, and com.quadcap.sql.types.ValueNull.readExternal().

Referenced by com.quadcap.sql.types.ValueNull.readExternal().

Object com.quadcap.sql.types.ValueNull.readObject ObjectInput  in  )  throws IOException, ClassNotFoundException
 

Definition at line 234 of file ValueNull.java.

References com.quadcap.sql.types.ValueNull.readObject(), and com.quadcap.sql.types.ValueNull.ValueNull().

Referenced by com.quadcap.sql.types.ValueNull.readObject().

void com.quadcap.sql.types.ValueNull.serializeKey KeyStream  out  )  throws IOException [virtual]
 

Implements com.quadcap.sql.types.Value.

Definition at line 280 of file ValueNull.java.

References com.quadcap.sql.types.ValueNull.collatesLast, and com.quadcap.sql.types.ValueNull.serializeKey().

Referenced by com.quadcap.sql.types.ValueNull.serializeKey().

String com.quadcap.sql.types.ValueNull.toString  ) 
 

Definition at line 220 of file ValueNull.java.

References com.quadcap.sql.types.ValueNull.collatesLast.

Value com.quadcap.sql.types.ValueNull.unop int  op  )  throws ValueException
 

Reimplemented from com.quadcap.sql.types.Value.

Definition at line 206 of file ValueNull.java.

References com.quadcap.sql.types.ValueNull.unop().

Referenced by com.quadcap.sql.types.ValueNull.unop().

ValueInteger com.quadcap.sql.types.ValueNull.valCmpNull  ) 
 

Definition at line 75 of file ValueNull.java.

References com.quadcap.sql.types.ValueNull.collatesLast.

void com.quadcap.sql.types.ValueNull.writeExternal ObjectOutput  out  )  throws IOException
 

Definition at line 228 of file ValueNull.java.

References com.quadcap.sql.types.ValueNull.collatesLast, and com.quadcap.sql.types.ValueNull.writeExternal().

Referenced by com.quadcap.sql.types.ValueNull.writeExternal().

void com.quadcap.sql.types.ValueNull.writeObject ObjectOutput  out,
Object  object
throws IOException
 

Definition at line 242 of file ValueNull.java.

References com.quadcap.sql.types.ValueNull.collatesLast, and com.quadcap.sql.types.ValueNull.writeObject().

Referenced by com.quadcap.sql.types.ValueNull.writeObject().


Member Data Documentation

boolean com.quadcap.sql.types.ValueNull.collatesLast = false [package]
 

Definition at line 56 of file ValueNull.java.

Referenced by com.quadcap.sql.types.ValueNull.nullCmpVal(), com.quadcap.sql.types.ValueNull.readExternal(), com.quadcap.sql.types.ValueNull.serializeKey(), com.quadcap.sql.types.ValueNull.toString(), com.quadcap.sql.types.ValueNull.valCmpNull(), com.quadcap.sql.types.ValueNull.writeExternal(), and com.quadcap.sql.types.ValueNull.writeObject().

ValueNull com.quadcap.sql.types.ValueNull.valueLastNull = new ValueNull(true) [static]
 

Definition at line 59 of file ValueNull.java.

ValueNull com.quadcap.sql.types.ValueNull.valueNull = new ValueNull() [static]
 

Definition at line 58 of file ValueNull.java.