| Constructor and Description |
|---|
ValueDataType(CompareMode compareMode,
DataHandler handler,
int[] sortTypes) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.Object a,
java.lang.Object b)
Compare two keys.
|
boolean |
equals(java.lang.Object obj) |
int |
getMemory(java.lang.Object obj)
Estimate the used memory in bytes.
|
int |
hashCode() |
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.
|
public ValueDataType(CompareMode compareMode, DataHandler handler, int[] sortTypes)
public int compare(java.lang.Object a,
java.lang.Object b)
DataTypepublic int getMemory(java.lang.Object obj)
DataTypepublic void read(java.nio.ByteBuffer buff,
java.lang.Object[] obj,
int len,
boolean key)
DataTypepublic void write(WriteBuffer buff, java.lang.Object[] obj, int len, boolean key)
DataTypepublic java.lang.Object read(java.nio.ByteBuffer buff)
DataTypepublic void write(WriteBuffer buff, java.lang.Object obj)
DataTypepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object