|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.mvstore.db.ValueDataType
public class ValueDataType
A row type.
| Constructor Summary | |
|---|---|
ValueDataType(CompareMode compareMode,
DataHandler handler,
int[] sortTypes)
|
|
| Method Summary | |
|---|---|
int |
compare(java.lang.Object a,
java.lang.Object b)
Compare two keys. |
int |
getMemory(java.lang.Object obj)
Estimate the used memory in bytes. |
Value |
read(java.nio.ByteBuffer buff)
Read an object. |
void |
write(WriteBuffer buff,
java.lang.Object obj)
Write the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValueDataType(CompareMode compareMode,
DataHandler handler,
int[] sortTypes)
| Method Detail |
|---|
public int compare(java.lang.Object a,
java.lang.Object b)
DataType
compare in interface DataTypea - the first keyb - the second key
public int getMemory(java.lang.Object obj)
DataType
getMemory in interface DataTypeobj - the object
public Value read(java.nio.ByteBuffer buff)
DataType
read in interface DataTypebuff - the source buffer
public void write(WriteBuffer buff,
java.lang.Object obj)
DataType
write in interface DataTypebuff - the target bufferobj - the value
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||