| java.lang.Object org.h2.value.Value org.h2.value.ValueLob
ValueLob | public class ValueLob extends Value (Code) | | Implementation of the BLOB and CLOB data types.
|
Method Summary | |
public void | close() | protected int | compareSecure(Value v, CompareMode mode) | public Value | convertTo(int t) | public void | convertToFileIfRequired(DataHandler handler) | public static ValueLob | createBlob(InputStream in, long length, DataHandler handler) | public static ValueLob | createClob(Reader in, long length, DataHandler handler) | public static ValueLob | createSmallLob(int type, byte[] small) | public boolean | equals(Object other) | public byte[] | getBytes() | public byte[] | getBytesNoCopy() | public int | getDisplaySize() | public String | getFileName() | public InputStream | getInputStream() | public int | getMemory() | public Object | getObject() | public int | getObjectId() | public long | getPrecision() | public Reader | getReader() | public String | getSQL() | public byte[] | getSmall() | public String | getString() | public int | getTableId() | public int | getType() | public int | hashCode() | public boolean | isFileBased() | public boolean | isLinked() | public Value | link(DataHandler handler, int tabId) | public static ValueLob | open(int type, DataHandler handler, int tableId, int objectId, long precision, boolean compression) Create a LOB value with the given parameters. | public static void | removeAllForTable(DataHandler handler, int tableId) | public void | set(PreparedStatement prep, int parameterIndex) | public void | setFileName(String fileName) | public String | toString() | public void | unlink() | public boolean | useCompression() |
TABLE_ID_SESSION | final public static int TABLE_ID_SESSION(Code) | | |
getDisplaySize | public int getDisplaySize()(Code) | | |
getMemory | public int getMemory()(Code) | | |
getObjectId | public int getObjectId()(Code) | | |
getPrecision | public long getPrecision()(Code) | | |
getSmall | public byte[] getSmall()(Code) | | |
getTableId | public int getTableId()(Code) | | |
getType | public int getType()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isFileBased | public boolean isFileBased()(Code) | | |
isLinked | public boolean isLinked()(Code) | | |
open | public static ValueLob open(int type, DataHandler handler, int tableId, int objectId, long precision, boolean compression)(Code) | | Create a LOB value with the given parameters.
Parameters: type - the data type Parameters: handler - the file handler Parameters: tableId - the table object id Parameters: objectId - the object id Parameters: precision - the precision (length in elements) Parameters: compression - if compression is used the value object |
useCompression | public boolean useCompression()(Code) | | |
|
|