|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.mvstore.type.StringDataType
public class StringDataType
A string type.
| Field Summary | |
|---|---|
static StringDataType |
INSTANCE
|
| Constructor Summary | |
|---|---|
StringDataType()
|
|
| 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. |
java.lang.String |
read(java.nio.ByteBuffer buff)
Read an object. |
java.nio.ByteBuffer |
write(java.nio.ByteBuffer 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 |
| Field Detail |
|---|
public static final StringDataType INSTANCE
| Constructor Detail |
|---|
public StringDataType()
| 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 java.lang.String read(java.nio.ByteBuffer buff)
DataType
read in interface DataTypebuff - the source buffer
public java.nio.ByteBuffer write(java.nio.ByteBuffer 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 | |||||||