public class GridH2ValueCacheObject
extends org.h2.value.Value
CacheObject. Replacement for ValueJavaObject.| Constructor and Description |
|---|
GridH2ValueCacheObject(CacheObject obj,
CacheObjectValueContext valCtx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
compareSecure(org.h2.value.Value v,
org.h2.value.CompareMode mode) |
org.h2.value.Value |
convertPrecision(long precision,
boolean force) |
boolean |
equals(Object other) |
byte[] |
getBytes() |
byte[] |
getBytesNoCopy() |
CacheObject |
getCacheObject() |
int |
getDisplaySize() |
int |
getMemory() |
Object |
getObject() |
Object |
getObject(boolean cpy) |
long |
getPrecision() |
String |
getSQL() |
String |
getString() |
int |
getType() |
int |
hashCode() |
void |
set(PreparedStatement prep,
int parameterIndex) |
CacheObjectValueContext |
valueContext() |
add, checkPrecision, clearCache, compareTo, compareTypeSafe, convertScale, convertTo, copy, copyToResult, copyToTemp, divide, getBigDecimal, getBoolean, getByte, getDataHandler, getDate, getDouble, getFloat, getHigherOrder, getInputStream, getInt, getLong, getReader, getResultSet, getScale, getShort, getSignum, getSmall, getTableId, getTime, getTimestamp, getTraceSQL, isLinkedToTable, modulus, multiply, negate, remove, subtract, throwUnsupportedExceptionForType, 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.h2.value.Valuepublic int getType()
getType in class org.h2.value.Valuepublic long getPrecision()
getPrecision in class org.h2.value.Valuepublic int getDisplaySize()
getDisplaySize in class org.h2.value.Valuepublic String getString()
getString in class org.h2.value.Valuepublic byte[] getBytes()
getBytes in class org.h2.value.Valuepublic byte[] getBytesNoCopy()
getBytesNoCopy in class org.h2.value.Valuepublic Object getObject()
getObject in class org.h2.value.Valuepublic Object getObject(boolean cpy)
cpy - Copy flag.public void set(PreparedStatement prep, int parameterIndex) throws SQLException
set in class org.h2.value.ValueSQLExceptionprotected int compareSecure(org.h2.value.Value v,
org.h2.value.CompareMode mode)
compareSecure in class org.h2.value.Valuepublic int hashCode()
hashCode in class org.h2.value.Valuepublic boolean equals(Object other)
equals in class org.h2.value.Valuepublic org.h2.value.Value convertPrecision(long precision,
boolean force)
convertPrecision in class org.h2.value.Valuepublic int getMemory()
getMemory in class org.h2.value.Value
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018