Package org.h2.mvstore.type
Interface StatefulDataType<D>
- Type Parameters:
D
- type of opaque parameter passed as an operational context to Factory.create()
- All Known Implementing Classes:
RowDataType
,ValueDataType
,VersionedValueType
public interface StatefulDataType<D>
A data type that allows to save its state.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
A factory for data types. -
Method Summary
Modifier and TypeMethodDescriptionvoid
save
(WriteBuffer buff, MetaType<D> metaType) Save the state.
-
Method Details
-
save
Save the state.- Parameters:
buff
- the target buffermetaType
- the meta type
-
getFactory
StatefulDataType.Factory<D> getFactory()
-