ValueInt

Implementation of the INT data type.

Methods
static ValueInt get(int i)
Get or create an int value for the given int.
static ValueInt get(int i)
Get or create an int value for the given int.
Parameters:
i - the int
Returns:
the value
Value add(Value v)
Value add(Value v)
int compareSecure(Value o, CompareMode mode)
int compareSecure(Value o, CompareMode mode)
Value divide(Value v)
Value divide(Value v)
boolean equals(Object other)
boolean equals(Object other)
int getDisplaySize()
int getDisplaySize()
int getInt()
int getInt()
long getLong()
long getLong()
Object getObject()
Object getObject()
long getPrecision()
long getPrecision()
String getSQL()
String getSQL()
int getSignum()
int getSignum()
String getString()
String getString()
int getType()
int getType()
int hashCode()
int hashCode()
Value modulus(Value v)
Value modulus(Value v)
Value multiply(Value v)
Value multiply(Value v)
Value negate()
Value negate()
void set(PreparedStatement prep, int parameterIndex)
void set(PreparedStatement prep, int parameterIndex) throws SQLException
Value subtract(Value v)
Value subtract(Value v)

Fields
static int DISPLAY_SIZE = 11
static int PRECISION = 10

PRECISION = 10

The precision in digits.

DISPLAY_SIZE = 11

The maximum display size of an int. Example: -2147483648