java.lang.Object
org.gridgain.ignite.migrationtools.adapter.internal.mapper.converters.DateToInstantConverter
- All Implemented Interfaces:
org.apache.ignite3.table.mapper.TypeConverter<Date,Instant>
public class DateToInstantConverter
extends Object
implements org.apache.ignite3.table.mapper.TypeConverter<Date,Instant>
Converts Java Date Calendars to Instants.
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DateToInstantConverter
public DateToInstantConverter()
-
Method Details
-
toColumnType
- Specified by:
toColumnType in interface org.apache.ignite3.table.mapper.TypeConverter<Date,Instant>
- Throws:
Exception
-
toObjectType
- Specified by:
toObjectType in interface org.apache.ignite3.table.mapper.TypeConverter<Date,Instant>
- Throws:
Exception