public class GridH2ValueCacheObject
extends org.gridgain.internal.h2.value.Value
CacheObject. Replacement for ValueJavaObject.ARRAY, BLOB, BOOLEAN, BYTE, BYTES, CLOB, DATE, DECIMAL, DOUBLE, ENUM, FLOAT, GEOMETRY, INT, INTERVAL_DAY, INTERVAL_DAY_TO_HOUR, INTERVAL_DAY_TO_MINUTE, INTERVAL_DAY_TO_SECOND, INTERVAL_HOUR, INTERVAL_HOUR_TO_MINUTE, INTERVAL_HOUR_TO_SECOND, INTERVAL_MINUTE, INTERVAL_MINUTE_TO_SECOND, INTERVAL_MONTH, INTERVAL_SECOND, INTERVAL_YEAR, INTERVAL_YEAR_TO_MONTH, JAVA_OBJECT, LONG, MIN_LONG_DECIMAL, NULL, RESULT_SET, ROW, SHORT, STRING, STRING_FIXED, STRING_IGNORECASE, TIME, TIMESTAMP, TIMESTAMP_TZ, TYPE_COUNT, UNKNOWN, UUID| Constructor and Description |
|---|
GridH2ValueCacheObject(CacheObject obj,
CacheObjectValueContext valCtx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTypeSafe(org.gridgain.internal.h2.value.Value v,
org.gridgain.internal.h2.value.CompareMode mode) |
org.gridgain.internal.h2.value.Value |
convertPrecision(long precision,
boolean force) |
boolean |
equals(Object other) |
byte[] |
getBytes() |
byte[] |
getBytesNoCopy() |
CacheObject |
getCacheObject() |
int |
getMemory() |
Object |
getObject() |
Object |
getObject(boolean cpy) |
String |
getSQL() |
StringBuilder |
getSQL(StringBuilder sb) |
String |
getString() |
org.gridgain.internal.h2.value.TypeInfo |
getType() |
int |
getValueType() |
int |
hashCode() |
boolean |
legacyComparator() |
void |
set(PreparedStatement prep,
int parameterIndex) |
void |
useLegacyComparator()
Stub GG-33962, GG-34893 (new comparator) workaround.
|
CacheObjectValueContext |
valueContext() |
add, checkPrecision, clearCache, compareTo, compareWithNull, containsNull, convertScale, convertTo, convertTo, convertTo, convertTo, convertToInt, copy, copyToResult, copyToTemp, divide, getBigDecimal, getBoolean, getByte, getDataHandler, getDate, getDouble, getFloat, getHigherOrder, getHigherType, getInputStream, getInputStream, getInt, getLong, getReader, getReader, getResult, getShort, getSignum, getSmall, getTableId, getTime, getTimestamp, getTraceSQL, getUnsupportedExceptionForOperation, isLinkedToTable, modulus, multiply, negate, remove, subtract, toStringpublic GridH2ValueCacheObject(CacheObject obj, CacheObjectValueContext valCtx)
obj - Object.valCtx - Object value context.public CacheObject getCacheObject()
public CacheObjectValueContext valueContext()
public String getSQL()
getSQL in class org.gridgain.internal.h2.value.Valuepublic StringBuilder getSQL(StringBuilder sb)
getSQL in class org.gridgain.internal.h2.value.Valuepublic org.gridgain.internal.h2.value.TypeInfo getType()
getType in class org.gridgain.internal.h2.value.Valuepublic int getValueType()
getValueType in class org.gridgain.internal.h2.value.Valuepublic String getString()
getString in class org.gridgain.internal.h2.value.Valuepublic byte[] getBytes()
getBytes in class org.gridgain.internal.h2.value.Valuepublic byte[] getBytesNoCopy()
getBytesNoCopy in class org.gridgain.internal.h2.value.Valuepublic Object getObject()
getObject in class org.gridgain.internal.h2.value.Valuepublic Object getObject(boolean cpy)
cpy - Copy flag.public void set(PreparedStatement prep, int parameterIndex) throws SQLException
set in class org.gridgain.internal.h2.value.ValueSQLExceptionpublic int compareTypeSafe(org.gridgain.internal.h2.value.Value v,
org.gridgain.internal.h2.value.CompareMode mode)
compareTypeSafe in class org.gridgain.internal.h2.value.Valuepublic void useLegacyComparator()
public boolean legacyComparator()
true if legacy comparator is used, false otherwise.public int hashCode()
hashCode in class org.gridgain.internal.h2.value.Valuepublic boolean equals(Object other)
equals in class org.gridgain.internal.h2.value.Valuepublic org.gridgain.internal.h2.value.Value convertPrecision(long precision,
boolean force)
convertPrecision in class org.gridgain.internal.h2.value.Valuepublic int getMemory()
getMemory in class org.gridgain.internal.h2.value.Value
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025