| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | DISPLAY_SIZE
The display size of the textual representation of a UUID. |
| private final long | |
| private final long | |
| pack-priv static final int | PRECISION
The precision of this value in number of bytes. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private StringBuilder | |
| public long | |
| public int | compareTypeSafe(Value
the other value o, CompareMode the compare mode mode, CastDataProvider the cast information provider provider)Implements abstract org. Compare this value against another value given that the values are of the same data type. |
| public boolean | equals(Object
the other value other)Implements abstract org. Check if the two values have the same hash code. |
| public static ValueUuid | |
| public static ValueUuid | Returns: the UUIDthe most significant bits high, long the least significant bits low)Get or create a UUID for the given high and low order values. |
| public static ValueUuid | |
| public static ValueUuid | |
| public byte[] | |
| public long | |
| public long | |
| public int | |
| public static ValueUuid | Returns: the new UUIDa version to use version)Create a new UUID using the pseudo random number generator. |
| public StringBuilder | getSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Implements org. Appends the SQL statement of this object to the specified builder. |
| public String | |
| public TypeInfo | getType()
Implements abstract org. Implements org. Returns the data type. |
| public UUID | |
| public int | |
| public int | hashCode()
Implements abstract org. Returns a hash code value for this object. |
| public long |
| DISPLAY_SIZE | back to summary |
|---|---|
| pack-priv static final int DISPLAY_SIZE The display size of the textual representation of a UUID. Example: cd38d882-7ada-4589-b5fb-7da0ca559d9a | |
| high | back to summary |
|---|---|
| private final long high | |
| low | back to summary |
|---|---|
| private final long low | |
| PRECISION | back to summary |
|---|---|
| pack-priv static final int PRECISION The precision of this value in number of bytes. | |
| ValueUuid | back to summary |
|---|---|
| private ValueUuid(long high, long low) | |
| addString | back to summary |
|---|---|
| private StringBuilder addString(StringBuilder builder) | |
| charLength | back to summary |
|---|---|
| public long charLength() Overrides org. Doc from org. Returns length of this value in characters.
| |
| compareTypeSafe | back to summary |
|---|---|
| public int compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) Implements abstract org. Doc from org. Compare this value against another value given that the values are of the same data type.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Implements abstract org. Doc from org. Check if the two values have the same hash code. No data conversion is made; this method returns false if the other object is not of the same class. For some values, compareTo may return 0 even if equals return false. Example: ValueDecimal 0.0 and 0.00. | |
| get | back to summary |
|---|---|
| public static ValueUuid get(byte[] binary) Get or create a UUID for the given 16 bytes.
| |
| get | back to summary |
|---|---|
| public static ValueUuid get(long high, long low) Get or create a UUID for the given high and low order values.
| |
| get | back to summary |
|---|---|
| public static ValueUuid get(UUID uuid) Get or create a UUID for the given Java UUID. | |
| get | back to summary |
|---|---|
| public static ValueUuid get(String s) Get or create a UUID for the given text representation. | |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes() Overrides org.
| |
| getHigh | back to summary |
|---|---|
| public long getHigh() Get the most significant 64 bits of this UUID.
| |
| getLow | back to summary |
|---|---|
| public long getLow() Get the least significant 64 bits of this UUID.
| |
| getMemory | back to summary |
|---|---|
| public int getMemory() Overrides org. Doc from org. Get the memory used by this object.
| |
| getNewRandom | back to summary |
|---|---|
| public static ValueUuid getNewRandom(int version) Create a new UUID using the pseudo random number generator.
| |
| getSQL | back to summary |
|---|---|
| public StringBuilder getSQL(StringBuilder builder, int sqlFlags) Implements org. Doc from org. Appends the SQL statement of this object to the specified builder.
| |
| getString | back to summary |
|---|---|
| public String getString() Implements abstract org. Doc from org. Get the value as a string. | |
| getType | back to summary |
|---|---|
| public TypeInfo getType() Implements abstract org. Implements org. Doc from org. Returns the data type. | |
| getUuid | back to summary |
|---|---|
| public UUID getUuid() Returns the UUID.
| |
| getValueType | back to summary |
|---|---|
| public int getValueType() Implements abstract org. Doc from org. Get the value type.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract org. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| octetLength | back to summary |
|---|---|
| public long octetLength() Overrides org. Doc from org. Returns length of this value in bytes.
| |