Quadcap Embeddable Database

com.quadcap.sql.types.TypeVarChar Class Reference

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

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

Detailed Description

The SQL VARCHAR type.

Author:
Stan Bailes

Definition at line 57 of file TypeVarChar.java.

Public Member Functions

 TypeVarChar ()
 TypeVarChar (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 TypeVarChar typeVarChar = new TypeVarChar()

Package Attributes

int max = -1


Constructor & Destructor Documentation

com.quadcap.sql.types.TypeVarChar.TypeVarChar  ) 
 

Definition at line 62 of file TypeVarChar.java.

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

Definition at line 64 of file TypeVarChar.java.


Member Function Documentation

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

Implements com.quadcap.sql.types.Type.

Definition at line 121 of file TypeVarChar.java.

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

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

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

Implements com.quadcap.sql.types.Type.

Definition at line 125 of file TypeVarChar.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 96 of file TypeVarChar.java.

References com.quadcap.sql.types.TypeVarChar.max.

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

Implements com.quadcap.sql.types.Type.

Definition at line 76 of file TypeVarChar.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 74 of file TypeVarChar.java.

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

Definition at line 72 of file TypeVarChar.java.

References com.quadcap.sql.types.TypeVarChar.max.

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

Implements com.quadcap.sql.types.Type.

Definition at line 82 of file TypeVarChar.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 86 of file TypeVarChar.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 84 of file TypeVarChar.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 78 of file TypeVarChar.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 80 of file TypeVarChar.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 68 of file TypeVarChar.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 90 of file TypeVarChar.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 88 of file TypeVarChar.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 92 of file TypeVarChar.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 94 of file TypeVarChar.java.

void com.quadcap.sql.types.TypeVarChar.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 113 of file TypeVarChar.java.

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

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

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

Definition at line 98 of file TypeVarChar.java.

References com.quadcap.sql.types.TypeVarChar.max.

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

Definition at line 117 of file TypeVarChar.java.

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

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


Member Data Documentation

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

Definition at line 60 of file TypeVarChar.java.

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

final TypeVarChar com.quadcap.sql.types.TypeVarChar.typeVarChar = new TypeVarChar() [static]
 

Definition at line 58 of file TypeVarChar.java.