Quadcap Embeddable Database

com.quadcap.sql.types.TypeVarBinary Class Reference

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

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

Detailed Description

The SQL BIT VARYING type.

Author:
Stan Bailes

Definition at line 57 of file TypeVarBinary.java.

Public Member Functions

 TypeVarBinary ()
 TypeVarBinary (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 TypeVarBinary typeVarBinary = new TypeVarBinary(-1)

Package Attributes

int max


Constructor & Destructor Documentation

com.quadcap.sql.types.TypeVarBinary.TypeVarBinary  ) 
 

Definition at line 62 of file TypeVarBinary.java.

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

Definition at line 64 of file TypeVarBinary.java.


Member Function Documentation

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

Implements com.quadcap.sql.types.Type.

Definition at line 121 of file TypeVarBinary.java.

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

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

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

Implements com.quadcap.sql.types.Type.

Definition at line 125 of file TypeVarBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 96 of file TypeVarBinary.java.

References com.quadcap.sql.types.TypeVarBinary.max.

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

Implements com.quadcap.sql.types.Type.

Definition at line 76 of file TypeVarBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 74 of file TypeVarBinary.java.

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

Definition at line 72 of file TypeVarBinary.java.

References com.quadcap.sql.types.TypeVarBinary.max.

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

Implements com.quadcap.sql.types.Type.

Definition at line 82 of file TypeVarBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 86 of file TypeVarBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 84 of file TypeVarBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 78 of file TypeVarBinary.java.

References com.quadcap.sql.types.TypeVarBinary.max.

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

Implements com.quadcap.sql.types.Type.

Definition at line 80 of file TypeVarBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 68 of file TypeVarBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 90 of file TypeVarBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 88 of file TypeVarBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 92 of file TypeVarBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 94 of file TypeVarBinary.java.

void com.quadcap.sql.types.TypeVarBinary.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 TypeVarBinary.java.

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

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

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

Definition at line 98 of file TypeVarBinary.java.

References com.quadcap.sql.types.TypeVarBinary.max.

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

Definition at line 117 of file TypeVarBinary.java.

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

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


Member Data Documentation

int com.quadcap.sql.types.TypeVarBinary.max [package]
 

Definition at line 60 of file TypeVarBinary.java.

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

final TypeVarBinary com.quadcap.sql.types.TypeVarBinary.typeVarBinary = new TypeVarBinary(-1) [static]
 

Definition at line 58 of file TypeVarBinary.java.