Uses of Interface
org.h2.engine.CastDataProvider
-
Packages that use CastDataProvider Package Description org.h2.command This package contains the parser and the base classes for prepared SQL statements.org.h2.engine Contains high level classes of the database and classes that don't fit in another sub-package.org.h2.jdbc Implementation of the JDBC API (package java.sql).org.h2.jdbcx Implementation of the extended JDBC API (package javax.sql).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.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 CastDataProvider in org.h2.command
Fields in org.h2.command declared as CastDataProvider Modifier and Type Field Description private CastDataProviderTokenizer. providerMethods in org.h2.command with parameters of type CastDataProvider Modifier and Type Method Description private static intTokenizer. readHexNumber(java.lang.String sql, CastDataProvider provider, int tokenStart, int end, int i, java.util.ArrayList<Token> tokens)(package private) ValueToken.BigintToken. value(CastDataProvider provider)(package private) ValueToken.BinaryStringToken. value(CastDataProvider provider)(package private) ValueToken.CharacterStringToken. value(CastDataProvider provider)(package private) ValueToken.IntegerToken. value(CastDataProvider provider)(package private) ValueToken. value(CastDataProvider provider)(package private) ValueToken.ValueToken. value(CastDataProvider provider)Constructors in org.h2.command with parameters of type CastDataProvider Constructor Description Tokenizer(CastDataProvider provider, boolean identifiersToUpper, boolean identifiersToLower, java.util.BitSet nonKeywords) -
Uses of CastDataProvider in org.h2.engine
Classes in org.h2.engine that implement CastDataProvider Modifier and Type Class Description classDatabaseThere is one database object per open database.classSessionA local or remote session.classSessionLocalA session represents an embedded database connection.classSessionRemoteThe 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 CastDataProvider Modifier and Type Class Description classJdbcConnectionRepresents a connection (session) to a database. -
Uses of CastDataProvider in org.h2.jdbcx
Classes in org.h2.jdbcx that implement CastDataProvider Modifier and Type Class Description (package private) classJdbcXAConnection.PooledJdbcConnectionA pooled connection. -
Uses of CastDataProvider in org.h2.mvstore.db
Fields in org.h2.mvstore.db declared as CastDataProvider Modifier and Type Field Description (package private) CastDataProviderValueDataType. providerMethods in org.h2.mvstore.db with parameters of type CastDataProvider Modifier and Type Method Description intSpatialKey. compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider)Constructors in org.h2.mvstore.db with parameters of type CastDataProvider Constructor Description RowDataType(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 CastDataProvider Modifier and Type Method Description intSearchRow. compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider)RowFactoryRowFactory. createRowFactory(CastDataProvider provider, CompareMode compareMode, DataHandler handler, Typed[] columns, IndexColumn[] indexColumns, boolean storeKeys)Create a new row factory.RowFactoryRowFactory.DefaultRowFactory. createRowFactory(CastDataProvider provider, CompareMode compareMode, DataHandler handler, int[] sortTypes, int[] indexes, TypeInfo[] columnTypes, int columnCount, boolean storeKeys)Create a new row factory.RowFactoryRowFactory.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 CastDataProvider Modifier and Type Method Description intTable. compareValues(CastDataProvider provider, Value a, Value b)Compare two values with the current comparison mode.ValueColumn. 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 CastDataProvider Modifier and Type Method Description static long[]DateTimeUtils. dateAndTimeFromValue(Value value, CastDataProvider provider)Extracts date value and nanos of day from the specified value.static ValueDateLegacyDateTimeUtils. fromDate(CastDataProvider provider, java.util.TimeZone timeZone, java.sql.Date date)Get or create a date value for the given date.static ValueTimeLegacyDateTimeUtils. fromTime(CastDataProvider provider, java.util.TimeZone timeZone, java.sql.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, java.util.TimeZone timeZone, java.sql.Timestamp timestamp)Get or create a timestamp value for the given timestamp.static longLegacyDateTimeUtils. getMillis(CastDataProvider provider, java.util.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, java.lang.Object x)Convert a legacy Java object to a value.static ValueDateTimeUtils. parseTimestamp(java.lang.String s, CastDataProvider provider, boolean withTimeZone)Parses timestamp value from the specified string.static ValueTimeTimeZoneDateTimeUtils. parseTimeWithTimeZone(java.lang.String s, CastDataProvider provider)Parses TIME WITH TIME ZONE value from the specified string.static java.sql.DateLegacyDateTimeUtils. toDate(CastDataProvider provider, java.util.TimeZone timeZone, Value value)Get the date value converted to the specified time zone.static java.sql.TimeLegacyDateTimeUtils. toTime(CastDataProvider provider, java.util.TimeZone timeZone, Value value)Get the time value converted to the specified time zone.static java.sql.TimestampLegacyDateTimeUtils. toTimestamp(CastDataProvider provider, java.util.TimeZone timeZone, Value value)Get the timestamp value converted to the specified time zone.static java.time.InstantJSR310Utils. valueToInstant(Value value, CastDataProvider provider)Converts a value to a Instant.static <T> TLegacyDateTimeUtils. valueToLegacyType(java.lang.Class<T> type, Value value, CastDataProvider provider)Converts the specified value to an object of the specified legacy type.static java.time.LocalDateJSR310Utils. valueToLocalDate(Value value, CastDataProvider provider)Converts a value to a LocalDate.static java.time.LocalDateTimeJSR310Utils. valueToLocalDateTime(Value value, CastDataProvider provider)Converts a value to a LocalDateTime.static java.time.LocalTimeJSR310Utils. valueToLocalTime(Value value, CastDataProvider provider)Converts a value to a LocalTime.static java.time.OffsetDateTimeJSR310Utils. valueToOffsetDateTime(Value value, CastDataProvider provider)Converts a value to a OffsetDateTime.static java.time.OffsetTimeJSR310Utils. valueToOffsetTime(Value value, CastDataProvider provider)Converts a value to a OffsetTime.static java.time.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 CastDataProvider Modifier and Type Method Description ValueValue. castTo(TypeInfo targetType, CastDataProvider provider)Cast a value to the specified type.intValue. compareTo(Value v, CastDataProvider provider, CompareMode compareMode)Compare this value against another value using the specified compare mode.private intValue. compareToNotNullable(Value v, CastDataProvider provider, CompareMode compareMode)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)intValueBytesBase. compareTypeSafe(Value v, 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)intValueStringBase. compareTypeSafe(Value v, 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)ValueValue. convertForAssignTo(TypeInfo targetType, CastDataProvider provider, java.lang.Object column)Cast a value to the specified type for assignment.ValueValue. convertTo(int targetType, CastDataProvider provider)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.ValueArrayValue. convertToAnyArray(CastDataProvider provider)Convert this value to any ARRAY data type.private ValueArrayValue. convertToArray(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)private ValueCharValue. convertToChar(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)ValueDateValue. convertToDate(CastDataProvider provider)Converts this value to a DATE value.ValueEnumValue. convertToEnum(ExtTypeInfoEnum extTypeInfo, CastDataProvider provider)Converts this value to an ENUM value.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 ValueValue. convertToVarchar(TypeInfo targetType, CastDataProvider provider, int conversionMode, java.lang.Object column)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(java.lang.String s, CastDataProvider provider)Get or create a VARCHAR value for the given string.private longValue. getLocalTimeNanos(CastDataProvider provider)ValueEnumExtTypeInfoEnum. getValue(int ordinal, CastDataProvider provider)Get ValueEnum instance for an ordinal.ValueEnumExtTypeInfoEnum. getValue(java.lang.String label, CastDataProvider provider)Get ValueEnum instance for a label string.private ValueEnumExtTypeInfoEnum. getValueOrNull(java.lang.String label, CastDataProvider provider)static ValueTimestampValueTimestamp. parse(java.lang.String s, CastDataProvider provider)Parse a string to a ValueTimestamp, using the givenCastDataProvider.static ValueTimestampTimeZoneValueTimestampTimeZone. parse(java.lang.String s, CastDataProvider provider)Parse a string to a ValueTimestamp.Constructors in org.h2.value with parameters of type CastDataProvider Constructor Description ValueArray(TypeInfo componentType, Value[] list, CastDataProvider provider)
-