Top Description Fields Constructors Methods
com.mysql.cj.result

public Class SqlTimeValueFactory

extends AbstractDateTimeValueFactory<Time>
Class Inheritance
Imports
java.sql.Time, java.util.Calendar, .Locale, .TimeZone, java.util.concurrent.locks.Lock, .ReentrantLock, com.mysql.cj.Messages, .WarningListener, com.mysql.cj.conf.PropertySet, com.mysql.cj.exceptions.DataReadException, .ExceptionFactory, .WrongArgumentException, com.mysql.cj.protocol.InternalDate, .InternalTime, .InternalTimestamp

A value factory to create java.sql.Time instances. As with other date/time types, a time zone is necessary to interpret the time values returned from the server.

Field Summary

Modifier and TypeField and Description
private final Calendar
private final Lock
private WarningListener

Constructor Summary

AccessConstructor and Description
public
public
SqlTimeValueFactory(PropertySet pset, Calendar calendar, TimeZone tz, WarningListener warningListener)

Method Summary

Modifier and TypeMethod and Description
public String
getTargetTypeName()

Implements com.mysql.cj.result.ValueFactory.getTargetTypeName.

Get the actual class name of T parameter.

pack-priv Time
public Time
public Time
public Time
Inherited from com.mysql.cj.result.AbstractDateTimeValueFactory:
createFromBytescreateFromDatecreateFromDatetimecreateFromTimecreateFromTimestampcreateFromYear

Field Detail

calback to summary
private final Calendar cal
calLockback to summary
private final Lock calLock
warningListenerback to summary
private WarningListener warningListener

Constructor Detail

SqlTimeValueFactoryback to summary
public SqlTimeValueFactory(PropertySet pset, Calendar calendar, TimeZone tz)
SqlTimeValueFactoryback to summary
public SqlTimeValueFactory(PropertySet pset, Calendar calendar, TimeZone tz, WarningListener warningListener)

Method Detail

getTargetTypeNameback to summary
public String getTargetTypeName()

Implements com.mysql.cj.result.ValueFactory.getTargetTypeName.

Doc from com.mysql.cj.result.ValueFactory.getTargetTypeName.

Get the actual class name of T parameter.

Returns:String

class name

Annotations
@Override
localCreateFromDateback to summary
pack-priv Time localCreateFromDate(InternalDate idate)

Implements abstract com.mysql.cj.result.AbstractDateTimeValueFactory.localCreateFromDate.

Annotations
@Override
localCreateFromDatetimeback to summary
public Time localCreateFromDatetime(InternalTimestamp its)

Implements abstract com.mysql.cj.result.AbstractDateTimeValueFactory.localCreateFromDatetime.

Annotations
@Override
localCreateFromTimeback to summary
public Time localCreateFromTime(InternalTime it)

Implements abstract com.mysql.cj.result.AbstractDateTimeValueFactory.localCreateFromTime.

Annotations
@Override
localCreateFromTimestampback to summary
public Time localCreateFromTimestamp(InternalTimestamp its)

Implements abstract com.mysql.cj.result.AbstractDateTimeValueFactory.localCreateFromTimestamp.

Annotations
@Override