| java.lang.Object org.h2.value.Value
All known Subclasses: org.h2.value.ValueBoolean, org.h2.value.ValueTime, org.h2.value.ValueLob, org.h2.value.ValueResultSet, org.h2.value.ValueFloat, org.h2.value.ValueByte, org.h2.value.ValueBytesBase, org.h2.value.ValueShort, org.h2.value.ValueNull, org.h2.value.ValueStringBase, org.h2.value.ValueDecimal, org.h2.value.ValueInt, org.h2.value.ValueLong, org.h2.value.ValueDate, org.h2.value.ValueDouble, org.h2.value.ValueUuid, org.h2.value.ValueTimestamp, org.h2.value.ValueArray,
Value | abstract public class Value (Code) | | This is the base class for all value classes.
It provides conversion and comparison methods.
|
ARRAYRESULT_SETJAVA_OBJECTUUIDSTRING_FIXED | final public static int ARRAYRESULT_SETJAVA_OBJECTUUIDSTRING_FIXED(Code) | | |
DOUBLEFLOATTIMEDATETIMESTAMPBYTES | final public static int DOUBLEFLOATTIMEDATETIMESTAMPBYTES(Code) | | |
NULLBOOLEANBYTESHORTINTLONGDECIMAL | final public static int NULLBOOLEANBYTESHORTINTLONGDECIMAL(Code) | | |
STRINGSTRING_IGNORECASEBLOBCLOB | final public static int STRINGSTRING_IGNORECASEBLOBCLOB(Code) | | |
TYPE_COUNT | final public static int TYPE_COUNT(Code) | | |
UNKNOWN | final public static int UNKNOWN(Code) | | The data type is unknown at this time.
|
checkPrecision | public boolean checkPrecision(long precision)(Code) | | |
compareSecure | abstract protected int compareSecure(Value v, CompareMode mode) throws SQLException(Code) | | Compare the value with another value of the same type.
Parameters: v - the other value Parameters: mode - the compare mode 0 if both values are equal, -1 if the other value is smaller, and1 otherwise |
equals | abstract public boolean equals(Object other)(Code) | | Check if the two values are equal.
No data conversion is made; this method returns false
if the other object is not of the same class.
Parameters: other - the other value true if they are equal |
getDisplaySize | abstract public int getDisplaySize()(Code) | | Get the display size in characters.
the display size |
getMemory | public int getMemory()(Code) | | Get the memory used by this object.
the memory used in bytes |
getObject | abstract public Object getObject()(Code) | | Get the value as an object.
the object |
getOrder | public static int getOrder(int type)(Code) | | |
getPrecision | abstract public long getPrecision()(Code) | | Get the precision.
the precision |
getSQL | abstract public String getSQL()(Code) | | Get the SQL expression for this value.
the SQL expression |
getScale | public int getScale()(Code) | | |
getString | abstract public String getString()(Code) | | Get the value as a string.
the string |
getType | abstract public int getType()(Code) | | Get the value type.
the type |
hashCode | abstract public int hashCode()(Code) | | |
isFileBased | public boolean isFileBased()(Code) | | |
isLinked | public boolean isLinked()(Code) | | |
set | abstract public void set(PreparedStatement prep, int parameterIndex) throws SQLException(Code) | | Set the value as a parameter in a prepared statement.
Parameters: prep - the prepared statement Parameters: parameterIndex - the parameter index |
|
|