Uses of Interface
org.h2.mvstore.type.DataType
-
Packages that use DataType Package Description org.h2.mvstore A persistent storage for tree maps.org.h2.mvstore.db Helper classes to use the MVStore in the H2 database.org.h2.mvstore.rtree An R-tree implementationorg.h2.mvstore.tx Helper classes to use the MVStore in a transactional manner.org.h2.mvstore.type Data types and serialization / deserializationorg.h2.util Internal utility classes. -
-
Uses of DataType in org.h2.mvstore
Classes in org.h2.mvstore that implement DataType Modifier and Type Class Description private static classMVStoreTool.GenericDataTypeA data type that can read any data that is persisted, and converts it to a byte array.Fields in org.h2.mvstore declared as DataType Modifier and Type Field Description private DataType<V>MVMap.EqualsDecisionMaker. dataTypeprivate DataType<K>MVMap.BasicBuilder. keyTypeprivate DataType<K>MVMap. keyTypeprivate DataType<V>MVMap.BasicBuilder. valueTypeprivate DataType<V>MVMap. valueTypeMethods in org.h2.mvstore that return DataType Modifier and Type Method Description DataType<K>MVMap.BasicBuilder. getKeyType()DataType<K>MVMap. getKeyType()Get the key type.DataType<K>MVMap.MapBuilder. getKeyType()DataType<V>MVMap.BasicBuilder. getValueType()DataType<V>MVMap. getValueType()Get the value type.DataType<V>MVMap.MapBuilder. getValueType()Methods in org.h2.mvstore with parameters of type DataType Modifier and Type Method Description (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)MVMap.BasicBuilder<M,K,V>MVMap.BasicBuilder. keyType(DataType<? super K> keyType)Set the key data type.MVMap.Builder<K,V>MVMap.Builder. keyType(DataType<? super K> dataType)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)MVMap.BasicBuilder<M,K,V>MVMap.BasicBuilder. valueType(DataType<? super V> valueType)Set the value data type.MVMap.Builder<K,V>MVMap.Builder. valueType(DataType<? super V> dataType)Constructors in org.h2.mvstore with parameters of type DataType Constructor Description EqualsDecisionMaker(DataType<V> dataType, V expectedValue)MVMap(java.util.Map<java.lang.String,java.lang.Object> config, DataType<K> keyType, DataType<V> valueType)MVMap(MVStore store, int id, DataType<K> keyType, DataType<V> valueType)MVMap(MVStore store, DataType<K> keyType, DataType<V> valueType, int id, long createVersion, java.util.concurrent.atomic.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 DataType Modifier and Type Class Description static classLobStorageMap.BlobMeta.Typestatic classLobStorageMap.BlobReference.TypeclassNullValueDataTypeDummy data type used when no value is required.classRowDataTypeThe data type for rows.classValueDataTypeA row type.Fields in org.h2.mvstore.db declared as DataType Modifier and Type Field Description private DataType<SearchRow>MVSecondaryIndex.Source.Comparator. typeMethods in org.h2.mvstore.db that return DataType Modifier and Type Method Description DataType<?>ValueDataType.Factory. create(java.nio.ByteBuffer buff, MetaType<Database> metaType, Database database)Constructors in org.h2.mvstore.db with parameters of type DataType Constructor Description Comparator(DataType<SearchRow> type) -
Uses of DataType in org.h2.mvstore.rtree
Classes in org.h2.mvstore.rtree that implement DataType Modifier and Type Class Description classSpatialDataTypeA spatial data type.Methods in org.h2.mvstore.rtree with parameters of type DataType Modifier and Type Method Description MVRTreeMap.Builder<V>MVRTreeMap.Builder. valueType(DataType<? super V> valueType)Set the key data type.Constructors in org.h2.mvstore.rtree with parameters of type DataType Constructor Description MVRTreeMap(java.util.Map<java.lang.String,java.lang.Object> config, SpatialDataType keyType, DataType<V> valueType) -
Uses of DataType in org.h2.mvstore.tx
Classes in org.h2.mvstore.tx that implement DataType Modifier and Type Class Description (package private) static 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 DataType Modifier and Type Field Description private DataType<?>TransactionStore. dataTypeprivate DataTypeTransactionStore.TxMapBuilder. defaultDataTypeprivate DataType<K>TransactionMap.RepeatableIterator. keyTypeprivate DataType<VersionedValue<V>>TxDecisionMaker.RepeatableReadLockDecisionMaker. valueTypeprivate DataType<T>VersionedValueType. valueTypeFields in org.h2.mvstore.tx with type parameters of type DataType Modifier and Type Field Description private MVMap<java.lang.String,DataType<?>>TransactionStore.TxMapBuilder. typeRegistryprivate MVMap<java.lang.String,DataType<?>>TransactionStore. typeRegistryMethods in org.h2.mvstore.tx that return DataType Modifier and Type Method Description DataType<?>VersionedValueType.Factory. create(java.nio.ByteBuffer buff, MetaType<D> metaType, D database)DataType<K>TransactionMap. getKeyType()Methods in org.h2.mvstore.tx that return types with arguments of type DataType Modifier and Type Method Description private static MVMap<java.lang.String,DataType<?>>TransactionStore. openTypeRegistry(MVStore store, MetaType<?> metaDataType)Methods in org.h2.mvstore.tx with parameters of type DataType Modifier and Type Method Description (package private) static java.lang.StringTransactionStore.TxMapBuilder. getDataTypeRegistrationKey(DataType<?> dataType)<K,V>
TransactionMap<K,V>Transaction. openMap(java.lang.String name, DataType<K> keyType, DataType<V> valueType)Open the map to store the data.<K,V>
MVMap<K,V>TransactionStore. openMap(java.lang.String name, DataType<K> keyType, DataType<V> valueType)Open the map with the given name.(package private) <K,V>
MVMap<K,VersionedValue<V>>TransactionStore. openVersionedMap(java.lang.String name, DataType<K> keyType, DataType<V> valueType)private voidTransactionStore.TxMapBuilder. registerDataType(DataType<?> dataType)Constructors in org.h2.mvstore.tx with parameters of type DataType Constructor Description RepeatableReadLockDecisionMaker(int mapId, Transaction transaction, DataType<VersionedValue<V>> valueType, java.util.function.Function<K,V> snapshotValueSupplier)TMVMap(java.util.Map<java.lang.String,java.lang.Object> config, DataType<K> keyType, DataType<V> valueType)TransactionStore(MVStore store, DataType<?> dataType)TransactionStore(MVStore store, MetaType<?> metaDataType, DataType<?> dataType, int timeoutMillis)Create a new transaction store.TxMapBuilder(MVMap<java.lang.String,DataType<?>> typeRegistry, DataType<?> defaultDataType)VersionedValueType(DataType<T> valueType)Constructor parameters in org.h2.mvstore.tx with type arguments of type DataType Constructor Description TxMapBuilder(MVMap<java.lang.String,DataType<?>> typeRegistry, DataType<?> defaultDataType) -
Uses of DataType in org.h2.mvstore.type
Classes in org.h2.mvstore.type that implement DataType Modifier and Type Class Description classBasicDataType<T>The base class for data type implementations.classByteArrayDataTypeClass ByteArrayDataType.classLongDataTypeClass LongDataType.classMetaType<D>Class DBMetaType is a type for values in the type registry map.classObjectDataTypeA data type implementation for the most common data types, including serializable objects.(package private) static classObjectDataType.AutoDetectDataType<T>The base class for auto-detect data types.(package private) static classObjectDataType.BigDecimalTypeThe type for BigDecimal objects.(package private) static classObjectDataType.BigIntegerTypeThe type for BigInteger objects.(package private) static classObjectDataType.BooleanTypeThe type for boolean true and false.(package private) static classObjectDataType.ByteTypeThe type for byte objects.(package private) static classObjectDataType.CharacterTypeThe type for character objects.(package private) static classObjectDataType.DateTypeThe type for java.util.Date objects.(package private) static classObjectDataType.DoubleTypeThe type for double objects.(package private) static classObjectDataType.FloatTypeThe type for float objects.(package private) static classObjectDataType.IntegerTypeThe type for integer objects.(package private) static classObjectDataType.LongTypeThe type for long objects.(package private) static classObjectDataType.NullTypeThe type for the null value(package private) static classObjectDataType.ObjectArrayTypeThe type for object arrays.(package private) static classObjectDataType.SerializedObjectTypeThe type for serialized objects.(package private) static classObjectDataType.ShortTypeThe type for short objects.(package private) static classObjectDataType.StringTypeThe type for string objects.(package private) static classObjectDataType.UUIDTypeThe type for UUID objects.classStringDataTypeA string type.Methods in org.h2.mvstore.type that return DataType Modifier and Type Method Description DataType<?>StatefulDataType.Factory. create(java.nio.ByteBuffer buff, MetaType<D> metaDataType, D database)Reads the data type.DataType<?>[]MetaType. createStorage(int size)(package private) DataType<java.lang.Object>ObjectDataType.AutoDetectDataType. getType(java.lang.Object o)Get the type for the given object.DataType<?>MetaType. read(java.nio.ByteBuffer buff)Methods in org.h2.mvstore.type with parameters of type DataType Modifier and Type Method Description intMetaType. compare(DataType<?> a, DataType<?> b)intMetaType. getMemory(DataType<?> obj)voidMetaType. write(WriteBuffer buff, DataType<?> obj) -
Uses of DataType in org.h2.util
Methods in org.h2.util with parameters of type DataType Modifier and Type Method Description static <T> intMemoryEstimator. estimateMemory(java.util.concurrent.atomic.AtomicLong stats, DataType<T> dataType, T data)Estimates memory size of the data based on previous values.static <T> intMemoryEstimator. estimateMemory(java.util.concurrent.atomic.AtomicLong stats, DataType<T> dataType, T[] storage, int count)Estimates memory size of the data set based on previous values.
-