LobStorageFrontend

This factory creates in-memory objects and temporary files. It is used on the client side.

Methods
ValueLobDb copyLob(ValueLobDb old, int tableId, long length)
ValueLobDb copyLob(ValueLobDb old, int tableId, long length)
Value createBlob(InputStream in, long maxLength)
Value createBlob(InputStream in, long maxLength)
Value createClob(Reader reader, long maxLength)
Create a CLOB object.
Value createClob(Reader reader, long maxLength)
Create a CLOB object.
Parameters:
reader - the reader
maxLength - the maximum length (-1 if not known)
Returns:
the LOB
InputStream getInputStream(ValueLobDb lob, byte[] hmac, long byteCount)
Get the input stream for the given lob.
InputStream getInputStream(ValueLobDb lob, byte[] hmac, long byteCount) throws IOException
Get the input stream for the given lob.
Parameters:
lob - the lob
hmac - the message authentication code (for remote input streams)
byteCount - the number of bytes to read, or -1 if not known
Returns:
the stream
void init()
void init()
boolean isReadOnly()
boolean isReadOnly()
void removeAllForTable(int tableId)
void removeAllForTable(int tableId)
void removeLob(ValueLobDb lob)
void removeLob(ValueLobDb lob)