Uses of Interface
org.h2.engine.CastDataProvider
Packages that use CastDataProvider
Package
Description
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).
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.engine
Classes in org.h2.engine that implement CastDataProviderModifier and TypeClassDescriptionfinal classThere is one database object per open database.classA local or remote session.final classA session represents an embedded database connection.final classThe 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 TypeClassDescriptionclassRepresents a connection (session) to a database. -
Uses of CastDataProvider in org.h2.mvstore.db
Methods in org.h2.mvstore.db with parameters of type CastDataProviderModifier and TypeMethodDescriptionintSpatialKey.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 TypeMethodDescriptionintSearchRow.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 TypeMethodDescriptionintTable.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 ValueDateLegacyDateTimeUtils.fromDate(CastDataProvider provider, TimeZone timeZone, Date date) Get or create a date value for the given date.static ValueTimeLegacyDateTimeUtils.fromTime(CastDataProvider provider, TimeZone timeZone, Time time) Get or create a time value for the given time.static ValueTimestampLegacyDateTimeUtils.fromTimestamp(CastDataProvider provider, long ms, int nanos) Get or create a timestamp value for the given date/time in millis.static ValueTimestampLegacyDateTimeUtils.fromTimestamp(CastDataProvider provider, TimeZone timeZone, Timestamp timestamp) Get or create a timestamp value for the given timestamp.static longLegacyDateTimeUtils.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 intLegacyDateTimeUtils.getTimeZoneOffsetMillis(CastDataProvider provider, long ms) Returns local time zone offset for a specified timestamp.static ValueLegacyDateTimeUtils.legacyObjectToValue(CastDataProvider session, Object x) Convert a legacy Java object to a value.static ValueDateTimeUtils.parseTimestamp(String s, CastDataProvider provider, boolean withTimeZone) Parses timestamp value from the specified string.static ValueTimeTimeZoneDateTimeUtils.parseTimeWithTimeZone(String s, CastDataProvider provider) Parses TIME WITH TIME ZONE value from the specified string.static DateLegacyDateTimeUtils.toDate(CastDataProvider provider, TimeZone timeZone, Value value) Get the date value converted to the specified time zone.static TimeLegacyDateTimeUtils.toTime(CastDataProvider provider, TimeZone timeZone, Value value) Get the time value converted to the specified time zone.static TimestampLegacyDateTimeUtils.toTimestamp(CastDataProvider provider, TimeZone timeZone, Value value) Get the timestamp value converted to the specified time zone.static InstantJSR310Utils.valueToInstant(Value value, CastDataProvider provider) Converts a value to a Instant.static <T> TLegacyDateTimeUtils.valueToLegacyType(Class<T> type, Value value, CastDataProvider provider) Converts the specified value to an object of the specified legacy type.static LocalDateJSR310Utils.valueToLocalDate(Value value, CastDataProvider provider) Converts a value to a LocalDate.static LocalDateTimeJSR310Utils.valueToLocalDateTime(Value value, CastDataProvider provider) Converts a value to a LocalDateTime.static LocalTimeJSR310Utils.valueToLocalTime(Value value, CastDataProvider provider) Converts a value to a LocalTime.static OffsetDateTimeJSR310Utils.valueToOffsetDateTime(Value value, CastDataProvider provider) Converts a value to a OffsetDateTime.static OffsetTimeJSR310Utils.valueToOffsetTime(Value value, CastDataProvider provider) Converts a value to a OffsetTime.static ZonedDateTimeJSR310Utils.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 ValueValue.castTo(TypeInfo targetType, CastDataProvider provider) Cast a value to the specified type.final intValue.compareTo(Value v, CastDataProvider provider, CompareMode compareMode) Compare this value against another value using the specified compare mode.abstract intValue.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) Compare this value against another value given that the values are of the same data type.intValueArray.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueBigint.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueBlob.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) intValueBoolean.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueChar.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) intValueClob.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) intValueDate.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueDecfloat.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueDouble.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueEnumBase.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) intValueInteger.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueInterval.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) intValueNull.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) intValueNumeric.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueReal.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueRow.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueSmallint.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueTime.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueTimestamp.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueTimestampTimeZone.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueTimeTimeZone.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueTinyint.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueUuid.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueVarcharIgnoreCase.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) intValue.compareWithNull(Value v, boolean forEquality, CastDataProvider provider, CompareMode compareMode) Compare this value against another value using the specified compare mode.intValueCollectionBase.compareWithNull(Value v, boolean forEquality, CastDataProvider provider, CompareMode compareMode) final ValueValue.convertForAssignTo(TypeInfo targetType, CastDataProvider provider, Object column) Cast a value to the specified type for assignment.final ValueValue.convertTo(int targetType, CastDataProvider provider) Convert 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 ValueArrayValue.convertToAnyArray(CastDataProvider provider) Convert this value to any ARRAY data type.final ValueDateValue.convertToDate(CastDataProvider provider) Converts this value to a DATE value.final ValueEnumValue.convertToEnum(ExtTypeInfoEnum extTypeInfo, CastDataProvider provider) Converts this value to an ENUM value.static ValueArrayValueArray.get(TypeInfo componentType, Value[] list, CastDataProvider provider) Get or create a array value for the given value array.static ValueArrayValueArray.get(Value[] list, CastDataProvider provider) Get or create a array value for the given value array.static ValueValueVarchar.get(String s, CastDataProvider provider) Get or create a VARCHAR value for the given string.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.static ValueTimestampValueTimestamp.parse(String s, CastDataProvider provider) Parse a string to a ValueTimestamp, using the givenCastDataProvider.static ValueTimestampTimeZoneValueTimestampTimeZone.parse(String s, CastDataProvider provider) Parse a string to a ValueTimestamp.