Uses of Interface
org.h2.mvstore.type.DataType
Packages that use DataType
Package
Description
A persistent storage for tree maps.
Helper classes to use the MVStore in the H2 database.
An R-tree implementation
Helper classes to use the MVStore in a transactional manner.
Data types and serialization / deserialization
Internal utility classes.
-
Uses of DataType in org.h2.mvstore
Classes in org.h2.mvstore that implement DataTypeModifier and TypeClassDescriptionprivate static class
A data type that can read any data that is persisted, and converts it to a byte array.Fields in org.h2.mvstore declared as DataTypeModifier and TypeFieldDescriptionMVMap.EqualsDecisionMaker.dataType
MVMap.BasicBuilder.keyType
MVMap.keyType
MVMap.BasicBuilder.valueType
MVMap.valueType
Methods in org.h2.mvstore that return DataTypeModifier and TypeMethodDescriptionMVMap.BasicBuilder.getKeyType()
MVMap.getKeyType()
Get the key type.MVMap.MapBuilder.getKeyType()
MVMap.BasicBuilder.getValueType()
MVMap.getValueType()
Get the value type.MVMap.MapBuilder.getValueType()
Methods in org.h2.mvstore with parameters of type DataTypeModifier and TypeMethodDescription(package private) static <X> boolean
MVMap.areValuesEqual
(DataType<X> datatype, X a, X b) Check whether the two values are equal.private static <T> int
MVMap.calculateMemory
(DataType<T> keyType, T[] storage, int count) Set the key data type.void
MVMap.BasicBuilder.setKeyType
(DataType<? super K> keyType) void
MVMap.MapBuilder.setKeyType
(DataType<? super K> dataType) void
MVMap.BasicBuilder.setValueType
(DataType<? super V> valueType) void
MVMap.MapBuilder.setValueType
(DataType<? super V> dataType) Set the value data type.Constructors in org.h2.mvstore with parameters of type DataTypeModifierConstructorDescription(package private)
EqualsDecisionMaker
(DataType<V> dataType, V expectedValue) protected
(package private)
private
MVMap
(MVStore store, DataType<K> keyType, DataType<V> valueType, int id, long createVersion, AtomicReference<RootReference<K, V>> root, int keysPerPage, boolean singleWriter) -
Uses of DataType in org.h2.mvstore.db
Classes in org.h2.mvstore.db that implement DataTypeModifier and TypeClassDescriptionstatic final class
static final class
final class
Dummy data type used when no value is required.final class
The data type for rows.final class
A row type.Fields in org.h2.mvstore.db declared as DataTypeMethods in org.h2.mvstore.db that return DataTypeModifier and TypeMethodDescriptionDataType
<?> ValueDataType.Factory.create
(ByteBuffer buff, MetaType<Database> metaType, Database database) Constructors in org.h2.mvstore.db with parameters of type DataType -
Uses of DataType in org.h2.mvstore.rtree
Classes in org.h2.mvstore.rtree that implement DataTypeMethods in org.h2.mvstore.rtree with parameters of type DataTypeModifier and TypeMethodDescriptionSet the key data type.Constructors in org.h2.mvstore.rtree with parameters of type DataTypeModifierConstructorDescriptionMVRTreeMap
(Map<String, Object> config, SpatialDataType keyType, DataType<V> valueType) -
Uses of DataType in org.h2.mvstore.tx
Classes in org.h2.mvstore.tx that implement DataTypeModifier and TypeClassDescription(package private) static final class
Record.Type<K,
V> A data type for undo log valuesclass
VersionedValueType<T,
D> The value type for a versioned value.Fields in org.h2.mvstore.tx declared as DataTypeModifier and TypeFieldDescriptionprivate final DataType
<?> TransactionStore.dataType
private final DataType
TransactionStore.TxMapBuilder.defaultDataType
TransactionMap.RepeatableIterator.keyType
private final DataType
<VersionedValue<V>> TxDecisionMaker.RepeatableReadLockDecisionMaker.valueType
VersionedValueType.valueType
Fields in org.h2.mvstore.tx with type parameters of type DataTypeModifier and TypeFieldDescriptionTransactionStore.TxMapBuilder.typeRegistry
TransactionStore.typeRegistry
Methods in org.h2.mvstore.tx that return DataTypeModifier and TypeMethodDescriptionDataType
<?> VersionedValueType.Factory.create
(ByteBuffer buff, MetaType<D> metaType, D database) TransactionMap.getKeyType()
Methods in org.h2.mvstore.tx that return types with arguments of type DataTypeModifier and TypeMethodDescriptionTransactionStore.openTypeRegistry
(MVStore store, MetaType<?> metaDataType) Methods in org.h2.mvstore.tx with parameters of type DataTypeModifier and TypeMethodDescription(package private) static String
TransactionStore.TxMapBuilder.getDataTypeRegistrationKey
(DataType<?> dataType) <K,
V> TransactionMap <K, V> Open the map to store the data.<K,
V> MVMap <K, V> Open the map with the given name.(package private) <K,
V> MVMap <K, VersionedValue<V>> TransactionStore.openVersionedMap
(String name, DataType<K> keyType, DataType<V> valueType) private void
TransactionStore.TxMapBuilder.registerDataType
(DataType<?> dataType) Constructors in org.h2.mvstore.tx with parameters of type DataTypeModifierConstructorDescription(package private)
RepeatableReadLockDecisionMaker
(int mapId, Transaction transaction, DataType<VersionedValue<V>> valueType, Function<K, V> snapshotValueSupplier) (package private)
TransactionStore
(MVStore store, DataType<?> dataType) TransactionStore
(MVStore store, MetaType<?> metaDataType, DataType<?> dataType, int timeoutMillis) Create a new transaction store.(package private)
TxMapBuilder
(MVMap<String, DataType<?>> typeRegistry, DataType<?> defaultDataType) VersionedValueType
(DataType<T> valueType) Constructor parameters in org.h2.mvstore.tx with type arguments of type DataTypeModifierConstructorDescription(package private)
TxMapBuilder
(MVMap<String, DataType<?>> typeRegistry, DataType<?> defaultDataType) -
Uses of DataType in org.h2.mvstore.type
Classes in org.h2.mvstore.type that implement DataTypeModifier and TypeClassDescriptionclass
The base class for data type implementations.final class
Class ByteArrayDataType.class
Class LongDataType.final class
MetaType<D>
Class DBMetaType is a type for values in the type registry map.class
A data type implementation for the most common data types, including serializable objects.(package private) static class
The base class for auto-detect data types.(package private) static class
The type for BigDecimal objects.(package private) static class
The type for BigInteger objects.(package private) static class
The type for boolean true and false.(package private) static class
The type for byte objects.(package private) static class
The type for character objects.(package private) static class
The type for java.util.Date objects.(package private) static class
The type for double objects.(package private) static class
The type for float objects.(package private) static class
The type for integer objects.(package private) static class
The type for long objects.(package private) static class
The type for the null value(package private) static class
The type for object arrays.(package private) static class
The type for serialized objects.(package private) static class
The type for short objects.(package private) static class
The type for string objects.(package private) static class
The type for UUID objects.class
A string type.Methods in org.h2.mvstore.type that return DataTypeModifier and TypeMethodDescriptionDataType
<?> StatefulDataType.Factory.create
(ByteBuffer buff, MetaType<D> metaDataType, D database) Reads the data type.DataType<?>[]
MetaType.createStorage
(int size) Get the type for the given object.DataType
<?> MetaType.read
(ByteBuffer buff) Methods in org.h2.mvstore.type with parameters of type DataType -
Uses of DataType in org.h2.util
Methods in org.h2.util with parameters of type DataTypeModifier and TypeMethodDescriptionstatic <T> int
MemoryEstimator.estimateMemory
(AtomicLong stats, DataType<T> dataType, T data) Estimates memory size of the data based on previous values.static <T> int
MemoryEstimator.estimateMemory
(AtomicLong stats, DataType<T> dataType, T[] storage, int count) Estimates memory size of the data set based on previous values.