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 TypeInfo
H2Type. typeInfo
Constructors 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 TypeInfo
Parser. parseArrayType(TypeInfo componentType)
private TypeInfo
Parser. parseDataType()
private TypeInfo
Parser. parseDateTimeType(boolean smallDateTime)
private TypeInfo
Parser. parseDecfloatType()
private TypeInfo
Parser. parseEnumType()
private TypeInfo
Parser. parseFloatType()
private TypeInfo
Parser. parseGeometryType()
private TypeInfo
Parser. parseNumericType(boolean decimal)
private TypeInfo
Parser. parseRowType()
private TypeInfo
Parser. parseTimestampType()
private TypeInfo
Parser. parseTimeType()
private TypeInfo
Parser. readIfDataType()
private TypeInfo
Parser. readIfDataType1()
private TypeInfo
Parser. readIntervalQualifier()
Methods in org.h2.command with parameters of type TypeInfo Modifier and Type Method Description private TypeInfo
Parser. 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 TypeInfo
CreateDomain. dataType
private TypeInfo
SequenceOptions. dataType
Methods in org.h2.command.ddl that return TypeInfo Modifier and Type Method Description TypeInfo
SequenceOptions. 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.void
CreateDomain. setDataType(TypeInfo dataType)
void
SequenceOptions. 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 TypeInfo
Query. 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 TypeInfo
DomainColumnResolver. 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 TypeInfo
ArrayConstructorByQuery. componentType
private TypeInfo
BinaryOperation. forcedType
private TypeInfo
IntervalOperation. forcedType
private static TypeInfo
IntervalOperation. INTERVAL_DIVIDE_INTERVAL_DAY_TYPE
private static TypeInfo
IntervalOperation. INTERVAL_DIVIDE_INTERVAL_YEAR_TYPE
private TypeInfo
ArrayConstructorByQuery. type
private TypeInfo
ExpressionList. type
protected TypeInfo
Operation1_2. type
The type of the result.protected TypeInfo
Operation1. type
The type of the result.protected TypeInfo
Operation2. type
The type of the result.protected TypeInfo
OperationN. type
The type of the result.private TypeInfo
ParameterRemote. type
private TypeInfo
SimpleCase. type
private TypeInfo
TypedValueExpression. type
Methods in org.h2.expression that return TypeInfo Modifier and Type Method Description (package private) static TypeInfo
SimpleCase. combineTypes(TypeInfo typeInfo, Expression e)
TypeInfo
Alias. getType()
TypeInfo
ArrayConstructorByQuery. getType()
TypeInfo
DomainValueExpression. getType()
abstract TypeInfo
Expression. getType()
Returns the data type.TypeInfo
ExpressionColumn. getType()
TypeInfo
ExpressionList. getType()
TypeInfo
Operation1_2. getType()
TypeInfo
Operation1. getType()
TypeInfo
Operation2. getType()
TypeInfo
OperationN. getType()
TypeInfo
Parameter. getType()
TypeInfo
ParameterInterface. getType()
Returns the expected data type if no value is set, or the data type of the value if one is set.TypeInfo
ParameterRemote. getType()
TypeInfo
Rownum. getType()
TypeInfo
SequenceValue. getType()
TypeInfo
SimpleCase. getType()
TypeInfo
Subquery. getType()
TypeInfo
TypedValueExpression. getType()
TypeInfo
ValueExpression. getType()
TypeInfo
Variable. getType()
TypeInfo
Wildcard. getType()
Methods in org.h2.expression with parameters of type TypeInfo Modifier and Type Method Description (package private) static TypeInfo
SimpleCase. combineTypes(TypeInfo typeInfo, Expression e)
static ValueExpression
TypedValueExpression. get(Value value, TypeInfo type)
Create a new expression with the given value and type.(package private) static java.lang.StringBuilder
IntervalOperation. getForcedTypeSQL(java.lang.StringBuilder builder, TypeInfo forcedType)
private static ValueExpression
TypedValueExpression. getImpl(Value value, TypeInfo type, boolean preserveStrictType)
static ValueExpression
TypedValueExpression. 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 void
BinaryOperation. optimizeDecfloat(TypeInfo leftType, TypeInfo rightType)
private void
BinaryOperation. optimizeNumeric(TypeInfo leftType, TypeInfo rightType)
void
BinaryOperation. 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 TypeInfo
AggregateDataAvg. dataType
private TypeInfo
AggregateDataDefault. dataType
protected TypeInfo
AbstractAggregate. type
The type of the result.Methods in org.h2.expression.aggregate that return TypeInfo Modifier and Type Method Description private static TypeInfo
Aggregate. getAvgType(TypeInfo type)
private static TypeInfo
Aggregate. getSumType(TypeInfo type)
TypeInfo
AbstractAggregate. getType()
Methods in org.h2.expression.aggregate with parameters of type TypeInfo Modifier and Type Method Description private static TypeInfo
Aggregate. getAvgType(TypeInfo type)
private static TypeInfo
Aggregate. 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 TypeInfo
WindowFunction. getType()
-
Uses of TypeInfo in org.h2.expression.condition
Fields in org.h2.expression.condition declared as TypeInfo Modifier and Type Field Description private TypeInfo
ConditionInConstantSet. type
private TypeInfo[]
TypePredicate. typeList
Methods in org.h2.expression.condition that return TypeInfo Modifier and Type Method Description TypeInfo
Condition. 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 TypeInfo
MathFunction. commonType
private TypeInfo
CurrentDateTimeValueFunction. type
protected TypeInfo
Function0_1. type
The type of the result.private TypeInfo
SysInfoFunction. type
Methods in org.h2.expression.function that return TypeInfo Modifier and Type Method Description static TypeInfo
BitFunction. 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 TypeInfo
BitFunction. getCommonType(Expression arg1, Expression arg2)
TypeInfo
CurrentDateTimeValueFunction. getType()
TypeInfo
CurrentGeneralValueSpecification. getType()
TypeInfo
Function0_1. getType()
TypeInfo
JavaFunction. getType()
TypeInfo
SysInfoFunction. getType()
Methods in org.h2.expression.function with parameters of type TypeInfo Modifier and Type Method Description private static Value
BitFunction. getBinaryString(int function, TypeInfo type, Value v1, Value v2)
static Value
BitFunction. getBitwise(int function, TypeInfo type, Value v1, Value v2)
Computes the value of bitwise function.private static Value
BitFunction. 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 Value
DatabaseMetaLocal. getDataTypeName(TypeInfo typeInfo)
private void
DatabaseMetaLocal. 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 TypeInfo
FunctionsDB2Derby. IDENTITY_VAL_LOCAL_TYPE
private static TypeInfo
FunctionsMSSQLServer. SCOPE_IDENTITY_TYPE
Methods in org.h2.mode that return TypeInfo Modifier and Type Method Description TypeInfo
OnDuplicateKeyValues. getType()
TypeInfo
Regclass. getType()
-
Uses of TypeInfo in org.h2.mvstore.db
Methods in org.h2.mvstore.db that return TypeInfo Modifier and Type Method Description TypeInfo
SpatialKey. 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) Value
ValueDataType. 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) TypeInfo
ResultColumn. columnType
The column type.(package private) TypeInfo
SimpleResult.Column. columnType
Column type.private TypeInfo[]
RowFactory.DefaultRowFactory. columnTypes
Methods in org.h2.result that return TypeInfo Modifier and Type Method Description TypeInfo
LazyResult. getColumnType(int i)
TypeInfo
LocalResult. getColumnType(int i)
TypeInfo
ResultInterface. getColumnType(int i)
Get the column data type.TypeInfo
ResultRemote. getColumnType(int i)
TypeInfo
ResultWithPaddedStrings. getColumnType(int i)
TypeInfo
SimpleResult. getColumnType(int i)
TypeInfo[]
RowFactory.DefaultRowFactory. getColumnTypes()
abstract TypeInfo[]
RowFactory. getColumnTypes()
TypeInfo
SearchRow. getType()
Methods in org.h2.result with parameters of type TypeInfo Modifier and Type Method Description void
SimpleResult. addColumn(java.lang.String alias, java.lang.String columnName, TypeInfo columnType)
Add column to the result.void
SimpleResult. addColumn(java.lang.String columnName, TypeInfo columnType)
Add column to the result.RowFactory
RowFactory.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 TypeInfo
FunctionAlias.JavaMethod. dataType
private TypeInfo
Sequence. dataType
private TypeInfo
Domain. type
Methods in org.h2.schema that return TypeInfo Modifier and Type Method Description TypeInfo
Domain. getDataType()
TypeInfo
FunctionAlias.JavaMethod. getDataType()
Returns data type information for regular functions ornull
for table value functions.TypeInfo
Sequence. getDataType()
Methods in org.h2.schema with parameters of type TypeInfo Modifier and Type Method Description void
Domain. 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 int
PgServer. 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 TypeInfo
Column. type
Methods in org.h2.table that return TypeInfo Modifier and Type Method Description TypeInfo
Column. getType()
Methods in org.h2.table with parameters of type TypeInfo Modifier and Type Method Description protected Column
MetaTable. column(java.lang.String name, TypeInfo type)
Creates a column with the specified name and data type.private void
InformationSchemaTable. 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 void
InformationSchemaTable. 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 void
InformationSchemaTable. 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 void
InformationSchemaTable. 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 void
InformationSchemaTable. 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 void
InformationSchemaTable. 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.DataTypeInformation
InformationSchemaTable.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 TypeInfo
LegacyDateTimeUtils. 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 TypeInfo
ValueArray. componentType
private TypeInfo
ExtTypeInfoEnum. type
private TypeInfo
ValueArray. type
(package private) TypeInfo
ValueBigDecimalBase. type
private TypeInfo
ValueBinary. type
Associated TypeInfo.private TypeInfo
ValueLob. type
private TypeInfo
ValueRow. type
private TypeInfo
ValueStringBase. type
private TypeInfo
ValueVarbinary. type
Associated TypeInfo.static TypeInfo
TypeInfo. TYPE_ARRAY_UNKNOWN
ARRAY type with unknown parameters.static TypeInfo
TypeInfo. TYPE_BIGINT
BIGINT type with parameters.static TypeInfo
TypeInfo. TYPE_BINARY
BINARY type with default parameters.static TypeInfo
TypeInfo. TYPE_BLOB
BINARY LARGE OBJECT type with maximum parameters.static TypeInfo
TypeInfo. TYPE_BOOLEAN
BOOLEAN type with parameters.static TypeInfo
TypeInfo. TYPE_CHAR
CHAR type with default parameters.static TypeInfo
TypeInfo. TYPE_CLOB
CHARACTER LARGE OBJECT type with maximum parameters.static TypeInfo
TypeInfo. TYPE_DATE
DATE type with parameters.static TypeInfo
TypeInfo. TYPE_DECFLOAT
DECFLOAT type with maximum parameters.static TypeInfo
TypeInfo. TYPE_DECFLOAT_BIGINT
DECFLOAT type with parameters enough to hold a BIGINT value.static TypeInfo
TypeInfo. TYPE_DOUBLE
DOUBLE PRECISION type with parameters.static TypeInfo
TypeInfo. TYPE_ENUM_UNDEFINED
ENUM type with undefined parameters.static TypeInfo
TypeInfo. TYPE_GEOMETRY
GEOMETRY type with default parameters.private static TypeInfo[]
TypeInfo. TYPE_INFOS_BY_VALUE_TYPE
static TypeInfo
TypeInfo. TYPE_INTEGER
INTEGER type with parameters.static TypeInfo
TypeInfo. TYPE_INTERVAL_DAY
INTERVAL DAY type with maximum parameters.static TypeInfo
TypeInfo. TYPE_INTERVAL_DAY_TO_SECOND
INTERVAL DAY TO SECOND type with maximum parameters.static TypeInfo
TypeInfo. TYPE_INTERVAL_HOUR_TO_SECOND
INTERVAL HOUR TO SECOND type with maximum parameters.static TypeInfo
TypeInfo. TYPE_INTERVAL_YEAR_TO_MONTH
INTERVAL YEAR TO MONTH type with maximum parameters.static TypeInfo
TypeInfo. TYPE_JAVA_OBJECT
JAVA_OBJECT type with maximum parameters.static TypeInfo
TypeInfo. TYPE_JSON
JSON type.static TypeInfo
TypeInfo. TYPE_NULL
NULL type with parameters.static TypeInfo
TypeInfo. TYPE_NUMERIC_BIGINT
NUMERIC type with parameters enough to hold a BIGINT value.static TypeInfo
TypeInfo. TYPE_NUMERIC_FLOATING_POINT
NUMERIC type that can hold values with floating point.static TypeInfo
TypeInfo. TYPE_NUMERIC_SCALE_0
NUMERIC type with maximum precision and scale 0.static TypeInfo
TypeInfo. TYPE_REAL
REAL type with parameters.static TypeInfo
TypeInfo. TYPE_ROW_EMPTY
ROW (row value) type without fields.static TypeInfo
TypeInfo. TYPE_SMALLINT
SMALLINT type with parameters.static TypeInfo
TypeInfo. TYPE_TIME
TIME type with maximum parameters.static TypeInfo
TypeInfo. TYPE_TIME_TZ
TIME WITH TIME ZONE type with maximum parameters.static TypeInfo
TypeInfo. TYPE_TIMESTAMP
TIMESTAMP type with maximum parameters.static TypeInfo
TypeInfo. TYPE_TIMESTAMP_TZ
TIMESTAMP WITH TIME ZONE type with maximum parameters.static TypeInfo
TypeInfo. TYPE_TINYINT
TINYINT type with parameters.static TypeInfo
TypeInfo. TYPE_UNKNOWN
UNKNOWN type with parameters.static TypeInfo
TypeInfo. TYPE_UUID
UUID type with parameters.static TypeInfo
TypeInfo. TYPE_VARBINARY
BINARY VARYING type with maximum parameters.static TypeInfo
TypeInfo. TYPE_VARCHAR
CHARACTER VARYING type with maximum parameters.static TypeInfo
TypeInfo. TYPE_VARCHAR_IGNORECASE
VARCHAR_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. fields
Methods in org.h2.value that return TypeInfo Modifier and Type Method Description static TypeInfo
ValueToObjectConverter2. classToType(java.lang.Class<?> clazz)
Get the type information for the given Java class.TypeInfo
ValueArray. getComponentType()
private static TypeInfo
TypeInfo. getHigherArray(TypeInfo type1, TypeInfo type2, int d1, int d2)
private static TypeInfo
TypeInfo. getHigherRow(TypeInfo type1, TypeInfo type2)
static TypeInfo
TypeInfo. getHigherType(Typed[] values)
Get the higher data type of all values.static TypeInfo
TypeInfo. getHigherType(TypeInfo type1, TypeInfo type2)
Get the higher data type of two data types.(package private) TypeInfo
ExtTypeInfoEnum. getType()
TypeInfo
Typed. getType()
Returns the data type.TypeInfo
TypeInfo. getType()
Returns this type information.abstract TypeInfo
Value. getType()
TypeInfo
ValueArray. getType()
TypeInfo
ValueBigint. getType()
TypeInfo
ValueBinary. getType()
TypeInfo
ValueBoolean. getType()
TypeInfo
ValueDate. getType()
TypeInfo
ValueDecfloat. getType()
TypeInfo
ValueDouble. getType()
TypeInfo
ValueEnum. getType()
TypeInfo
ValueEnumBase. getType()
TypeInfo
ValueGeometry. getType()
TypeInfo
ValueInteger. getType()
TypeInfo
ValueInterval. getType()
TypeInfo
ValueJavaObject. getType()
TypeInfo
ValueJson. getType()
TypeInfo
ValueLob. getType()
TypeInfo
ValueNull. getType()
TypeInfo
ValueNumeric. getType()
TypeInfo
ValueReal. getType()
TypeInfo
ValueRow. getType()
TypeInfo
ValueSmallint. getType()
TypeInfo
ValueStringBase. getType()
TypeInfo
ValueTime. getType()
TypeInfo
ValueTimestamp. getType()
TypeInfo
ValueTimestampTimeZone. getType()
TypeInfo
ValueTimeTimeZone. getType()
TypeInfo
ValueTinyint. getType()
TypeInfo
ValueUuid. getType()
TypeInfo
ValueVarbinary. getType()
static TypeInfo
TypeInfo. getTypeInfo(int type)
Get the data type with parameters object for the given value type and maximum parameters.static TypeInfo
TypeInfo. 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.TypeInfo
Transfer. readTypeInfo()
Read a type information.private TypeInfo
Transfer. readTypeInfo19()
private TypeInfo
Transfer. readTypeInfo20()
TypeInfo
TypeInfo. toDecfloatType()
Convert this type information to compatible DECFLOAT type information.TypeInfo
TypeInfo. toNumericType()
Convert this type information to compatible NUMERIC type information.private static TypeInfo
TypeInfo. typeToRow(TypeInfo type)
TypeInfo
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 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 boolean
TypeInfo. areComparable(TypeInfo t1, TypeInfo t2)
Determines whether two specified types are comparable.static boolean
TypeInfo. areSameTypes(TypeInfo t1, TypeInfo t2)
Determines whether two specified types are the same data types without taking precision or scale into account.static boolean
DataType. areStableComparable(TypeInfo type1, TypeInfo type2)
Returns whether values of the specified data types have session-independent compare results.Value
Value. castTo(TypeInfo targetType, CastDataProvider provider)
Cast a value to the specified type.static void
TypeInfo. checkComparable(TypeInfo t1, TypeInfo t2)
Checks whether two specified types are comparable and throws an exception otherwise.Value
Value. convertForAssignTo(TypeInfo targetType, CastDataProvider provider, java.lang.Object column)
Cast a value to the specified type for assignment.Value
Value. convertTo(TypeInfo targetType)
Convert a value to the specified type without taking scale and precision into account.Value
Value. convertTo(TypeInfo targetType, CastDataProvider provider)
Convert a value to the specified type without taking scale and precision into account.private Value
Value. convertTo(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)
Convert a value to the specified type.Value
Value. convertTo(TypeInfo targetType, CastDataProvider provider, java.lang.Object column)
Convert a value to the specified type without taking scale and precision into account.private ValueArray
Value. convertToArray(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)
private ValueBinary
Value. convertToBinary(TypeInfo targetType, int conversionMode, java.lang.Object column)
private ValueBlob
Value. convertToBlob(TypeInfo targetType, int conversionMode, java.lang.Object column)
private ValueChar
Value. convertToChar(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)
private ValueClob
Value. convertToClob(TypeInfo targetType, int conversionMode, java.lang.Object column)
private ValueDecfloat
Value. convertToDecfloat(TypeInfo targetType, int conversionMode)
private ValueInterval
Value. convertToIntervalDayTime(TypeInfo targetType, int conversionMode, java.lang.Object column)
private ValueInterval
Value. convertToIntervalYearMonth(TypeInfo targetType, int conversionMode, java.lang.Object column)
ValueJavaObject
Value. convertToJavaObject(TypeInfo targetType, int conversionMode, java.lang.Object column)
Converts this value to a JAVA_OBJECT value.private ValueJson
Value. convertToJson(TypeInfo targetType, int conversionMode, java.lang.Object column)
private ValueNumeric
Value. convertToNumeric(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)
private Value
Value. convertToRow(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)
private ValueTime
Value. convertToTime(TypeInfo targetType, CastDataProvider provider, int conversionMode)
private ValueTimestamp
Value. convertToTimestamp(TypeInfo targetType, CastDataProvider provider, int conversionMode)
private ValueTimestampTimeZone
Value. convertToTimestampTimeZone(TypeInfo targetType, CastDataProvider provider, int conversionMode)
private ValueTimeTimeZone
Value. convertToTimeTimeZone(TypeInfo targetType, CastDataProvider provider, int conversionMode)
private ValueVarbinary
Value. convertToVarbinary(TypeInfo targetType, int conversionMode, java.lang.Object column)
private Value
Value. convertToVarchar(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)
private Value
Value. convertToVarcharIgnoreCase(TypeInfo targetType, int conversionMode, java.lang.Object column)
static int
DataType. convertTypeToSQLType(TypeInfo type)
Convert a value type to a SQL type.private static int
TypeInfo. dimensions(TypeInfo type)
Value
Value. divide(Value v, TypeInfo quotientType)
Divide by a value and return the result.Value
ValueBigint. divide(Value v, TypeInfo quotientType)
static ValueDecfloat
ValueDecfloat. divide(java.math.BigDecimal dividend, java.math.BigDecimal divisor, TypeInfo quotientType)
Divides toBigDecimal
values and returns aDECFLOAT
result of the specified data type.Value
ValueDecfloat. divide(Value v, TypeInfo quotientType)
Value
ValueDouble. divide(Value v, TypeInfo quotientType)
Value
ValueEnumBase. divide(Value v, TypeInfo quotientType)
Value
ValueInteger. divide(Value v, TypeInfo quotientType)
Value
ValueNumeric. divide(Value v, TypeInfo quotientType)
Value
ValueReal. divide(Value v, TypeInfo quotientType)
Value
ValueSmallint. divide(Value v, TypeInfo quotientType)
Value
ValueTime. divide(Value v, TypeInfo quotientType)
Value
ValueTinyint. divide(Value v, TypeInfo quotientType)
static ValueArray
ValueArray. get(TypeInfo componentType, Value[] list, CastDataProvider provider)
Get or create a array value for the given value array.static ValueRow
ValueRow. get(TypeInfo typeInfo, Value[] list)
Get or create a typed row value for the given value array.(package private) DbException
Value. getDataConversionError(TypeInfo targetType)
Creates new instance of the DbException for data conversion error.private static TypeInfo
TypeInfo. getHigherArray(TypeInfo type1, TypeInfo type2, int d1, int d2)
private static TypeInfo
TypeInfo. getHigherRow(TypeInfo type1, TypeInfo type2)
static TypeInfo
TypeInfo. getHigherType(TypeInfo type1, TypeInfo type2)
Get the higher data type of two data types.(package private) DbException
Value. getValueTooLongException(TypeInfo targetType, java.lang.Object column)
static boolean
TypeInfo. haveSameOrdering(TypeInfo t1, TypeInfo t2)
Determines whether two specified types have the same ordering rules.static boolean
DataType. isIndexable(TypeInfo type)
Returns whether columns with the specified data type may have an index.private Value[]
Transfer. readArrayElements(int len, TypeInfo elementType)
Value
Transfer. readValue(TypeInfo columnType)
Read a value.(package private) ValueInterval
ValueInterval. setPrecisionAndScale(TypeInfo targetType, java.lang.Object column)
private static TypeInfo
TypeInfo. typeToRow(TypeInfo type)
Transfer
Transfer. writeTypeInfo(TypeInfo type)
Write value type, precision, and scale.private void
Transfer. writeTypeInfo19(TypeInfo type)
private void
Transfer. writeTypeInfo20(TypeInfo type)
private void
Transfer. writeTypeInfoEnum(TypeInfo type)
private void
Transfer. writeTypeInfoGeometry(TypeInfo type)
private void
Transfer. 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.
-