Quadcap Embeddable Database

com.quadcap.sql.types.TypeBlob Class Reference

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

com.quadcap.sql.types.Type Externalizable List of all members.

Detailed Description

The SQL BLOB type.

Author:
Stan Bailes

Definition at line 57 of file TypeBlob.java.

Public Member Functions

 TypeBlob ()
 TypeBlob (int max)
String getTypeName ()
int getMax ()
int getJDBCType ()
String getJDBCClassName ()
int getPrecision ()
int getScale ()
int getMaxPrecision ()
int getMinScale ()
int getMaxScale ()
boolean isCharType ()
boolean isCaseSensitive ()
boolean isCurrency ()
boolean isSigned ()
int getDisplayWidth ()
String toString ()
void readExternal (ObjectInput in) throws IOException
 We don't bother serializing the data, since Java serialization is only used for the type portion of a table column.

void writeExternal (ObjectOutput out) throws IOException
Value convert (Value v) throws ValueException
String getCreateParams ()

Static Public Attributes

final TypeBlob typeBlob = new TypeBlob()

Package Attributes

int max = -1


Constructor & Destructor Documentation

com.quadcap.sql.types.TypeBlob.TypeBlob  ) 
 

Definition at line 61 of file TypeBlob.java.

com.quadcap.sql.types.TypeBlob.TypeBlob int  max  ) 
 

Definition at line 63 of file TypeBlob.java.


Member Function Documentation

Value com.quadcap.sql.types.TypeBlob.convert Value  v  )  throws ValueException
 

Implements com.quadcap.sql.types.Type.

Definition at line 126 of file TypeBlob.java.

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

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

String com.quadcap.sql.types.TypeBlob.getCreateParams  ) 
 

Implements com.quadcap.sql.types.Type.

Definition at line 130 of file TypeBlob.java.

int com.quadcap.sql.types.TypeBlob.getDisplayWidth  ) 
 

Implements com.quadcap.sql.types.Type.

Definition at line 101 of file TypeBlob.java.

References com.quadcap.sql.types.TypeBlob.max.

String com.quadcap.sql.types.TypeBlob.getJDBCClassName  ) 
 

Implements com.quadcap.sql.types.Type.

Definition at line 81 of file TypeBlob.java.

int com.quadcap.sql.types.TypeBlob.getJDBCType  ) 
 

Implements com.quadcap.sql.types.Type.

Definition at line 73 of file TypeBlob.java.

int com.quadcap.sql.types.TypeBlob.getMax  ) 
 

Definition at line 71 of file TypeBlob.java.

References com.quadcap.sql.types.TypeBlob.max.

int com.quadcap.sql.types.TypeBlob.getMaxPrecision  ) 
 

Implements com.quadcap.sql.types.Type.

Definition at line 87 of file TypeBlob.java.

int com.quadcap.sql.types.TypeBlob.getMaxScale  ) 
 

Implements com.quadcap.sql.types.Type.

Definition at line 91 of file TypeBlob.java.

int com.quadcap.sql.types.TypeBlob.getMinScale  ) 
 

Implements com.quadcap.sql.types.Type.

Definition at line 89 of file TypeBlob.java.

int com.quadcap.sql.types.TypeBlob.getPrecision  ) 
 

Implements com.quadcap.sql.types.Type.

Definition at line 83 of file TypeBlob.java.

References com.quadcap.sql.types.TypeBlob.max.

int com.quadcap.sql.types.TypeBlob.getScale  ) 
 

Implements com.quadcap.sql.types.Type.

Definition at line 85 of file TypeBlob.java.

String com.quadcap.sql.types.TypeBlob.getTypeName  ) 
 

Implements com.quadcap.sql.types.Type.

Definition at line 67 of file TypeBlob.java.

boolean com.quadcap.sql.types.TypeBlob.isCaseSensitive  ) 
 

Implements com.quadcap.sql.types.Type.

Definition at line 95 of file TypeBlob.java.

boolean com.quadcap.sql.types.TypeBlob.isCharType  ) 
 

Implements com.quadcap.sql.types.Type.

Definition at line 93 of file TypeBlob.java.

boolean com.quadcap.sql.types.TypeBlob.isCurrency  ) 
 

Implements com.quadcap.sql.types.Type.

Definition at line 97 of file TypeBlob.java.

boolean com.quadcap.sql.types.TypeBlob.isSigned  ) 
 

Implements com.quadcap.sql.types.Type.

Definition at line 99 of file TypeBlob.java.

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

We don't bother serializing the data, since Java serialization is only used for the type portion of a table column.

Definition at line 118 of file TypeBlob.java.

References com.quadcap.sql.types.TypeBlob.max, and com.quadcap.sql.types.TypeBlob.readExternal().

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

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

Definition at line 103 of file TypeBlob.java.

References com.quadcap.sql.types.TypeBlob.max.

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

Definition at line 122 of file TypeBlob.java.

References com.quadcap.sql.types.TypeBlob.max, and com.quadcap.sql.types.TypeBlob.writeExternal().

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


Member Data Documentation

int com.quadcap.sql.types.TypeBlob.max = -1 [package]
 

Definition at line 59 of file TypeBlob.java.

Referenced by com.quadcap.sql.types.TypeBlob.getDisplayWidth(), com.quadcap.sql.types.TypeBlob.getMax(), com.quadcap.sql.types.TypeBlob.getPrecision(), com.quadcap.sql.types.TypeBlob.readExternal(), com.quadcap.sql.types.TypeBlob.toString(), and com.quadcap.sql.types.TypeBlob.writeExternal().

final TypeBlob com.quadcap.sql.types.TypeBlob.typeBlob = new TypeBlob() [static]
 

Definition at line 58 of file TypeBlob.java.