|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Manages the CLOB operations.
CLOBValue
Field Summary |
Fields inherited from interface ssdbms.ssd.SSDValue |
BLOB, BYTE_SEQUENCE, CLOB, INTEGER, NON_PRIMITIVE, REAL, STRING |
Method Summary | |
long |
length()
Returns the lenght in characters of the storaged object. |
java.lang.String |
read(long pos,
int size)
Reads the CLOB from a given position. |
void |
setLength(long length)
Resizes the CLOB to the given length (in characters). |
int |
write(long pos,
java.lang.String content)
Writes a string in the CLOB from a given position. |
int |
write(long pos,
java.lang.String content,
int offset,
int length)
Writes in the CLOB from a given position. |
Method Detail |
public java.lang.String read(long pos, int size) throws OutOfBoundsException, BadFunctionException, FatalErrorException
pos
- The position of the CLOB from which it begins to read.size
- The size of the string to be readed.
OutOfBoundsException
BadFunctionException
FatalErrorException
public int write(long pos, java.lang.String content) throws OutOfBoundsException, BadFunctionException, FatalErrorException
pos
- The position of the CLOB from which it begins to write.content
- The string to write.
OutOfBoundsException
BadFunctionException
FatalErrorException
public int write(long pos, java.lang.String content, int offset, int length) throws OutOfBoundsException, BadFunctionException, FatalErrorException
pos
- The position of the CLOB from which it begins to write.content
- The string contains the substring to write in the CLOB.offset
- The start offset of content
.length
- The maximum number of characters to write.
OutOfBoundsException
BadFunctionException
FatalErrorException
public void setLength(long length) throws OutOfBoundsException, BadFunctionException, FatalErrorException
length
- The new length of the CLOB.
OutOfBoundsException
BadFunctionException
FatalErrorException
public long length() throws BadFunctionException, FatalErrorException
BadFunctionException
FatalErrorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |