|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.mvstore.db.TransactionStore.ArrayType
public static class TransactionStore.ArrayType
A data type that contains an array of objects with the specified data types.
Method Summary | |
---|---|
int |
compare(java.lang.Object aObj,
java.lang.Object bObj)
Compare two keys. |
int |
getMemory(java.lang.Object obj)
Estimate the used memory in bytes. |
java.lang.Object |
read(java.nio.ByteBuffer buff)
Read an object. |
void |
read(java.nio.ByteBuffer buff,
java.lang.Object[] obj,
int len,
boolean key)
Read a list of objects. |
void |
write(WriteBuffer buff,
java.lang.Object obj)
Write an object. |
void |
write(WriteBuffer buff,
java.lang.Object[] obj,
int len,
boolean key)
Write a list of objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getMemory(java.lang.Object obj)
DataType
getMemory
in interface DataType
obj
- the object
public int compare(java.lang.Object aObj, java.lang.Object bObj)
DataType
compare
in interface DataType
aObj
- the first keybObj
- the second key
public void read(java.nio.ByteBuffer buff, java.lang.Object[] obj, int len, boolean key)
DataType
read
in interface DataType
buff
- the target bufferobj
- the objectslen
- the number of objects to readkey
- whether the objects are keyspublic void write(WriteBuffer buff, java.lang.Object[] obj, int len, boolean key)
DataType
write
in interface DataType
buff
- the target bufferobj
- the objectslen
- the number of objects to writekey
- whether the objects are keyspublic void write(WriteBuffer buff, java.lang.Object obj)
DataType
write
in interface DataType
buff
- the target bufferobj
- the valuepublic java.lang.Object read(java.nio.ByteBuffer buff)
DataType
read
in interface DataType
buff
- the source buffer
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |