Constructor and Description |
---|
ValueDataType(CompareMode compareMode,
DataHandler handler,
int[] sortTypes) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object a,
Object b)
Compare two keys.
|
boolean |
equals(Object obj) |
int |
getMemory(Object obj)
Estimate the used memory in bytes.
|
int |
hashCode() |
Object |
read(ByteBuffer buff)
Read an object.
|
void |
read(ByteBuffer buff,
Object[] obj,
int len,
boolean key)
Read a list of objects.
|
void |
write(WriteBuffer buff,
Object obj)
Write an object.
|
void |
write(WriteBuffer buff,
Object[] obj,
int len,
boolean key)
Write a list of objects.
|
public ValueDataType(CompareMode compareMode, DataHandler handler, int[] sortTypes)
public int compare(Object a, Object b)
DataType
public int getMemory(Object obj)
DataType
public void read(ByteBuffer buff, Object[] obj, int len, boolean key)
DataType
public void write(WriteBuffer buff, Object[] obj, int len, boolean key)
DataType
public Object read(ByteBuffer buff)
DataType
public void write(WriteBuffer buff, Object obj)
DataType
Copyright © 2017 JBoss by Red Hat. All rights reserved.