
public interface OWALChanges
| Modifier and Type | Method and Description |
|---|---|
void |
applyChanges(ByteBuffer buffer)
Apply the changes to a page.
|
int |
fromStream(int offset,
byte[] stream)
Read changes from a stream.
|
byte[] |
getBinaryValue(ByteBuffer buffer,
int offset,
int len) |
byte |
getByteValue(ByteBuffer buffer,
int offset) |
int |
getIntValue(ByteBuffer buffer,
int offset) |
long |
getLongValue(ByteBuffer buffer,
int offset) |
short |
getShortValue(ByteBuffer buffer,
int offset) |
boolean |
hasChanges() |
void |
moveData(ByteBuffer buffer,
int from,
int to,
int len) |
int |
serializedSize()
Return the size of byte array is needed to serialize all data in it.
|
void |
setBinaryValue(ByteBuffer buffer,
byte[] value,
int offset) |
void |
setByteValue(ByteBuffer buffer,
byte value,
int offset) |
void |
setIntValue(ByteBuffer buffer,
int value,
int offset) |
void |
setLongValue(ByteBuffer buffer,
long value,
int offset) |
void |
setShortValue(ByteBuffer buffer,
short value,
int offset) |
void |
toStream(ByteBuffer byteBuffer) |
int |
toStream(int offset,
byte[] stream)
Serialize the changes to a stream.
|
byte getByteValue(ByteBuffer buffer, int offset)
byte[] getBinaryValue(ByteBuffer buffer, int offset, int len)
short getShortValue(ByteBuffer buffer, int offset)
int getIntValue(ByteBuffer buffer, int offset)
long getLongValue(ByteBuffer buffer, int offset)
void setLongValue(ByteBuffer buffer, long value, int offset)
void setIntValue(ByteBuffer buffer, int value, int offset)
void setShortValue(ByteBuffer buffer, short value, int offset)
void setByteValue(ByteBuffer buffer, byte value, int offset)
void setBinaryValue(ByteBuffer buffer, byte[] value, int offset)
void moveData(ByteBuffer buffer, int from, int to, int len)
boolean hasChanges()
void applyChanges(ByteBuffer buffer)
buffer - Presents page where apply the changes.int serializedSize()
int toStream(int offset,
byte[] stream)
offset - starting writing offset for the provided buffer.stream - buffer where write the content, should be of minimal size of offset+ @{link @serializedSize()}void toStream(ByteBuffer byteBuffer)
int fromStream(int offset,
byte[] stream)
offset - the offset in the buffer where start to read.stream - the buffer to read.Copyright © 2009–2025 OrientDB. All rights reserved.