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 class
MVStoreTool.GenericDataType
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 DataType Modifier and Type Field Description private DataType<V>
MVMap.EqualsDecisionMaker. dataType
private DataType<K>
MVMap.BasicBuilder. keyType
private DataType<K>
MVMap. keyType
private DataType<V>
MVMap.BasicBuilder. valueType
private DataType<V>
MVMap. valueType
Methods 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> 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)
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)
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)
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 class
LobStorageMap.BlobMeta.Type
static class
LobStorageMap.BlobReference.Type
class
NullValueDataType
Dummy data type used when no value is required.class
RowDataType
The data type for rows.class
ValueDataType
A row type.Fields in org.h2.mvstore.db declared as DataType Modifier and Type Field Description private DataType<SearchRow>
MVSecondaryIndex.Source.Comparator. type
Methods 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 class
SpatialDataType
A 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 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 DataType Modifier and Type Field Description private DataType<?>
TransactionStore. dataType
private DataType
TransactionStore.TxMapBuilder. defaultDataType
private DataType<K>
TransactionMap.RepeatableIterator. keyType
private DataType<VersionedValue<V>>
TxDecisionMaker.RepeatableReadLockDecisionMaker. valueType
private DataType<T>
VersionedValueType. valueType
Fields in org.h2.mvstore.tx with type parameters of type DataType Modifier and Type Field Description private MVMap<java.lang.String,DataType<?>>
TransactionStore.TxMapBuilder. typeRegistry
private MVMap<java.lang.String,DataType<?>>
TransactionStore. typeRegistry
Methods 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.String
TransactionStore.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 void
TransactionStore.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 class
BasicDataType<T>
The base class for data type implementations.class
ByteArrayDataType
Class ByteArrayDataType.class
LongDataType
Class LongDataType.class
MetaType<D>
Class DBMetaType is a type for values in the type registry map.class
ObjectDataType
A data type implementation for the most common data types, including serializable objects.(package private) static class
ObjectDataType.AutoDetectDataType<T>
The base class for auto-detect data types.(package private) static class
ObjectDataType.BigDecimalType
The type for BigDecimal objects.(package private) static class
ObjectDataType.BigIntegerType
The type for BigInteger objects.(package private) static class
ObjectDataType.BooleanType
The type for boolean true and false.(package private) static class
ObjectDataType.ByteType
The type for byte objects.(package private) static class
ObjectDataType.CharacterType
The type for character objects.(package private) static class
ObjectDataType.DateType
The type for java.util.Date objects.(package private) static class
ObjectDataType.DoubleType
The type for double objects.(package private) static class
ObjectDataType.FloatType
The type for float objects.(package private) static class
ObjectDataType.IntegerType
The type for integer objects.(package private) static class
ObjectDataType.LongType
The type for long objects.(package private) static class
ObjectDataType.NullType
The type for the null value(package private) static class
ObjectDataType.ObjectArrayType
The type for object arrays.(package private) static class
ObjectDataType.SerializedObjectType
The type for serialized objects.(package private) static class
ObjectDataType.ShortType
The type for short objects.(package private) static class
ObjectDataType.StringType
The type for string objects.(package private) static class
ObjectDataType.UUIDType
The type for UUID objects.class
StringDataType
A 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 int
MetaType. compare(DataType<?> a, DataType<?> b)
int
MetaType. getMemory(DataType<?> obj)
void
MetaType. 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> int
MemoryEstimator. estimateMemory(java.util.concurrent.atomic.AtomicLong stats, DataType<T> dataType, T data)
Estimates memory size of the data based on previous values.static <T> int
MemoryEstimator. 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.
-