Top Fields Constructors Methods
com.mysql.cj.conf

public Class DefaultPropertySet

extends Object
implements PropertySet, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, com.mysql.cj.conf.PropertySet
Known Direct Subclasses
com.mysql.cj.jdbc.JdbcPropertySetImpl
Imports
java.io.Serializable, java.util.HashMap, .Map, .Properties, com.mysql.cj.Messages, com.mysql.cj.conf.PropertyDefinitions.SslMode, com.mysql.cj.exceptions.CJException, .ExceptionFactory, .WrongArgumentException

Field Summary

Modifier and TypeField and Description
private final Map<PropertyKey, RuntimeProperty<?>>
private final Map<String, RuntimeProperty<?>>
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public Properties
public RuntimeProperty<Boolean>
public RuntimeProperty<Boolean>
public <T extends Enum<T>> RuntimeProperty<T>
public <T extends Enum<T>> RuntimeProperty<T>
public RuntimeProperty<Integer>
public RuntimeProperty<Integer>
public RuntimeProperty<Long>
public RuntimeProperty<Long>
public RuntimeProperty<Integer>
public RuntimeProperty<Integer>
public <T> RuntimeProperty<T>
public <T> RuntimeProperty<T>
public RuntimeProperty<String>
public RuntimeProperty<String>
public void
initializeProperties(Properties
properties
props
)

Implements com.mysql.cj.conf.PropertySet.initializeProperties.

Initializes the property set with driver properties that come from URL or passed to the driver manager.

public void
public void
public void
public void
reset()

Implements com.mysql.cj.conf.PropertySet.reset.

Reset all properties to their initial values.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

PROPERTY_KEY_TO_RUNTIME_PROPERTYback to summary
private final Map<PropertyKey, RuntimeProperty<?>> PROPERTY_KEY_TO_RUNTIME_PROPERTY
PROPERTY_NAME_TO_RUNTIME_PROPERTYback to summary
private final Map<String, RuntimeProperty<?>> PROPERTY_NAME_TO_RUNTIME_PROPERTY
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

DefaultPropertySetback to summary
public DefaultPropertySet()

Method Detail

addPropertyback to summary
public void addProperty(RuntimeProperty<?> prop)

Implements com.mysql.cj.conf.PropertySet.addProperty.

Annotations
@Override
exposeAsPropertiesback to summary
public Properties exposeAsProperties()

Implements com.mysql.cj.conf.PropertySet.exposeAsProperties.

Annotations
@Override
getBooleanPropertyback to summary
public RuntimeProperty<Boolean> getBooleanProperty(String name)

Implements com.mysql.cj.conf.PropertySet.getBooleanProperty.

Annotations
@Override
getBooleanPropertyback to summary
public RuntimeProperty<Boolean> getBooleanProperty(PropertyKey key)

Implements com.mysql.cj.conf.PropertySet.getBooleanProperty.

Annotations
@Override
getEnumPropertyback to summary
public <T extends Enum<T>> RuntimeProperty<T> getEnumProperty(String name)

Implements com.mysql.cj.conf.PropertySet.getEnumProperty.

Annotations
@Override
getEnumPropertyback to summary
public <T extends Enum<T>> RuntimeProperty<T> getEnumProperty(PropertyKey key)

Implements com.mysql.cj.conf.PropertySet.getEnumProperty.

Annotations
@Override
getIntegerPropertyback to summary
public RuntimeProperty<Integer> getIntegerProperty(String name)

Implements com.mysql.cj.conf.PropertySet.getIntegerProperty.

Annotations
@Override
getIntegerPropertyback to summary
public RuntimeProperty<Integer> getIntegerProperty(PropertyKey key)

Implements com.mysql.cj.conf.PropertySet.getIntegerProperty.

Annotations
@Override
getLongPropertyback to summary
public RuntimeProperty<Long> getLongProperty(String name)

Implements com.mysql.cj.conf.PropertySet.getLongProperty.

Annotations
@Override
getLongPropertyback to summary
public RuntimeProperty<Long> getLongProperty(PropertyKey key)

Implements com.mysql.cj.conf.PropertySet.getLongProperty.

Annotations
@Override
getMemorySizePropertyback to summary
public RuntimeProperty<Integer> getMemorySizeProperty(String name)

Implements com.mysql.cj.conf.PropertySet.getMemorySizeProperty.

Annotations
@Override
getMemorySizePropertyback to summary
public RuntimeProperty<Integer> getMemorySizeProperty(PropertyKey key)

Implements com.mysql.cj.conf.PropertySet.getMemorySizeProperty.

Annotations
@Override
getPropertyback to summary
public <T> RuntimeProperty<T> getProperty(String name)

Implements com.mysql.cj.conf.PropertySet.getProperty.

Annotations
@SuppressWarnings:unchecked
@Override
getPropertyback to summary
public <T> RuntimeProperty<T> getProperty(PropertyKey key)

Implements com.mysql.cj.conf.PropertySet.getProperty.

Annotations
@SuppressWarnings:unchecked
@Override
getStringPropertyback to summary
public RuntimeProperty<String> getStringProperty(String name)

Implements com.mysql.cj.conf.PropertySet.getStringProperty.

Annotations
@Override
getStringPropertyback to summary
public RuntimeProperty<String> getStringProperty(PropertyKey key)

Implements com.mysql.cj.conf.PropertySet.getStringProperty.

Annotations
@Override
initializePropertiesback to summary
public void initializeProperties(Properties props)

Implements com.mysql.cj.conf.PropertySet.initializeProperties.

Doc from com.mysql.cj.conf.PropertySet.initializeProperties.

Initializes the property set with driver properties that come from URL or passed to the driver manager.

Parameters
props:Properties

properties

Annotations
@Override
postInitializationback to summary
public void postInitialization()

Implements com.mysql.cj.conf.PropertySet.postInitialization.

Annotations
@Override
removePropertyback to summary
public void removeProperty(String name)

Implements com.mysql.cj.conf.PropertySet.removeProperty.

Annotations
@Override
removePropertyback to summary
public void removeProperty(PropertyKey key)

Implements com.mysql.cj.conf.PropertySet.removeProperty.

Annotations
@Override
resetback to summary
public void reset()

Implements com.mysql.cj.conf.PropertySet.reset.

Doc from com.mysql.cj.conf.PropertySet.reset.

Reset all properties to their initial values.

Annotations
@Override