Top Description Constructors Methods
com.mysql.cj.result

public Class LongValueFactory

extends AbstractNumericValueFactory<Long>
Class Inheritance
Imports
java.math.BigDecimal, .BigInteger, com.mysql.cj.Constants, .Messages, com.mysql.cj.conf.PropertySet, com.mysql.cj.exceptions.NumberOutOfRange, com.mysql.cj.util.DataTypeUtil

A value factory for creating long values.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Long
public Long
public Long
public Long
public Long
public String
getTargetTypeName()

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

Get the actual class name of T parameter.

Inherited from com.mysql.cj.result.AbstractNumericValueFactory:
createFromBytescreateFromYear

Constructor Detail

LongValueFactoryback to summary
public LongValueFactory(PropertySet pset)

Method Detail

createFromBigDecimalback to summary
public Long createFromBigDecimal(BigDecimal d)

Overrides com.mysql.cj.result.DefaultValueFactory.createFromBigDecimal.

Implements com.mysql.cj.result.ValueFactory.createFromBigDecimal.

Annotations
@Override
createFromBigIntegerback to summary
public Long createFromBigInteger(BigInteger i)

Overrides com.mysql.cj.result.DefaultValueFactory.createFromBigInteger.

Implements com.mysql.cj.result.ValueFactory.createFromBigInteger.

Annotations
@Override
createFromBitback to summary
public Long createFromBit(byte[] bytes, int offset, int length)

Overrides com.mysql.cj.result.DefaultValueFactory.createFromBit.

Implements com.mysql.cj.result.ValueFactory.createFromBit.

Annotations
@Override
createFromDoubleback to summary
public Long createFromDouble(double d)

Overrides com.mysql.cj.result.DefaultValueFactory.createFromDouble.

Implements com.mysql.cj.result.ValueFactory.createFromDouble.

Annotations
@Override
createFromLongback to summary
public Long createFromLong(long l)

Overrides com.mysql.cj.result.DefaultValueFactory.createFromLong.

Implements com.mysql.cj.result.ValueFactory.createFromLong.

Annotations
@Override
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