|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface LobStorageInterface
A mechanism to store and retrieve lob data.
| Method Summary | |
|---|---|
ValueLobDb |
copyLob(int type,
long oldLobId,
int tableId,
long length)
Copy a lob. |
Value |
createBlob(java.io.InputStream in,
long maxLength)
Create a BLOB object. |
Value |
createClob(java.io.Reader reader,
long maxLength)
Create a CLOB object. |
java.io.InputStream |
getInputStream(long lobId,
byte[] hmac,
long byteCount)
Get the input stream for the given lob. |
void |
removeLob(long lob)
Delete a LOB from the database. |
void |
setTable(long lobId,
int table)
Set the table reference of this lob. |
| Method Detail |
|---|
Value createClob(java.io.Reader reader,
long maxLength)
reader - the readermaxLength - the maximum length (-1 if not known)
Value createBlob(java.io.InputStream in,
long maxLength)
in - the input streammaxLength - the maximum length (-1 if not known)
ValueLobDb copyLob(int type,
long oldLobId,
int tableId,
long length)
type - the typeoldLobId - the old lob idtableId - the new table idlength - the length
java.io.InputStream getInputStream(long lobId,
byte[] hmac,
long byteCount)
throws java.io.IOException
lobId - the lob idhmac - the message authentication code (for remote input streams)byteCount - the number of bytes to read, or -1 if not known
java.io.IOException
void setTable(long lobId,
int table)
lobId - the lobtable - the tablevoid removeLob(long lob)
lob - the lob id
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||