public class ValueDataType extends Object implements org.h2.mvstore.type.DataType
| Constructor and Description |
|---|
ValueDataType(DocumentNodeStore docNodeStore,
DocumentStore docStore,
CacheType type) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object a,
Object b) |
int |
getMemory(Object obj) |
Object |
read(ByteBuffer buff) |
void |
read(ByteBuffer buff,
Object[] obj,
int len,
boolean key) |
void |
write(org.h2.mvstore.WriteBuffer buff,
Object obj) |
void |
write(org.h2.mvstore.WriteBuffer buff,
Object[] obj,
int len,
boolean key) |
public ValueDataType(DocumentNodeStore docNodeStore, DocumentStore docStore, CacheType type)
public int compare(Object a, Object b)
compare in interface org.h2.mvstore.type.DataTypepublic int getMemory(Object obj)
getMemory in interface org.h2.mvstore.type.DataTypepublic void write(org.h2.mvstore.WriteBuffer buff,
Object obj)
write in interface org.h2.mvstore.type.DataTypepublic Object read(ByteBuffer buff)
read in interface org.h2.mvstore.type.DataTypepublic void write(org.h2.mvstore.WriteBuffer buff,
Object[] obj,
int len,
boolean key)
write in interface org.h2.mvstore.type.DataTypepublic void read(ByteBuffer buff, Object[] obj, int len, boolean key)
read in interface org.h2.mvstore.type.DataTypeCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.