Class StringDataType
java.lang.Object
org.dizitart.no2.mvstore.compat.v1.mvstore.type.StringDataType
- All Implemented Interfaces:
DataType
A string type.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintCompare two keys.intEstimate the used memory in bytes.read(ByteBuffer buff) Read an object.voidread(ByteBuffer buff, Object[] obj, int len, boolean key) Read a list of objects.voidwrite(WriteBuffer buff, Object obj) Write an object.voidwrite(WriteBuffer buff, Object[] obj, int len, boolean key) Write a list of objects.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
StringDataType
public StringDataType()
-
-
Method Details
-
compare
Description copied from interface:DataTypeCompare two keys. -
getMemory
Description copied from interface:DataTypeEstimate the used memory in bytes. -
read
Description copied from interface:DataTypeRead a list of objects. -
write
Description copied from interface:DataTypeWrite a list of objects. -
read
Description copied from interface:DataTypeRead an object. -
write
Description copied from interface:DataTypeWrite an object.
-