ValueBytes

Implementation of the BINARY data type. It is also the base class for ValueJavaObject.

Methods
static ValueBytes get(byte[] b)
Get or create a bytes value for the given byte array.
static ValueBytes get(byte[] b)
Get or create a bytes value for the given byte array. Clone the data.
Parameters:
b - the byte array
Returns:
the value
static ValueBytes getNoCopy(byte[] b)
Get or create a bytes value for the given byte array.
static ValueBytes getNoCopy(byte[] b)
Get or create a bytes value for the given byte array. Do not clone the date.
Parameters:
b - the byte array
Returns:
the value
int compareSecure(Value v, CompareMode mode)
int compareSecure(Value v, CompareMode mode)
Value convertPrecision(long precision, boolean force)
Value convertPrecision(long precision, boolean force)
boolean equals(Object other)
boolean equals(Object other)
byte[] getBytes()
byte[] getBytes()
byte[] getBytesNoCopy()
byte[] getBytesNoCopy()
int getDisplaySize()
int getDisplaySize()
int getMemory()
int getMemory()
Object getObject()
Object getObject()
long getPrecision()
long getPrecision()
String getSQL()
String getSQL()
String getString()
String getString()
int getType()
int getType()
int hashCode()
int hashCode()
void set(PreparedStatement prep, int parameterIndex)
void set(PreparedStatement prep, int parameterIndex) throws SQLException

Fields
static int hash
static byte[] value

hash

The hash code.

value

The value.