|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Ref
An interface that represents a reference to a object that isn't stored in main memory. The reference to the object is made through the id value returned by the 'getID' method.
Method Summary | |
---|---|
void |
complete()
This method is called when the write phrase has completed, and it marks this large object as complete. |
long |
getID()
An id used to reference this object in the context of the database. |
long |
getRawSize()
The 'raw' size of this large object in bytes when it is in its byte[] form. |
byte |
getType()
The type of large object that is being referenced. |
void |
read(long offset,
byte[] buf,
int length)
Reads a part of this large object from the store into the given byte buffer. |
void |
write(long offset,
byte[] buf,
int length)
This method is used to write the contents of the large object into the backing store. |
Method Detail |
---|
long getID()
byte getType()
long getRawSize()
void read(long offset, byte[] buf, int length) throws java.io.IOException
java.io.IOException
void write(long offset, byte[] buf, int length) throws java.io.IOException
java.io.IOException
void complete() throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |