ValueLong

Implementation of the BIGINT data type.

Methods
static ValueLong get(long i)
Get or create a long value for the given long.
static ValueLong get(long i)
Get or create a long value for the given long.
Parameters:
i - the long
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()
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 = 20
static ValueLong MAX
static BigInteger MAX_BI
static ValueLong MIN
static BigDecimal MIN_BD
static int PRECISION = 19

PRECISION = 19

The precision in digits.

DISPLAY_SIZE = 20

The maximum display size of a long. Example: 9223372036854775808

MAX

The largest {@code ValueLong} value.

MAX_BI

The largest Long value, as a BigInteger.

MIN

The smallest {@code ValueLong} value.

MIN_BD

The smallest Long value, as a BigDecimal.