|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.value.Value
org.h2.value.ValueBytes
org.h2.value.ValueJavaObject
public class ValueJavaObject
Implementation of the OBJECT data type.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.h2.value.Value |
---|
Value.ValueBlob, Value.ValueClob |
Field Summary |
---|
Fields inherited from class org.h2.value.Value |
---|
ARRAY, BLOB, BOOLEAN, BYTE, BYTES, CLOB, DATE, DECIMAL, DOUBLE, FLOAT, INT, JAVA_OBJECT, LONG, NULL, RESULT_SET, SHORT, STRING, STRING_FIXED, STRING_IGNORECASE, TIME, TIMESTAMP, TYPE_COUNT, UNKNOWN, UUID |
Constructor Summary | |
---|---|
protected |
ValueJavaObject(byte[] v)
|
Method Summary | |
---|---|
static ValueJavaObject |
getNoCopy(byte[] b)
Get or create a java object value for the given byte array. |
int |
getType()
Get the value type. |
void |
set(java.sql.PreparedStatement prep,
int parameterIndex)
Set the value as a parameter in a prepared statement. |
Methods inherited from class org.h2.value.ValueBytes |
---|
compareSecure, equals, get, getBytes, getBytesNoCopy, getDisplaySize, getMemory, getObject, getPrecision, getSQL, getString, hashCode |
Methods inherited from class org.h2.value.Value |
---|
add, checkPrecision, clearCache, close, compareTo, compareTypeSave, convertPrecision, convertScale, convertTo, copyToTemp, divide, getBigDecimal, getBoolean, getByte, getDate, getDateNoCopy, getDouble, getFloat, getHigherOrder, getInputStream, getInt, getLong, getReader, getScale, getShort, getSignum, getSmall, getTableId, getTime, getTimeNoCopy, getTimestamp, getTimestampNoCopy, getTraceSQL, isFileBased, isLinked, link, multiply, negate, subtract, throwUnsupportedExceptionForType, toString, unlink |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected ValueJavaObject(byte[] v)
Method Detail |
---|
public static ValueJavaObject getNoCopy(byte[] b)
b
- the byte array
public int getType()
Value
getType
in class ValueBytes
public void set(java.sql.PreparedStatement prep, int parameterIndex) throws java.sql.SQLException
Value
set
in class ValueBytes
prep
- the prepared statementparameterIndex
- the parameter index
java.sql.SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |