ValueUuid

Implementation of the UUID data type.

Methods
static ValueUuid get(byte[] binary)
Get or create a UUID for the given 16 bytes.
static ValueUuid get(byte[] binary)
Get or create a UUID for the given 16 bytes.
Parameters:
binary - the byte array (must be at least 16 bytes long)
Returns:
the UUID
static ValueUuid get(long high, long low)
Get or create a UUID for the given high and low order values.
static ValueUuid get(long high, long low)
Get or create a UUID for the given high and low order values.
Parameters:
high - the most significant bits
low - the least significant bits
Returns:
the UUID
static ValueUuid get(UUID uuid)
Get or create a UUID for the given Java UUID.
static ValueUuid get(UUID uuid)
Get or create a UUID for the given Java UUID.
Parameters:
uuid - Java UUID
Returns:
the UUID
static ValueUuid get(String s)
Get or create a UUID for the given text representation.
static ValueUuid get(String s)
Get or create a UUID for the given text representation.
Parameters:
s - the text representation of the UUID
Returns:
the UUID
static ValueUuid getNewRandom()
Create a new UUID using the pseudo random number generator.
static ValueUuid getNewRandom()
Create a new UUID using the pseudo random number generator.
Returns:
the new UUID
int compareSecure(Value o, CompareMode mode)
int compareSecure(Value o, CompareMode mode)
boolean equals(Object other)
boolean equals(Object other)
byte[] getBytes()
byte[] getBytes()
int getDisplaySize()
int getDisplaySize()
long getHigh()
Get the most significant 64 bits of this UUID.
long getHigh()
Get the most significant 64 bits of this UUID.
Returns:
the high order bits
long getLow()
Get the least significant 64 bits of this UUID.
long getLow()
Get the least significant 64 bits of this UUID.
Returns:
the low order bits
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