java.lang.Object
org.litebridgedb.convert.converter.SqlTimeConverter
- All Implemented Interfaces:
Converter<Time>,ConverterFunction<Time>,SqlConverter<Time>
A converter for
Time values.
Handles Types.TIME.
-
Constructor Details
-
SqlTimeConverter
public SqlTimeConverter()
-
-
Method Details
-
convert
- Specified by:
convertin interfaceConverterFunction<Time>- Parameters:
value- the value to convert, may benull- Returns:
- the converted
Time, ornull
-
type
Returns the target Java class this converter handles. -
sqlTypes
public int[] sqlTypes()Returns the SQL types associated with this converter.- Specified by:
sqlTypesin interfaceSqlConverter<Time>- Returns:
- an array containing
Types.TIME
-