Uses of Interface
org.h2.engine.CastDataProvider
Packages that use CastDataProvider
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.
Implementation of the JDBC API (package java.sql).
Implementation of the extended JDBC API (package javax.sql).
Helper classes to use the MVStore in the H2 database.
Implementation of row and internal result sets.
Classes related to a table and table meta data.
Internal utility classes.
Data type and value implementations.
-
Uses of CastDataProvider in org.h2.command
Fields in org.h2.command declared as CastDataProviderMethods in org.h2.command with parameters of type CastDataProviderModifier and TypeMethodDescriptionprivate static int
Tokenizer.readHexNumber
(String sql, CastDataProvider provider, int tokenStart, int end, int i, ArrayList<Token> tokens) (package private) Value
Token.BigintToken.value
(CastDataProvider provider) (package private) Value
Token.BinaryStringToken.value
(CastDataProvider provider) (package private) Value
Token.CharacterStringToken.value
(CastDataProvider provider) (package private) Value
Token.IntegerToken.value
(CastDataProvider provider) (package private) Value
Token.value
(CastDataProvider provider) (package private) Value
Token.ValueToken.value
(CastDataProvider provider) Constructors in org.h2.command with parameters of type CastDataProviderModifierConstructorDescription(package private)
Tokenizer
(CastDataProvider provider, boolean identifiersToUpper, boolean identifiersToLower, BitSet nonKeywords) -
Uses of CastDataProvider in org.h2.engine
Classes in org.h2.engine that implement CastDataProviderModifier and TypeClassDescriptionfinal class
There is one database object per open database.class
A local or remote session.final class
A session represents an embedded database connection.final class
The client side part of a session when using the server mode. -
Uses of CastDataProvider in org.h2.jdbc
Classes in org.h2.jdbc that implement CastDataProviderModifier and TypeClassDescriptionclass
Represents a connection (session) to a database. -
Uses of CastDataProvider in org.h2.jdbcx
Classes in org.h2.jdbcx that implement CastDataProviderModifier and TypeClassDescription(package private) final class
A pooled connection. -
Uses of CastDataProvider in org.h2.mvstore.db
Fields in org.h2.mvstore.db declared as CastDataProviderMethods in org.h2.mvstore.db with parameters of type CastDataProviderModifier and TypeMethodDescriptionint
SpatialKey.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) Constructors in org.h2.mvstore.db with parameters of type CastDataProviderModifierConstructorDescriptionRowDataType
(CastDataProvider provider, CompareMode compareMode, DataHandler handler, int[] sortTypes, int[] indexes, int columnCount, boolean storeKeys) ValueDataType
(CastDataProvider provider, CompareMode compareMode, DataHandler handler, int[] sortTypes) -
Uses of CastDataProvider in org.h2.result
Methods in org.h2.result with parameters of type CastDataProviderModifier and TypeMethodDescriptionint
SearchRow.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) RowFactory.createRowFactory
(CastDataProvider provider, CompareMode compareMode, DataHandler handler, Typed[] columns, IndexColumn[] indexColumns, boolean storeKeys) Create a new row factory.RowFactory.DefaultRowFactory.createRowFactory
(CastDataProvider provider, CompareMode compareMode, DataHandler handler, int[] sortTypes, int[] indexes, TypeInfo[] columnTypes, int columnCount, boolean storeKeys) Create a new row factory.RowFactory.DefaultRowFactory.createRowFactory
(CastDataProvider provider, CompareMode compareMode, DataHandler handler, Typed[] columns, IndexColumn[] indexColumns, boolean storeKeys) -
Uses of CastDataProvider in org.h2.table
Methods in org.h2.table with parameters of type CastDataProviderModifier and TypeMethodDescriptionint
Table.compareValues
(CastDataProvider provider, Value a, Value b) Compare two values with the current comparison mode.Column.convert
(CastDataProvider provider, Value v) Convert a value to this column's type without precision and scale checks. -
Uses of CastDataProvider in org.h2.util
Methods in org.h2.util with parameters of type CastDataProviderModifier and TypeMethodDescriptionstatic long[]
DateTimeUtils.dateAndTimeFromValue
(Value value, CastDataProvider provider) Extracts date value and nanos of day from the specified value.static ValueDate
LegacyDateTimeUtils.fromDate
(CastDataProvider provider, TimeZone timeZone, Date date) Get or create a date value for the given date.static ValueTime
LegacyDateTimeUtils.fromTime
(CastDataProvider provider, TimeZone timeZone, Time time) Get or create a time value for the given time.static ValueTimestamp
LegacyDateTimeUtils.fromTimestamp
(CastDataProvider provider, long ms, int nanos) Get or create a timestamp value for the given date/time in millis.static ValueTimestamp
LegacyDateTimeUtils.fromTimestamp
(CastDataProvider provider, TimeZone timeZone, Timestamp timestamp) Get or create a timestamp value for the given timestamp.static long
LegacyDateTimeUtils.getMillis
(CastDataProvider provider, TimeZone tz, long dateValue, long timeNanos) Calculate the milliseconds since 1970-01-01 (UTC) for the given date and time (in the specified timezone).static int
LegacyDateTimeUtils.getTimeZoneOffsetMillis
(CastDataProvider provider, long ms) Returns local time zone offset for a specified timestamp.static Value
LegacyDateTimeUtils.legacyObjectToValue
(CastDataProvider session, Object x) Convert a legacy Java object to a value.static Value
DateTimeUtils.parseTimestamp
(String s, CastDataProvider provider, boolean withTimeZone) Parses timestamp value from the specified string.static ValueTimeTimeZone
DateTimeUtils.parseTimeWithTimeZone
(String s, CastDataProvider provider) Parses TIME WITH TIME ZONE value from the specified string.static Date
LegacyDateTimeUtils.toDate
(CastDataProvider provider, TimeZone timeZone, Value value) Get the date value converted to the specified time zone.static Time
LegacyDateTimeUtils.toTime
(CastDataProvider provider, TimeZone timeZone, Value value) Get the time value converted to the specified time zone.static Timestamp
LegacyDateTimeUtils.toTimestamp
(CastDataProvider provider, TimeZone timeZone, Value value) Get the timestamp value converted to the specified time zone.static Instant
JSR310Utils.valueToInstant
(Value value, CastDataProvider provider) Converts a value to a Instant.static <T> T
LegacyDateTimeUtils.valueToLegacyType
(Class<T> type, Value value, CastDataProvider provider) Converts the specified value to an object of the specified legacy type.static LocalDate
JSR310Utils.valueToLocalDate
(Value value, CastDataProvider provider) Converts a value to a LocalDate.static LocalDateTime
JSR310Utils.valueToLocalDateTime
(Value value, CastDataProvider provider) Converts a value to a LocalDateTime.static LocalTime
JSR310Utils.valueToLocalTime
(Value value, CastDataProvider provider) Converts a value to a LocalTime.static OffsetDateTime
JSR310Utils.valueToOffsetDateTime
(Value value, CastDataProvider provider) Converts a value to a OffsetDateTime.static OffsetTime
JSR310Utils.valueToOffsetTime
(Value value, CastDataProvider provider) Converts a value to a OffsetTime.static ZonedDateTime
JSR310Utils.valueToZonedDateTime
(Value value, CastDataProvider provider) Converts a value to a ZonedDateTime. -
Uses of CastDataProvider in org.h2.value
Methods in org.h2.value with parameters of type CastDataProviderModifier and TypeMethodDescriptionfinal Value
Value.castTo
(TypeInfo targetType, CastDataProvider provider) Cast a value to the specified type.final int
Value.compareTo
(Value v, CastDataProvider provider, CompareMode compareMode) Compare this value against another value using the specified compare mode.private int
Value.compareToNotNullable
(Value v, CastDataProvider provider, CompareMode compareMode) abstract int
Value.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) Compare this value against another value given that the values are of the same data type.int
ValueArray.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueBigint.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueBlob.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
ValueBoolean.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) final int
ValueBytesBase.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
ValueChar.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
ValueClob.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
ValueDate.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueDecfloat.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueDouble.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueEnumBase.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
ValueInteger.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueInterval.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
ValueNull.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
ValueNumeric.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueReal.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueRow.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueSmallint.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueStringBase.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
ValueTime.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueTimestamp.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueTimestampTimeZone.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueTimeTimeZone.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueTinyint.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueUuid.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueVarcharIgnoreCase.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
Value.compareWithNull
(Value v, boolean forEquality, CastDataProvider provider, CompareMode compareMode) Compare this value against another value using the specified compare mode.int
ValueCollectionBase.compareWithNull
(Value v, boolean forEquality, CastDataProvider provider, CompareMode compareMode) final Value
Value.convertForAssignTo
(TypeInfo targetType, CastDataProvider provider, Object column) Cast a value to the specified type for assignment.final Value
Value.convertTo
(int targetType, CastDataProvider provider) Convert a value to the specified type without taking scale and precision into account.final 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, Object column) Convert a value to the specified type.final Value
Value.convertTo
(TypeInfo targetType, CastDataProvider provider, Object column) Convert a value to the specified type without taking scale and precision into account.final ValueArray
Value.convertToAnyArray
(CastDataProvider provider) Convert this value to any ARRAY data type.private ValueArray
Value.convertToArray
(TypeInfo targetType, CastDataProvider provider, int conversionMode, Object column) private ValueChar
Value.convertToChar
(TypeInfo targetType, CastDataProvider provider, int conversionMode, Object column) final ValueDate
Value.convertToDate
(CastDataProvider provider) Converts this value to a DATE value.final ValueEnum
Value.convertToEnum
(ExtTypeInfoEnum extTypeInfo, CastDataProvider provider) Converts this value to an ENUM value.private ValueNumeric
Value.convertToNumeric
(TypeInfo targetType, CastDataProvider provider, int conversionMode, Object column) private Value
Value.convertToRow
(TypeInfo targetType, CastDataProvider provider, int conversionMode, 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 Value
Value.convertToVarchar
(TypeInfo targetType, CastDataProvider provider, int conversionMode, Object column) static ValueArray
ValueArray.get
(TypeInfo componentType, Value[] list, CastDataProvider provider) Get or create a array value for the given value array.static ValueArray
ValueArray.get
(Value[] list, CastDataProvider provider) Get or create a array value for the given value array.static Value
ValueVarchar.get
(String s, CastDataProvider provider) Get or create a VARCHAR value for the given string.private long
Value.getLocalTimeNanos
(CastDataProvider provider) ExtTypeInfoEnum.getValue
(int ordinal, CastDataProvider provider) Get ValueEnum instance for an ordinal.ExtTypeInfoEnum.getValue
(String label, CastDataProvider provider) Get ValueEnum instance for a label string.private ValueEnum
ExtTypeInfoEnum.getValueOrNull
(String label, CastDataProvider provider) static ValueTimestamp
ValueTimestamp.parse
(String s, CastDataProvider provider) Parse a string to a ValueTimestamp, using the givenCastDataProvider
.static ValueTimestampTimeZone
ValueTimestampTimeZone.parse
(String s, CastDataProvider provider) Parse a string to a ValueTimestamp.Constructors in org.h2.value with parameters of type CastDataProviderModifierConstructorDescriptionprivate
ValueArray
(TypeInfo componentType, Value[] list, CastDataProvider provider)