Uses of Class
org.h2.value.TypeInfo
-
Packages that use TypeInfo Package Description org.h2.api Contains interfaces for user-defined extensions, such as triggers and user-defined aggregate functions.org.h2.command This package contains the parser and the base classes for prepared SQL statements.org.h2.command.ddl Contains DDL (data definition language) and related SQL statements.org.h2.command.query Contains queries.org.h2.constraint Database constraints such as check constraints, unique constraints, and referential constraints.org.h2.expression Expressions include mathematical operations, simple values, and others.org.h2.expression.aggregate Aggregate functions.org.h2.expression.analysis Base classes for data analysis operations and implementations of window functions.org.h2.expression.condition Condition expressions.org.h2.expression.function Functions.org.h2.jdbc.meta Implementation of the JDBC database metadata API (package java.sql).org.h2.mode Utility classes for compatibility with other database, for example MySQL.org.h2.mvstore.db Helper classes to use the MVStore in the H2 database.org.h2.result Implementation of row and internal result sets.org.h2.schema Schema implementation and objects that are stored in a schema (for example, sequences and constants).org.h2.server.pg PostgreSQL server implementation of this database.org.h2.table Classes related to a table and table meta data.org.h2.util Internal utility classes.org.h2.value Data type and value implementations. -
-
Uses of TypeInfo in org.h2.api
Fields in org.h2.api declared as TypeInfo Modifier and Type Field Description private TypeInfoH2Type. typeInfoConstructors in org.h2.api with parameters of type TypeInfo Constructor Description H2Type(TypeInfo typeInfo, java.lang.String field) -
Uses of TypeInfo in org.h2.command
Methods in org.h2.command that return TypeInfo Modifier and Type Method Description private TypeInfoParser. parseArrayType(TypeInfo componentType)private TypeInfoParser. parseDataType()private TypeInfoParser. parseDateTimeType(boolean smallDateTime)private TypeInfoParser. parseDecfloatType()private TypeInfoParser. parseEnumType()private TypeInfoParser. parseFloatType()private TypeInfoParser. parseGeometryType()private TypeInfoParser. parseNumericType(boolean decimal)private TypeInfoParser. parseRowType()private TypeInfoParser. parseTimestampType()private TypeInfoParser. parseTimeType()private TypeInfoParser. readIfDataType()private TypeInfoParser. readIfDataType1()private TypeInfoParser. readIntervalQualifier()Methods in org.h2.command with parameters of type TypeInfo Modifier and Type Method Description private TypeInfoParser. parseArrayType(TypeInfo componentType) -
Uses of TypeInfo in org.h2.command.ddl
Fields in org.h2.command.ddl declared as TypeInfo Modifier and Type Field Description private TypeInfoCreateDomain. dataTypeprivate TypeInfoSequenceOptions. dataTypeMethods in org.h2.command.ddl that return TypeInfo Modifier and Type Method Description TypeInfoSequenceOptions. getDataType()Methods in org.h2.command.ddl with parameters of type TypeInfo Modifier and Type Method Description static long[]SequenceOptions. getBounds(TypeInfo dataType)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 TypeInfo Constructor Description SequenceOptions(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 Modifier and Type Method Description TypeInfoQuery. getRowDataType()Returns data type of rows. -
Uses of TypeInfo in org.h2.constraint
Methods in org.h2.constraint that return TypeInfo Modifier and Type Method Description TypeInfoDomainColumnResolver. getValueType()Return the type of the column.Constructors in org.h2.constraint with parameters of type TypeInfo Constructor Description DomainColumnResolver(TypeInfo typeInfo) -
Uses of TypeInfo in org.h2.expression
Fields in org.h2.expression declared as TypeInfo Modifier and Type Field Description private TypeInfoArrayConstructorByQuery. componentTypeprivate TypeInfoBinaryOperation. forcedTypeprivate TypeInfoIntervalOperation. forcedTypeprivate static TypeInfoIntervalOperation. INTERVAL_DIVIDE_INTERVAL_DAY_TYPEprivate static TypeInfoIntervalOperation. INTERVAL_DIVIDE_INTERVAL_YEAR_TYPEprivate TypeInfoArrayConstructorByQuery. typeprivate TypeInfoExpressionList. typeprotected 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.private TypeInfoParameterRemote. typeprivate TypeInfoSimpleCase. typeprivate TypeInfoTypedValueExpression. typeMethods in org.h2.expression that return TypeInfo Modifier and Type Method Description (package private) static TypeInfoSimpleCase. combineTypes(TypeInfo typeInfo, Expression e)TypeInfoAlias. getType()TypeInfoArrayConstructorByQuery. getType()TypeInfoDomainValueExpression. getType()abstract TypeInfoExpression. getType()Returns the data type.TypeInfoExpressionColumn. getType()TypeInfoExpressionList. getType()TypeInfoOperation1_2. getType()TypeInfoOperation1. getType()TypeInfoOperation2. getType()TypeInfoOperationN. getType()TypeInfoParameter. getType()TypeInfoParameterInterface. getType()Returns the expected data type if no value is set, or the data type of the value if one is set.TypeInfoParameterRemote. getType()TypeInfoRownum. getType()TypeInfoSequenceValue. getType()TypeInfoSimpleCase. getType()TypeInfoSubquery. getType()TypeInfoTypedValueExpression. getType()TypeInfoValueExpression. getType()TypeInfoVariable. getType()TypeInfoWildcard. getType()Methods in org.h2.expression with parameters of type TypeInfo Modifier and Type Method Description (package private) static TypeInfoSimpleCase. combineTypes(TypeInfo typeInfo, Expression e)static ValueExpressionTypedValueExpression. get(Value value, TypeInfo type)Create a new expression with the given value and type.(package private) static java.lang.StringBuilderIntervalOperation. getForcedTypeSQL(java.lang.StringBuilder builder, TypeInfo forcedType)private static ValueExpressionTypedValueExpression. getImpl(Value value, TypeInfo type, boolean preserveStrictType)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.private voidBinaryOperation. optimizeDecfloat(TypeInfo leftType, TypeInfo rightType)private voidBinaryOperation. optimizeNumeric(TypeInfo leftType, TypeInfo rightType)voidBinaryOperation. setForcedType(TypeInfo forcedType)Sets a forced data type of a datetime minus datetime operation.Constructors in org.h2.expression with parameters of type TypeInfo Constructor Description IntervalOperation(IntervalOperation.IntervalOpType opType, Expression left, Expression right, TypeInfo forcedType)TypedValueExpression(Value value, TypeInfo type) -
Uses of TypeInfo in org.h2.expression.aggregate
Fields in org.h2.expression.aggregate declared as TypeInfo Modifier and Type Field Description private TypeInfoAggregateDataAvg. dataTypeprivate TypeInfoAggregateDataDefault. dataTypeprotected TypeInfoAbstractAggregate. typeThe type of the result.Methods in org.h2.expression.aggregate that return TypeInfo Modifier and Type Method Description private static TypeInfoAggregate. getAvgType(TypeInfo type)private static TypeInfoAggregate. getSumType(TypeInfo type)TypeInfoAbstractAggregate. getType()Methods in org.h2.expression.aggregate with parameters of type TypeInfo Modifier and Type Method Description private static TypeInfoAggregate. getAvgType(TypeInfo type)private static TypeInfoAggregate. getSumType(TypeInfo type)Constructors in org.h2.expression.aggregate with parameters of type TypeInfo Constructor Description AggregateDataAvg(TypeInfo dataType)AggregateDataDefault(AggregateType aggregateType, TypeInfo dataType) -
Uses of TypeInfo in org.h2.expression.analysis
Methods in org.h2.expression.analysis that return TypeInfo Modifier and Type Method Description TypeInfoWindowFunction. getType() -
Uses of TypeInfo in org.h2.expression.condition
Fields in org.h2.expression.condition declared as TypeInfo Modifier and Type Field Description private TypeInfoConditionInConstantSet. typeprivate TypeInfo[]TypePredicate. typeListMethods in org.h2.expression.condition that return TypeInfo Modifier and Type Method Description TypeInfoCondition. getType()Constructors in org.h2.expression.condition with parameters of type TypeInfo Constructor Description TypePredicate(Expression left, boolean not, boolean whenOperand, TypeInfo[] typeList) -
Uses of TypeInfo in org.h2.expression.function
Fields in org.h2.expression.function declared as TypeInfo Modifier and Type Field Description private TypeInfoMathFunction. commonTypeprivate TypeInfoCurrentDateTimeValueFunction. typeprotected TypeInfoFunction0_1. typeThe type of the result.private TypeInfoSysInfoFunction. typeMethods in org.h2.expression.function that return TypeInfo Modifier and Type Method Description static 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).private static TypeInfoBitFunction. getCommonType(Expression arg1, Expression arg2)TypeInfoCurrentDateTimeValueFunction. getType()TypeInfoCurrentGeneralValueSpecification. getType()TypeInfoFunction0_1. getType()TypeInfoJavaFunction. getType()TypeInfoSysInfoFunction. getType()Methods in org.h2.expression.function with parameters of type TypeInfo Modifier and Type Method Description private static ValueBitFunction. getBinaryString(int function, TypeInfo type, Value v1, Value v2)static ValueBitFunction. getBitwise(int function, TypeInfo type, Value v1, Value v2)Computes the value of bitwise function.private static ValueBitFunction. getNumeric(int function, TypeInfo type, Value v1, Value v2)Constructors in org.h2.expression.function with parameters of type TypeInfo Constructor Description CastSpecification(Expression arg, TypeInfo type) -
Uses of TypeInfo in org.h2.jdbc.meta
Methods in org.h2.jdbc.meta with parameters of type TypeInfo Modifier and Type Method Description private ValueDatabaseMetaLocal. getDataTypeName(TypeInfo typeInfo)private voidDatabaseMetaLocal. getProcedureColumnAdd(SimpleResult result, Value catalogValue, Value schemaValue, Value procedureNameValue, Value specificNameValue, TypeInfo type, boolean notNull, int ordinal) -
Uses of TypeInfo in org.h2.mode
Fields in org.h2.mode declared as TypeInfo Modifier and Type Field Description private static TypeInfoFunctionsDB2Derby. IDENTITY_VAL_LOCAL_TYPEprivate static TypeInfoFunctionsMSSQLServer. SCOPE_IDENTITY_TYPEMethods in org.h2.mode that return TypeInfo Modifier and Type Method Description TypeInfoOnDuplicateKeyValues. getType()TypeInfoRegclass. getType() -
Uses of TypeInfo in org.h2.mvstore.db
Methods in org.h2.mvstore.db that return TypeInfo Modifier and Type Method Description TypeInfoSpatialKey. getType()Methods in org.h2.mvstore.db with parameters of type TypeInfo Modifier and Type Method Description private Value[]ValueDataType. readArrayElements(java.nio.ByteBuffer buff, TypeInfo elementType)(package private) ValueValueDataType. readValue(java.nio.ByteBuffer buff, TypeInfo columnType)Read a value. -
Uses of TypeInfo in org.h2.result
Fields in org.h2.result declared as TypeInfo Modifier and Type Field Description (package private) TypeInfoResultColumn. columnTypeThe column type.(package private) TypeInfoSimpleResult.Column. columnTypeColumn type.private TypeInfo[]RowFactory.DefaultRowFactory. columnTypesMethods in org.h2.result that return TypeInfo Modifier and Type Method Description TypeInfoLazyResult. getColumnType(int i)TypeInfoLocalResult. getColumnType(int i)TypeInfoResultInterface. getColumnType(int i)Get the column data type.TypeInfoResultRemote. getColumnType(int i)TypeInfoResultWithPaddedStrings. getColumnType(int i)TypeInfoSimpleResult. getColumnType(int i)TypeInfo[]RowFactory.DefaultRowFactory. getColumnTypes()abstract TypeInfo[]RowFactory. getColumnTypes()TypeInfoSearchRow. getType()Methods in org.h2.result with parameters of type TypeInfo Modifier and Type Method Description voidSimpleResult. addColumn(java.lang.String alias, java.lang.String columnName, TypeInfo columnType)Add column to the result.voidSimpleResult. addColumn(java.lang.String columnName, TypeInfo columnType)Add column to the result.RowFactoryRowFactory.DefaultRowFactory. createRowFactory(CastDataProvider provider, CompareMode compareMode, DataHandler handler, int[] sortTypes, int[] indexes, TypeInfo[] columnTypes, int columnCount, boolean storeKeys)Create a new row factory.Constructors in org.h2.result with parameters of type TypeInfo Constructor Description Column(java.lang.String alias, java.lang.String columnName, TypeInfo columnType)DefaultRowFactory(RowDataType dataType, int columnCount, int[] indexes, TypeInfo[] columnTypes) -
Uses of TypeInfo in org.h2.schema
Fields in org.h2.schema declared as TypeInfo Modifier and Type Field Description private TypeInfoFunctionAlias.JavaMethod. dataTypeprivate TypeInfoSequence. dataTypeprivate TypeInfoDomain. typeMethods in org.h2.schema that return TypeInfo Modifier and Type Method Description TypeInfoDomain. getDataType()TypeInfoFunctionAlias.JavaMethod. getDataType()Returns data type information for regular functions ornullfor table value functions.TypeInfoSequence. getDataType()Methods in org.h2.schema with parameters of type TypeInfo Modifier and Type Method Description voidDomain. setDataType(TypeInfo type) -
Uses of TypeInfo in org.h2.server.pg
Methods in org.h2.server.pg with parameters of type TypeInfo Modifier and Type Method Description static intPgServer. convertType(TypeInfo type)Convert the SQL type to a PostgreSQL type -
Uses of TypeInfo in org.h2.table
Fields in org.h2.table declared as TypeInfo Modifier and Type Field Description private TypeInfoColumn. typeMethods in org.h2.table that return TypeInfo Modifier and Type Method Description TypeInfoColumn. getType()Methods in org.h2.table with parameters of type TypeInfo Modifier and Type Method Description protected ColumnMetaTable. column(java.lang.String name, TypeInfo type)Creates a column with the specified name and data type.private voidInformationSchemaTable. elementTypes(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, java.lang.String mainSchemaName, java.lang.String collation, java.lang.String objectSchema, java.lang.String objectName, java.lang.String objectType, java.lang.String collectionIdentifier, java.lang.String dtdIdentifier, TypeInfo typeInfo)private voidInformationSchemaTable. elementTypesFieldsRow(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, int type, java.lang.String mainSchemaName, java.lang.String collation, java.lang.String objectSchema, java.lang.String objectName, java.lang.String objectType, java.lang.String identifier, TypeInfo typeInfo)private voidInformationSchemaTable. enumValues(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, java.lang.String objectSchema, java.lang.String objectName, java.lang.String objectType, java.lang.String enumIdentifier, TypeInfo typeInfo)private voidInformationSchemaTable. fields(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, java.lang.String mainSchemaName, java.lang.String collation, java.lang.String objectSchema, java.lang.String objectName, java.lang.String objectType, java.lang.String rowIdentifier, java.lang.String fieldName, int ordinalPosition, java.lang.String dtdIdentifier, TypeInfo typeInfo)private voidInformationSchemaTable. parameters(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, java.lang.String mainSchemaName, java.lang.String collation, java.lang.String schema, java.lang.String specificName, TypeInfo typeInfo, int pos)private voidInformationSchemaTable. routines(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, java.lang.String mainSchemaName, java.lang.String collation, java.lang.String schema, java.lang.String name, java.lang.String specificName, java.lang.String routineType, java.lang.String definition, java.lang.String externalName, TypeInfo typeInfo, boolean deterministic, java.lang.String remarks)(package private) static InformationSchemaTable.DataTypeInformationInformationSchemaTable.DataTypeInformation. valueOf(TypeInfo typeInfo)Constructors in org.h2.table with parameters of type TypeInfo Constructor Description Column(java.lang.String name, TypeInfo type)Column(java.lang.String name, TypeInfo type, Table table, int columnId) -
Uses of TypeInfo in org.h2.util
Methods in org.h2.util that return TypeInfo Modifier and Type Method Description static TypeInfoLegacyDateTimeUtils. legacyClassToType(java.lang.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 TypeInfo Modifier and Type Field Description private TypeInfoValueArray. componentTypeprivate TypeInfoExtTypeInfoEnum. typeprivate TypeInfoValueArray. type(package private) TypeInfoValueBigDecimalBase. typeprivate TypeInfoValueBinary. typeAssociated TypeInfo.private TypeInfoValueLob. typeprivate TypeInfoValueRow. typeprivate TypeInfoValueStringBase. typeprivate TypeInfoValueVarbinary. typeAssociated TypeInfo.static TypeInfoTypeInfo. TYPE_ARRAY_UNKNOWNARRAY type with unknown parameters.static TypeInfoTypeInfo. TYPE_BIGINTBIGINT type with parameters.static TypeInfoTypeInfo. TYPE_BINARYBINARY type with default parameters.static TypeInfoTypeInfo. TYPE_BLOBBINARY LARGE OBJECT type with maximum parameters.static TypeInfoTypeInfo. TYPE_BOOLEANBOOLEAN type with parameters.static TypeInfoTypeInfo. TYPE_CHARCHAR type with default parameters.static TypeInfoTypeInfo. TYPE_CLOBCHARACTER LARGE OBJECT type with maximum parameters.static TypeInfoTypeInfo. TYPE_DATEDATE type with parameters.static TypeInfoTypeInfo. TYPE_DECFLOATDECFLOAT type with maximum parameters.static TypeInfoTypeInfo. TYPE_DECFLOAT_BIGINTDECFLOAT type with parameters enough to hold a BIGINT value.static TypeInfoTypeInfo. TYPE_DOUBLEDOUBLE PRECISION type with parameters.static TypeInfoTypeInfo. TYPE_ENUM_UNDEFINEDENUM type with undefined parameters.static TypeInfoTypeInfo. TYPE_GEOMETRYGEOMETRY type with default parameters.private static TypeInfo[]TypeInfo. TYPE_INFOS_BY_VALUE_TYPEstatic TypeInfoTypeInfo. TYPE_INTEGERINTEGER type with parameters.static TypeInfoTypeInfo. TYPE_INTERVAL_DAYINTERVAL DAY type with maximum parameters.static TypeInfoTypeInfo. TYPE_INTERVAL_DAY_TO_SECONDINTERVAL DAY TO SECOND type with maximum parameters.static TypeInfoTypeInfo. TYPE_INTERVAL_HOUR_TO_SECONDINTERVAL HOUR TO SECOND type with maximum parameters.static TypeInfoTypeInfo. TYPE_INTERVAL_YEAR_TO_MONTHINTERVAL YEAR TO MONTH type with maximum parameters.static TypeInfoTypeInfo. TYPE_JAVA_OBJECTJAVA_OBJECT type with maximum parameters.static TypeInfoTypeInfo. TYPE_JSONJSON type.static TypeInfoTypeInfo. TYPE_NULLNULL type with parameters.static TypeInfoTypeInfo. TYPE_NUMERIC_BIGINTNUMERIC type with parameters enough to hold a BIGINT value.static TypeInfoTypeInfo. TYPE_NUMERIC_FLOATING_POINTNUMERIC type that can hold values with floating point.static TypeInfoTypeInfo. TYPE_NUMERIC_SCALE_0NUMERIC type with maximum precision and scale 0.static TypeInfoTypeInfo. TYPE_REALREAL type with parameters.static TypeInfoTypeInfo. TYPE_ROW_EMPTYROW (row value) type without fields.static TypeInfoTypeInfo. TYPE_SMALLINTSMALLINT type with parameters.static TypeInfoTypeInfo. TYPE_TIMETIME type with maximum parameters.static TypeInfoTypeInfo. TYPE_TIME_TZTIME WITH TIME ZONE type with maximum parameters.static TypeInfoTypeInfo. TYPE_TIMESTAMPTIMESTAMP type with maximum parameters.static TypeInfoTypeInfo. TYPE_TIMESTAMP_TZTIMESTAMP WITH TIME ZONE type with maximum parameters.static TypeInfoTypeInfo. TYPE_TINYINTTINYINT type with parameters.static TypeInfoTypeInfo. TYPE_UNKNOWNUNKNOWN type with parameters.static TypeInfoTypeInfo. TYPE_UUIDUUID type with parameters.static TypeInfoTypeInfo. TYPE_VARBINARYBINARY VARYING type with maximum parameters.static TypeInfoTypeInfo. TYPE_VARCHARCHARACTER VARYING type with maximum parameters.static TypeInfoTypeInfo. TYPE_VARCHAR_IGNORECASEVARCHAR_IGNORECASE type with maximum parameters.Fields in org.h2.value with type parameters of type TypeInfo Modifier and Type Field Description private java.util.LinkedHashMap<java.lang.String,TypeInfo>ExtTypeInfoRow. fieldsMethods in org.h2.value that return TypeInfo Modifier and Type Method Description static TypeInfoValueToObjectConverter2. classToType(java.lang.Class<?> clazz)Get the type information for the given Java class.TypeInfoValueArray. getComponentType()private static TypeInfoTypeInfo. getHigherArray(TypeInfo type1, TypeInfo type2, int d1, int d2)private static TypeInfoTypeInfo. getHigherRow(TypeInfo type1, TypeInfo type2)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.(package private) TypeInfoExtTypeInfoEnum. getType()TypeInfoTyped. getType()Returns the data type.TypeInfoTypeInfo. getType()Returns this type information.abstract TypeInfoValue. getType()TypeInfoValueArray. getType()TypeInfoValueBigint. getType()TypeInfoValueBinary. getType()TypeInfoValueBoolean. getType()TypeInfoValueDate. getType()TypeInfoValueDecfloat. getType()TypeInfoValueDouble. getType()TypeInfoValueEnum. getType()TypeInfoValueEnumBase. getType()TypeInfoValueGeometry. getType()TypeInfoValueInteger. getType()TypeInfoValueInterval. getType()TypeInfoValueJavaObject. getType()TypeInfoValueJson. getType()TypeInfoValueLob. getType()TypeInfoValueNull. getType()TypeInfoValueNumeric. getType()TypeInfoValueReal. getType()TypeInfoValueRow. getType()TypeInfoValueSmallint. getType()TypeInfoValueStringBase. getType()TypeInfoValueTime. getType()TypeInfoValueTimestamp. getType()TypeInfoValueTimestampTimeZone. getType()TypeInfoValueTimeTimeZone. getType()TypeInfoValueTinyint. getType()TypeInfoValueUuid. getType()TypeInfoValueVarbinary. 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.TypeInfoTransfer. readTypeInfo()Read a type information.private TypeInfoTransfer. readTypeInfo19()private TypeInfoTransfer. readTypeInfo20()TypeInfoTypeInfo. toDecfloatType()Convert this type information to compatible DECFLOAT type information.TypeInfoTypeInfo. toNumericType()Convert this type information to compatible NUMERIC type information.private static TypeInfoTypeInfo. typeToRow(TypeInfo type)TypeInfoTypeInfo. 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 TypeInfo Modifier and Type Method Description java.util.Set<java.util.Map.Entry<java.lang.String,TypeInfo>>ExtTypeInfoRow. getFields()Returns fields.private static java.util.LinkedHashMap<java.lang.String,TypeInfo>ValueToObjectConverter. readResultSetMeta(Session session, java.sql.ResultSetMetaData meta, int columnCount)Methods in org.h2.value with parameters of type TypeInfo Modifier and Type Method Description private static booleanTypeInfo. areComparable(TypeInfo t1, TypeInfo t2)Determines whether two specified types are comparable.static 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.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.ValueValue. convertForAssignTo(TypeInfo targetType, CastDataProvider provider, java.lang.Object column)Cast a value to the specified type for assignment.ValueValue. convertTo(TypeInfo targetType)Convert a value to the specified type without taking scale and precision into account.ValueValue. convertTo(TypeInfo targetType, CastDataProvider provider)Convert a value to the specified type without taking scale and precision into account.private ValueValue. convertTo(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)Convert a value to the specified type.ValueValue. convertTo(TypeInfo targetType, CastDataProvider provider, java.lang.Object column)Convert a value to the specified type without taking scale and precision into account.private ValueArrayValue. convertToArray(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)private ValueBinaryValue. convertToBinary(TypeInfo targetType, int conversionMode, java.lang.Object column)private ValueBlobValue. convertToBlob(TypeInfo targetType, int conversionMode, java.lang.Object column)private ValueCharValue. convertToChar(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)private ValueClobValue. convertToClob(TypeInfo targetType, int conversionMode, java.lang.Object column)private ValueDecfloatValue. convertToDecfloat(TypeInfo targetType, int conversionMode)private ValueIntervalValue. convertToIntervalDayTime(TypeInfo targetType, int conversionMode, java.lang.Object column)private ValueIntervalValue. convertToIntervalYearMonth(TypeInfo targetType, int conversionMode, java.lang.Object column)ValueJavaObjectValue. convertToJavaObject(TypeInfo targetType, int conversionMode, java.lang.Object column)Converts this value to a JAVA_OBJECT value.private ValueJsonValue. convertToJson(TypeInfo targetType, int conversionMode, java.lang.Object column)private ValueNumericValue. convertToNumeric(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)private ValueValue. convertToRow(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)private ValueTimeValue. convertToTime(TypeInfo targetType, CastDataProvider provider, int conversionMode)private ValueTimestampValue. convertToTimestamp(TypeInfo targetType, CastDataProvider provider, int conversionMode)private ValueTimestampTimeZoneValue. convertToTimestampTimeZone(TypeInfo targetType, CastDataProvider provider, int conversionMode)private ValueTimeTimeZoneValue. convertToTimeTimeZone(TypeInfo targetType, CastDataProvider provider, int conversionMode)private ValueVarbinaryValue. convertToVarbinary(TypeInfo targetType, int conversionMode, java.lang.Object column)private ValueValue. convertToVarchar(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)private ValueValue. convertToVarcharIgnoreCase(TypeInfo targetType, int conversionMode, java.lang.Object column)static intDataType. convertTypeToSQLType(TypeInfo type)Convert a value type to a SQL type.private static intTypeInfo. dimensions(TypeInfo type)ValueValue. divide(Value v, TypeInfo quotientType)Divide by a value and return the result.ValueValueBigint. divide(Value v, TypeInfo quotientType)static ValueDecfloatValueDecfloat. divide(java.math.BigDecimal dividend, java.math.BigDecimal divisor, TypeInfo quotientType)Divides toBigDecimalvalues and returns aDECFLOATresult of the specified data type.ValueValueDecfloat. divide(Value v, TypeInfo quotientType)ValueValueDouble. divide(Value v, TypeInfo quotientType)ValueValueEnumBase. divide(Value v, TypeInfo quotientType)ValueValueInteger. divide(Value v, TypeInfo quotientType)ValueValueNumeric. divide(Value v, TypeInfo quotientType)ValueValueReal. divide(Value v, TypeInfo quotientType)ValueValueSmallint. divide(Value v, TypeInfo quotientType)ValueValueTime. divide(Value v, TypeInfo quotientType)ValueValueTinyint. divide(Value v, TypeInfo quotientType)static ValueArrayValueArray. get(TypeInfo componentType, Value[] list, CastDataProvider provider)Get or create a array value for the given value array.static ValueRowValueRow. get(TypeInfo typeInfo, Value[] list)Get or create a typed row value for the given value array.(package private) DbExceptionValue. getDataConversionError(TypeInfo targetType)Creates new instance of the DbException for data conversion error.private static TypeInfoTypeInfo. getHigherArray(TypeInfo type1, TypeInfo type2, int d1, int d2)private static TypeInfoTypeInfo. getHigherRow(TypeInfo type1, TypeInfo type2)static TypeInfoTypeInfo. getHigherType(TypeInfo type1, TypeInfo type2)Get the higher data type of two data types.(package private) DbExceptionValue. getValueTooLongException(TypeInfo targetType, java.lang.Object column)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.private Value[]Transfer. readArrayElements(int len, TypeInfo elementType)ValueTransfer. readValue(TypeInfo columnType)Read a value.(package private) ValueIntervalValueInterval. setPrecisionAndScale(TypeInfo targetType, java.lang.Object column)private static TypeInfoTypeInfo. typeToRow(TypeInfo type)TransferTransfer. writeTypeInfo(TypeInfo type)Write value type, precision, and scale.private voidTransfer. writeTypeInfo19(TypeInfo type)private voidTransfer. writeTypeInfo20(TypeInfo type)private voidTransfer. writeTypeInfoEnum(TypeInfo type)private voidTransfer. writeTypeInfoGeometry(TypeInfo type)private voidTransfer. writeTypeInfoRow(TypeInfo type)Constructors in org.h2.value with parameters of type TypeInfo Constructor Description ValueArray(TypeInfo componentType, Value[] list, CastDataProvider provider)ValueRow(TypeInfo type, Value[] list)Constructor parameters in org.h2.value with type arguments of type TypeInfo Constructor Description ExtTypeInfoRow(java.util.LinkedHashMap<java.lang.String,TypeInfo> fields)Creates new instance of extended parameters of ROW data type.
-