Uses of Class
org.h2.value.DataType
Packages that use DataType
Package
Description
This package contains the parser and the base classes for prepared SQL statements.
Contains high level classes of the database and classes that don't fit in another sub-package.
Data type and value implementations.
-
Uses of DataType in org.h2.command
Methods in org.h2.command with parameters of type DataTypeModifier and TypeMethodDescriptionprivate static DbException
Parser.getInvalidPrecisionException
(DataType dataType, long precision) -
Uses of DataType in org.h2.engine
Fields in org.h2.engine with type parameters of type DataTypeModifier and TypeFieldDescriptionMode.typeByNameMap
Custom mappings from type names to data types. -
Uses of DataType in org.h2.value
Fields in org.h2.value declared as DataTypeModifier and TypeFieldDescription(package private) static final DataType[]
DataType.TYPES_BY_VALUE_TYPE
Mapping from Value type numbers to DataType.Fields in org.h2.value with type parameters of type DataTypeMethods in org.h2.value that return DataTypeModifier and TypeMethodDescriptionprivate static DataType
DataType.createBinary
(boolean fixedLength) static DataType
DataType.createDate
(int maxPrecision, int precision, String prefix, boolean supportsScale, int scale, int maxScale) Create a date-time data type.private static DataType
DataType.createGeometry()
private static DataType
DataType.createLob
(boolean clob) static DataType
DataType.createNumeric
(int precision, int scale) Create a numeric data type without parameters.private static DataType
DataType.createString
(boolean caseSensitive, boolean fixedLength) private static DataType
DataType.createString
(boolean caseSensitive, boolean fixedLength, String prefix, String suffix) static DataType
DataType.getDataType
(int type) Get the data type object for the given value type.static DataType
DataType.getTypeByName
(String s, Mode mode) Get a data type object from a type name.Methods in org.h2.value with parameters of type DataType