Uses of Class
org.h2.value.TypeInfo
Packages that use TypeInfo
Package
Description
Contains DDL (data definition language) and related SQL statements.
Contains queries.
Database constraints such as check constraints, unique constraints, and referential constraints.
Expressions include mathematical operations, simple values, and others.
Aggregate functions.
Base classes for data analysis operations and implementations of window functions.
Condition expressions.
Functions.
Utility classes for compatibility with other database, for example MySQL.
Helper classes to use the MVStore in the H2 database.
Implementation of row and internal result sets.
Schema implementation and objects that are stored in a schema (for example, sequences and constants).
PostgreSQL server implementation of this database.
Classes related to a table and table meta data.
Internal utility classes.
Data type and value implementations.
-
Uses of TypeInfo in org.h2.command.ddl
Methods in org.h2.command.ddl that return TypeInfoMethods in org.h2.command.ddl with parameters of type TypeInfoModifier and TypeMethodDescriptionstatic long[]Get the bounds (min, max) of a data type.voidCreateDomain.setDataType(TypeInfo dataType) voidSequenceOptions.setDataType(TypeInfo dataType) Constructors in org.h2.command.ddl with parameters of type TypeInfoModifierConstructorDescriptionSequenceOptions(Sequence oldSequence, TypeInfo dataType) Creates new instance of sequence options. -
Uses of TypeInfo in org.h2.command.query
Methods in org.h2.command.query that return TypeInfo -
Uses of TypeInfo in org.h2.constraint
Methods in org.h2.constraint that return TypeInfoModifier and TypeMethodDescriptionDomainColumnResolver.getValueType()Return the type of the column.Constructors in org.h2.constraint with parameters of type TypeInfo -
Uses of TypeInfo in org.h2.expression
Fields in org.h2.expression declared as TypeInfoModifier and TypeFieldDescriptionprotected TypeInfoOperation1_2.typeThe type of the result.protected TypeInfoOperation1.typeThe type of the result.protected TypeInfoOperation2.typeThe type of the result.protected TypeInfoOperationN.typeThe type of the result.Methods in org.h2.expression that return TypeInfoModifier and TypeMethodDescriptionAlias.getType()ArrayConstructorByQuery.getType()DomainValueExpression.getType()abstract TypeInfoExpression.getType()Returns the data type.ExpressionColumn.getType()ExpressionList.getType()Operation1_2.getType()Operation1.getType()Operation2.getType()OperationN.getType()Parameter.getType()ParameterInterface.getType()Returns the expected data type if no value is set, or the data type of the value if one is set.ParameterRemote.getType()Rownum.getType()SequenceValue.getType()SimpleCase.getType()Subquery.getType()TypedValueExpression.getType()ValueExpression.getType()Variable.getType()Wildcard.getType()Methods in org.h2.expression with parameters of type TypeInfoModifier and TypeMethodDescriptionstatic ValueExpressionCreate a new expression with the given value and type.static ValueExpressionTypedValueExpression.getTypedIfNull(Value value, TypeInfo type) Create a new typed value expression with the given value and type if value isNULL, or a plain value expression otherwise.voidBinaryOperation.setForcedType(TypeInfo forcedType) Sets a forced data type of a datetime minus datetime operation.Constructors in org.h2.expression with parameters of type TypeInfoModifierConstructorDescriptionIntervalOperation(IntervalOperation.IntervalOpType opType, Expression left, Expression right, TypeInfo forcedType) -
Uses of TypeInfo in org.h2.expression.aggregate
Fields in org.h2.expression.aggregate declared as TypeInfoModifier and TypeFieldDescriptionprotected TypeInfoAbstractAggregate.typeThe type of the result.Methods in org.h2.expression.aggregate that return TypeInfo -
Uses of TypeInfo in org.h2.expression.analysis
Methods in org.h2.expression.analysis that return TypeInfo -
Uses of TypeInfo in org.h2.expression.condition
Constructors in org.h2.expression.condition with parameters of type TypeInfoModifierConstructorDescriptionTypePredicate(Expression left, boolean not, boolean whenOperand, TypeInfo[] typeList) -
Uses of TypeInfo in org.h2.expression.function
Fields in org.h2.expression.function declared as TypeInfoMethods in org.h2.expression.function that return TypeInfoModifier and TypeMethodDescriptionstatic TypeInfoBitFunction.checkArgType(Expression arg) Checks the type of an argument of bitwise function (one ofBitFunction.BITAND,BitFunction.BITOR,BitFunction.BITXOR,BitFunction.BITNOT,BitFunction.BITNAND,BitFunction.BITNOR,BitFunction.BITXNOR).CurrentDateTimeValueFunction.getType()CurrentGeneralValueSpecification.getType()Function0_1.getType()JavaFunction.getType()SysInfoFunction.getType()Methods in org.h2.expression.function with parameters of type TypeInfoModifier and TypeMethodDescriptionstatic ValueBitFunction.getBitwise(int function, TypeInfo type, Value v1, Value v2) Computes the value of bitwise function.Constructors in org.h2.expression.function with parameters of type TypeInfo -
Uses of TypeInfo in org.h2.mode
Methods in org.h2.mode that return TypeInfo -
Uses of TypeInfo in org.h2.mvstore.db
Methods in org.h2.mvstore.db that return TypeInfo -
Uses of TypeInfo in org.h2.result
Methods in org.h2.result that return TypeInfoModifier and TypeMethodDescriptionLazyResult.getColumnType(int i) LocalResult.getColumnType(int i) ResultInterface.getColumnType(int i) Get the column data type.ResultRemote.getColumnType(int i) ResultWithPaddedStrings.getColumnType(int i) SimpleResult.getColumnType(int i) TypeInfo[]RowFactory.DefaultRowFactory.getColumnTypes()abstract TypeInfo[]RowFactory.getColumnTypes()SearchRow.getType()Methods in org.h2.result with parameters of type TypeInfoModifier and TypeMethodDescriptionvoidAdd column to the result.voidAdd column to the result.RowFactory.DefaultRowFactory.createRowFactory(CastDataProvider provider, CompareMode compareMode, DataHandler handler, int[] sortTypes, int[] indexes, TypeInfo[] columnTypes, int columnCount, boolean storeKeys) Create a new row factory. -
Uses of TypeInfo in org.h2.schema
Methods in org.h2.schema that return TypeInfoModifier and TypeMethodDescriptionDomain.getDataType()FunctionAlias.JavaMethod.getDataType()Returns data type information for regular functions ornullfor table value functions.Sequence.getDataType()Methods in org.h2.schema with parameters of type TypeInfo -
Uses of TypeInfo in org.h2.server.pg
Methods in org.h2.server.pg with parameters of type TypeInfoModifier and TypeMethodDescriptionstatic intPgServer.convertType(TypeInfo type) Convert the SQL type to a PostgreSQL type -
Uses of TypeInfo in org.h2.table
Methods in org.h2.table that return TypeInfoMethods in org.h2.table with parameters of type TypeInfoModifier and TypeMethodDescriptionprotected final ColumnCreates a column with the specified name and data type.Constructors in org.h2.table with parameters of type TypeInfo -
Uses of TypeInfo in org.h2.util
Methods in org.h2.util that return TypeInfoModifier and TypeMethodDescriptionstatic TypeInfoLegacyDateTimeUtils.legacyClassToType(Class<?> clazz) Get the type information for the given legacy Java class. -
Uses of TypeInfo in org.h2.value
Fields in org.h2.value declared as TypeInfoModifier and TypeFieldDescriptionstatic final TypeInfoTypeInfo.TYPE_ARRAY_UNKNOWNARRAY type with unknown parameters.static final TypeInfoTypeInfo.TYPE_BIGINTBIGINT type with parameters.static final TypeInfoTypeInfo.TYPE_BINARYBINARY type with default parameters.static final TypeInfoTypeInfo.TYPE_BLOBBINARY LARGE OBJECT type with maximum parameters.static final TypeInfoTypeInfo.TYPE_BOOLEANBOOLEAN type with parameters.static final TypeInfoTypeInfo.TYPE_CHARCHAR type with default parameters.static final TypeInfoTypeInfo.TYPE_CLOBCHARACTER LARGE OBJECT type with maximum parameters.static final TypeInfoTypeInfo.TYPE_DATEDATE type with parameters.static final TypeInfoTypeInfo.TYPE_DECFLOATDECFLOAT type with maximum parameters.static final TypeInfoTypeInfo.TYPE_DECFLOAT_BIGINTDECFLOAT type with parameters enough to hold a BIGINT value.static final TypeInfoTypeInfo.TYPE_DOUBLEDOUBLE PRECISION type with parameters.static final TypeInfoTypeInfo.TYPE_ENUM_UNDEFINEDENUM type with undefined parameters.static final TypeInfoTypeInfo.TYPE_GEOMETRYGEOMETRY type with default parameters.static final TypeInfoTypeInfo.TYPE_INTEGERINTEGER type with parameters.static final TypeInfoTypeInfo.TYPE_INTERVAL_DAYINTERVAL DAY type with maximum parameters.static final TypeInfoTypeInfo.TYPE_INTERVAL_DAY_TO_SECONDINTERVAL DAY TO SECOND type with maximum parameters.static final TypeInfoTypeInfo.TYPE_INTERVAL_HOUR_TO_SECONDINTERVAL HOUR TO SECOND type with maximum parameters.static final TypeInfoTypeInfo.TYPE_INTERVAL_YEAR_TO_MONTHINTERVAL YEAR TO MONTH type with maximum parameters.static final TypeInfoTypeInfo.TYPE_JAVA_OBJECTJAVA_OBJECT type with maximum parameters.static final TypeInfoTypeInfo.TYPE_JSONJSON type.static final TypeInfoTypeInfo.TYPE_NULLNULL type with parameters.static final TypeInfoTypeInfo.TYPE_NUMERIC_BIGINTNUMERIC type with parameters enough to hold a BIGINT value.static final TypeInfoTypeInfo.TYPE_NUMERIC_FLOATING_POINTNUMERIC type that can hold values with floating point.static final TypeInfoTypeInfo.TYPE_NUMERIC_SCALE_0NUMERIC type with maximum precision and scale 0.static final TypeInfoTypeInfo.TYPE_REALREAL type with parameters.static final TypeInfoTypeInfo.TYPE_ROW_EMPTYROW (row value) type without fields.static final TypeInfoTypeInfo.TYPE_SMALLINTSMALLINT type with parameters.static final TypeInfoTypeInfo.TYPE_TIMETIME type with maximum parameters.static final TypeInfoTypeInfo.TYPE_TIME_TZTIME WITH TIME ZONE type with maximum parameters.static final TypeInfoTypeInfo.TYPE_TIMESTAMPTIMESTAMP type with maximum parameters.static final TypeInfoTypeInfo.TYPE_TIMESTAMP_TZTIMESTAMP WITH TIME ZONE type with maximum parameters.static final TypeInfoTypeInfo.TYPE_TINYINTTINYINT type with parameters.static final TypeInfoTypeInfo.TYPE_UNKNOWNUNKNOWN type with parameters.static final TypeInfoTypeInfo.TYPE_UUIDUUID type with parameters.static final TypeInfoTypeInfo.TYPE_VARBINARYBINARY VARYING type with maximum parameters.static final TypeInfoTypeInfo.TYPE_VARCHARCHARACTER VARYING type with maximum parameters.static final TypeInfoTypeInfo.TYPE_VARCHAR_IGNORECASEVARCHAR_IGNORECASE type with maximum parameters.Methods in org.h2.value that return TypeInfoModifier and TypeMethodDescriptionstatic TypeInfoValueToObjectConverter2.classToType(Class<?> clazz) Get the type information for the given Java class.ValueArray.getComponentType()static TypeInfoTypeInfo.getHigherType(Typed[] values) Get the higher data type of all values.static TypeInfoTypeInfo.getHigherType(TypeInfo type1, TypeInfo type2) Get the higher data type of two data types.Typed.getType()Returns the data type.TypeInfo.getType()Returns this type information.abstract TypeInfoValue.getType()ValueArray.getType()ValueBigint.getType()ValueBinary.getType()ValueBoolean.getType()ValueDate.getType()ValueDecfloat.getType()ValueDouble.getType()ValueEnum.getType()ValueEnumBase.getType()ValueGeometry.getType()ValueInteger.getType()ValueInterval.getType()ValueJavaObject.getType()ValueJson.getType()ValueLob.getType()ValueNull.getType()ValueNumeric.getType()ValueReal.getType()ValueRow.getType()ValueSmallint.getType()ValueTime.getType()ValueTimestamp.getType()ValueTimestampTimeZone.getType()ValueTimeTimeZone.getType()ValueTinyint.getType()ValueUuid.getType()ValueVarbinary.getType()static TypeInfoTypeInfo.getTypeInfo(int type) Get the data type with parameters object for the given value type and maximum parameters.static TypeInfoTypeInfo.getTypeInfo(int type, long precision, int scale, ExtTypeInfo extTypeInfo) Get the data type with parameters object for the given value type and the specified parameters.Transfer.readTypeInfo()Read a type information.TypeInfo.toDecfloatType()Convert this type information to compatible DECFLOAT type information.TypeInfo.toNumericType()Convert this type information to compatible NUMERIC type information.TypeInfo.unwrapRow()Returns unwrapped data type if this data type is a row type with degree 1 or this type otherwise.Methods in org.h2.value that return types with arguments of type TypeInfoMethods in org.h2.value with parameters of type TypeInfoModifier and TypeMethodDescriptionstatic booleanTypeInfo.areSameTypes(TypeInfo t1, TypeInfo t2) Determines whether two specified types are the same data types without taking precision or scale into account.static booleanDataType.areStableComparable(TypeInfo type1, TypeInfo type2) Returns whether values of the specified data types have session-independent compare results.final ValueValue.castTo(TypeInfo targetType, CastDataProvider provider) Cast a value to the specified type.static voidTypeInfo.checkComparable(TypeInfo t1, TypeInfo t2) Checks whether two specified types are comparable and throws an exception otherwise.final ValueValue.convertForAssignTo(TypeInfo targetType, CastDataProvider provider, Object column) Cast a value to the specified type for assignment.final ValueConvert a value to the specified type without taking scale and precision into account.final ValueValue.convertTo(TypeInfo targetType, CastDataProvider provider) Convert a value to the specified type without taking scale and precision into account.final ValueValue.convertTo(TypeInfo targetType, CastDataProvider provider, Object column) Convert a value to the specified type without taking scale and precision into account.final ValueJavaObjectValue.convertToJavaObject(TypeInfo targetType, int conversionMode, Object column) Converts this value to a JAVA_OBJECT value.static intDataType.convertTypeToSQLType(TypeInfo type) Convert a value type to a SQL type.Divide by a value and return the result.static ValueDecfloatValueDecfloat.divide(BigDecimal dividend, BigDecimal divisor, TypeInfo quotientType) Divides toBigDecimalvalues and returns aDECFLOATresult of the specified data type.static ValueArrayValueArray.get(TypeInfo componentType, Value[] list, CastDataProvider provider) Get or create a array value for the given value array.static ValueRowGet or create a typed row value for the given value array.static TypeInfoTypeInfo.getHigherType(TypeInfo type1, TypeInfo type2) Get the higher data type of two data types.static booleanTypeInfo.haveSameOrdering(TypeInfo t1, TypeInfo t2) Determines whether two specified types have the same ordering rules.static booleanDataType.isIndexable(TypeInfo type) Returns whether columns with the specified data type may have an index.Read a value.Transfer.writeTypeInfo(TypeInfo type) Write value type, precision, and scale.Constructor parameters in org.h2.value with type arguments of type TypeInfoModifierConstructorDescriptionExtTypeInfoRow(LinkedHashMap<String, TypeInfo> fields) Creates new instance of extended parameters of ROW data type.