Top Fields Constructors Methods
com.mysql.cj.conf

public Class LongPropertyDefinition

extends AbstractPropertyDefinition<Long>
Class Inheritance
Imports
com.mysql.cj.exceptions.ExceptionFactory, .ExceptionInterceptor, .WrongArgumentException

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
LongPropertyDefinition(PropertyKey key, long defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory)

public
LongPropertyDefinition(PropertyKey key, long defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory, long lowerBound, long upperBound)

Method Summary

Modifier and TypeMethod and Description
public RuntimeProperty<Long>

Returns:

RuntimeProperty
createRuntimeProperty
()

Implements com.mysql.cj.conf.PropertyDefinition.createRuntimeProperty.

Creates instance of LongProperty.

public boolean
isRangeBased()

Overrides com.mysql.cj.conf.AbstractPropertyDefinition.isRangeBased.

Implements com.mysql.cj.conf.PropertyDefinition.isRangeBased.

Returns true if property has range-based constraints

public Long
parseObject(String
value
value
,
ExceptionInterceptor
exception interceptor
exceptionInterceptor
)

Implements abstract com.mysql.cj.conf.AbstractPropertyDefinition.parseObject.

Implements com.mysql.cj.conf.PropertyDefinition.parseObject.

Returns the value object parsed from it's string representation and checked against allowable values.

Inherited from com.mysql.cj.conf.AbstractPropertyDefinition:
getAllowableValuesgetCategorygetCcAliasgetDefaultValuegetDescriptiongetLowerBoundgetNamegetOrdergetPropertyKeygetSinceVersiongetUpperBoundhasCcAliashasValueConstraintsisRuntimeModifiablesetCategorysetDefaultValuesetDescriptionsetLowerBoundsetOrdersetRuntimeModifiablesetSinceVersionsetUpperBound

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.mysql.cj.conf.AbstractPropertyDefinition.serialVersionUID.

Constructor Detail

LongPropertyDefinitionback to summary
public LongPropertyDefinition(PropertyKey key, long defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory)
LongPropertyDefinitionback to summary
public LongPropertyDefinition(PropertyKey key, long defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory, long lowerBound, long upperBound)

Method Detail

createRuntimePropertyback to summary
public RuntimeProperty<Long> createRuntimeProperty()

Implements com.mysql.cj.conf.PropertyDefinition.createRuntimeProperty.

Creates instance of LongProperty.

Returns:RuntimeProperty<Long>

RuntimeProperty

Annotations
@Override
isRangeBasedback to summary
public boolean isRangeBased()

Overrides com.mysql.cj.conf.AbstractPropertyDefinition.isRangeBased.

Implements com.mysql.cj.conf.PropertyDefinition.isRangeBased.

Doc from com.mysql.cj.conf.PropertyDefinition.isRangeBased.

Returns true if property has range-based constraints

Returns:boolean

true if property has range-based constraints

Annotations
@Override
parseObjectback to summary
public Long parseObject(String value, ExceptionInterceptor exceptionInterceptor)

Implements abstract com.mysql.cj.conf.AbstractPropertyDefinition.parseObject.

Implements com.mysql.cj.conf.PropertyDefinition.parseObject.

Doc from com.mysql.cj.conf.PropertyDefinition.parseObject.

Returns the value object parsed from it's string representation and checked against allowable values.

Parameters
value:String

value

exceptionInterceptor:ExceptionInterceptor

exception interceptor

Returns:Long

the value object

Annotations
@Override