Quadcap Embeddable Database

com.quadcap.sql.types.TypeBigInt Class Reference

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

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

Detailed Description

The SQL BIGINT type.

Author:
Stan Bailes

Definition at line 57 of file TypeBigInt.java.

Public Member Functions

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

Static Public Member Functions

ValueLong convertNumber (float n) throws ValueException
 Utility method to help convert floats to BIGINTs.

ValueLong convertNumber (double n) throws ValueException
 Utility method to help convert doubles to BIGINTs.


Static Public Attributes

final TypeBigInt typeBigInt = new TypeBigInt()


Constructor & Destructor Documentation

com.quadcap.sql.types.TypeBigInt.TypeBigInt  ) 
 

Definition at line 60 of file TypeBigInt.java.


Member Function Documentation

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

Implements com.quadcap.sql.types.Type.

Definition at line 104 of file TypeBigInt.java.

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

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

ValueLong com.quadcap.sql.types.TypeBigInt.convertNumber double  n  )  throws ValueException [static]
 

Utility method to help convert doubles to BIGINTs.

Definition at line 121 of file TypeBigInt.java.

ValueLong com.quadcap.sql.types.TypeBigInt.convertNumber float  n  )  throws ValueException [static]
 

Utility method to help convert floats to BIGINTs.

Definition at line 111 of file TypeBigInt.java.

References com.quadcap.sql.types.TypeBigInt.convertNumber().

Referenced by com.quadcap.sql.types.TypeBigInt.convertNumber().

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

Implements com.quadcap.sql.types.Type.

Definition at line 128 of file TypeBigInt.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 88 of file TypeBigInt.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 68 of file TypeBigInt.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 66 of file TypeBigInt.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 74 of file TypeBigInt.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 78 of file TypeBigInt.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 76 of file TypeBigInt.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 70 of file TypeBigInt.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 72 of file TypeBigInt.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 62 of file TypeBigInt.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 82 of file TypeBigInt.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 80 of file TypeBigInt.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 84 of file TypeBigInt.java.

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

Implements com.quadcap.sql.types.Type.

Definition at line 86 of file TypeBigInt.java.

void com.quadcap.sql.types.TypeBigInt.readExternal ObjectInput  in  ) 
 

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

Definition at line 98 of file TypeBigInt.java.

References com.quadcap.sql.types.TypeBigInt.readExternal().

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

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

Definition at line 90 of file TypeBigInt.java.

void com.quadcap.sql.types.TypeBigInt.writeExternal ObjectOutput  out  ) 
 

Definition at line 101 of file TypeBigInt.java.

References com.quadcap.sql.types.TypeBigInt.writeExternal().

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


Member Data Documentation

final TypeBigInt com.quadcap.sql.types.TypeBigInt.typeBigInt = new TypeBigInt() [static]
 

Definition at line 58 of file TypeBigInt.java.