类 LongPropertyDefinition
- java.lang.Object
-
- com.mysql.cj.conf.AbstractPropertyDefinition<Long>
-
- com.mysql.cj.conf.LongPropertyDefinition
-
- 所有已实现的接口:
PropertyDefinition<Long>,Serializable
public class LongPropertyDefinition extends AbstractPropertyDefinition<Long>
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 LongPropertyDefinition(PropertyKey key, long defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory)LongPropertyDefinition(PropertyKey key, long defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory, long lowerBound, long upperBound)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 RuntimeProperty<Long>createRuntimeProperty()Creates instance of LongProperty.booleanisRangeBased()Returns true if property has range-based constraintsLongparseObject(String value, ExceptionInterceptor exceptionInterceptor)Returns the value object parsed from it's string representation and checked against allowable values.-
从类继承的方法 com.mysql.cj.conf.AbstractPropertyDefinition
getAllowableValues, getCategory, getCcAlias, getDefaultValue, getDescription, getLowerBound, getName, getOrder, getPropertyKey, getSinceVersion, getUpperBound, hasCcAlias, hasValueConstraints, isRuntimeModifiable, setCategory, setDefaultValue, setDescription, setLowerBound, setOrder, setRuntimeModifiable, setSinceVersion, setUpperBound
-
-
-
-
构造器详细资料
-
LongPropertyDefinition
public LongPropertyDefinition(PropertyKey key, long defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory)
-
LongPropertyDefinition
public LongPropertyDefinition(PropertyKey key, long defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory, long lowerBound, long upperBound)
-
-
方法详细资料
-
parseObject
public Long parseObject(String value, ExceptionInterceptor exceptionInterceptor)
从接口复制的说明:PropertyDefinitionReturns the value object parsed from it's string representation and checked against allowable values.- 指定者:
parseObject在接口中PropertyDefinition<Long>- 指定者:
parseObject在类中AbstractPropertyDefinition<Long>- 参数:
value- valueexceptionInterceptor- exception interceptor- 返回:
- the value object
-
isRangeBased
public boolean isRangeBased()
从接口复制的说明:PropertyDefinitionReturns true if property has range-based constraints- 指定者:
isRangeBased在接口中PropertyDefinition<Long>- 覆盖:
isRangeBased在类中AbstractPropertyDefinition<Long>- 返回:
- true if property has range-based constraints
-
createRuntimeProperty
public RuntimeProperty<Long> createRuntimeProperty()
Creates instance of LongProperty.- 返回:
- RuntimeProperty
-
-