Modifier and Type | Method and Description |
---|---|
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.
|
long getID()
byte getType()
long getRawSize()
void read(long offset, byte[] buf, int length) throws IOException
IOException
void write(long offset, byte[] buf, int length) throws IOException
IOException
void complete() throws IOException
IOException
Copyright © 2015. All rights reserved.