vortex
Class dbNumber

java.lang.Object
  extended by java.lang.Number
      extended by vortex.dbNumber
All Implemented Interfaces:
java.io.Serializable

public class dbNumber
extends java.lang.Number

Internal network independent numeric object. This internal number format is a 100-based decimal format.

Each RDBMS vendor supports a wide variety of machine and machine independent numeric data types. In order to make life simpler all the VORTEX RDBMS drivers will automatically convert the internal RDBMS numerics to this independent format. When receiving data from a remote RDBMS no byte flipping is needed.

Once retrieved by the client various conversion methods are available.

See Also:
Serialized Form

Method Summary
 double doubleValue()
           
 float floatValue()
           
 int intValue()
           
 int length()
           
 long longValue()
           
 byte[] numberValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

length

public int length()

intValue

public int intValue()
Specified by:
intValue in class java.lang.Number

longValue

public long longValue()
Specified by:
longValue in class java.lang.Number

floatValue

public float floatValue()
Specified by:
floatValue in class java.lang.Number

doubleValue

public double doubleValue()
Specified by:
doubleValue in class java.lang.Number

numberValue

public byte[] numberValue()


Updated May 06 2016