Package org.h2.mvstore.db
Class ValueDataType.Factory
java.lang.Object
org.h2.mvstore.db.ValueDataType.Factory
- All Implemented Interfaces:
StatefulDataType.Factory<Database>
- Enclosing class:
ValueDataType
public static final class ValueDataType.Factory
extends Object
implements StatefulDataType.Factory<Database>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDataType
<?> create
(ByteBuffer buff, MetaType<Database> metaType, Database database) Reads the data type.private static int[]
readIntArray
(ByteBuffer buff)
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
create
Description copied from interface:StatefulDataType.Factory
Reads the data type.- Specified by:
create
in interfaceStatefulDataType.Factory<Database>
- Parameters:
buff
- the buffer the source buffermetaType
- the typedatabase
- the database- Returns:
- the data type
-
readIntArray
-