Module litebridge.db.oracle
Class OracleOffsetDateTimeConverter
java.lang.Object
org.litebridgedb.convert.converter.OffsetDateTimeConverter
org.litebridgedb.db.oracle.convert.OracleOffsetDateTimeConverter
- All Implemented Interfaces:
Converter<OffsetDateTime>,ConverterFunction<OffsetDateTime>,SqlConverter<OffsetDateTime>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable OffsetDateTimeConverts the given value to the target type.int[]sqlTypes()Returns the SQL types associated with this converter.Methods inherited from class org.litebridgedb.convert.converter.OffsetDateTimeConverter
typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.litebridgedb.convert.converter.Converter
primitiveType
-
Constructor Details
-
OracleOffsetDateTimeConverter
public OracleOffsetDateTimeConverter()
-
-
Method Details
-
convert
Description copied from interface:ConverterFunctionConverts the given value to the target type.- Specified by:
convertin interfaceConverterFunction<OffsetDateTime>- Overrides:
convertin classOffsetDateTimeConverter- Parameters:
value- the value to convert, may benull- Returns:
- the converted value, or
nullif the input wasnullor could not be converted
-
sqlTypes
public int[] sqlTypes()Description copied from class:OffsetDateTimeConverterReturns the SQL types associated with this converter.- Specified by:
sqlTypesin interfaceSqlConverter<OffsetDateTime>- Overrides:
sqlTypesin classOffsetDateTimeConverter- Returns:
- an array containing
Types.TIMESTAMP_WITH_TIMEZONE
-