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 classA 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.dataTypeMVMap.BasicBuilder.keyTypeMVMap.keyTypeMVMap.BasicBuilder.valueTypeMVMap.valueTypeMethods 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> booleanMVMap.areValuesEqual(DataType<X> datatype, X a, X b) Check whether the two values are equal.private static <T> intMVMap.calculateMemory(DataType<T> keyType, T[] storage, int count) Set the key data type.voidMVMap.BasicBuilder.setKeyType(DataType<? super K> keyType) voidMVMap.MapBuilder.setKeyType(DataType<? super K> dataType) voidMVMap.BasicBuilder.setValueType(DataType<? super V> valueType) voidMVMap.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)privateMVMap(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 classstatic final classfinal classDummy data type used when no value is required.final classThe data type for rows.final classA 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 classRecord.Type<K,V> A data type for undo log valuesclassVersionedValueType<T,D> The value type for a versioned value.Fields in org.h2.mvstore.tx declared as DataTypeModifier and TypeFieldDescriptionprivate final DataType<?> TransactionStore.dataTypeprivate final DataTypeTransactionStore.TxMapBuilder.defaultDataTypeTransactionMap.RepeatableIterator.keyTypeprivate final DataType<VersionedValue<V>> TxDecisionMaker.RepeatableReadLockDecisionMaker.valueTypeVersionedValueType.valueTypeFields in org.h2.mvstore.tx with type parameters of type DataTypeModifier and TypeFieldDescriptionTransactionStore.TxMapBuilder.typeRegistryTransactionStore.typeRegistryMethods 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 StringTransactionStore.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 voidTransactionStore.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 TypeClassDescriptionclassThe base class for data type implementations.final classClass ByteArrayDataType.classClass LongDataType.final classMetaType<D>Class DBMetaType is a type for values in the type registry map.classA data type implementation for the most common data types, including serializable objects.(package private) static classThe base class for auto-detect data types.(package private) static classThe type for BigDecimal objects.(package private) static classThe type for BigInteger objects.(package private) static classThe type for boolean true and false.(package private) static classThe type for byte objects.(package private) static classThe type for character objects.(package private) static classThe type for java.util.Date objects.(package private) static classThe type for double objects.(package private) static classThe type for float objects.(package private) static classThe type for integer objects.(package private) static classThe type for long objects.(package private) static classThe type for the null value(package private) static classThe type for object arrays.(package private) static classThe type for serialized objects.(package private) static classThe type for short objects.(package private) static classThe type for string objects.(package private) static classThe type for UUID objects.classA 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> intMemoryEstimator.estimateMemory(AtomicLong stats, DataType<T> dataType, T data) Estimates memory size of the data based on previous values.static <T> intMemoryEstimator.estimateMemory(AtomicLong stats, DataType<T> dataType, T[] storage, int count) Estimates memory size of the data set based on previous values.