Quadcap Embeddable Database

com.quadcap.sql.types.TypeBinary Class Reference

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

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

Detailed Description

The SQL BIT type.

Author:
Stan Bailes

Definition at line 57 of file TypeBinary.java.

Public Member Functions

 TypeBinary ()
 TypeBinary (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
Value convert (ValueBoolean v) throws ValueException
String getCreateParams ()

Static Public Attributes

final TypeBinary typeBinary = new TypeBinary()

Package Attributes

int max = 1


Constructor & Destructor Documentation

com.quadcap.sql.types.TypeBinary.TypeBinary  ) 
 

Definition at line 62 of file TypeBinary.java.

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

Definition at line 64 of file TypeBinary.java.


Member Function Documentation

Value com.quadcap.sql.types.TypeBinary.convert ValueBoolean  v  )  throws ValueException
 

Definition at line 125 of file TypeBinary.java.

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

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

Implements com.quadcap.sql.types.Type.

Definition at line 121 of file TypeBinary.java.

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

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

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

Implements com.quadcap.sql.types.Type.

Definition at line 129 of file TypeBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 96 of file TypeBinary.java.

References com.quadcap.sql.types.TypeBinary.max.

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

Implements com.quadcap.sql.types.Type.

Definition at line 76 of file TypeBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 74 of file TypeBinary.java.

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

Definition at line 72 of file TypeBinary.java.

References com.quadcap.sql.types.TypeBinary.max.

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

Implements com.quadcap.sql.types.Type.

Definition at line 82 of file TypeBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 86 of file TypeBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 84 of file TypeBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 78 of file TypeBinary.java.

References com.quadcap.sql.types.TypeBinary.max.

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

Implements com.quadcap.sql.types.Type.

Definition at line 80 of file TypeBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 68 of file TypeBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 90 of file TypeBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 88 of file TypeBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 92 of file TypeBinary.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 94 of file TypeBinary.java.

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

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

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

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

Definition at line 98 of file TypeBinary.java.

References com.quadcap.sql.types.TypeBinary.max.

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

Definition at line 117 of file TypeBinary.java.

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

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


Member Data Documentation

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

Definition at line 60 of file TypeBinary.java.

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

final TypeBinary com.quadcap.sql.types.TypeBinary.typeBinary = new TypeBinary() [static]
 

Definition at line 58 of file TypeBinary.java.