Enum Class JDBCConfigurationProperty
java.lang.Object
java.lang.Enum<JDBCConfigurationProperty>
org.odpi.openmetadata.adapters.connectors.resource.jdbc.controls.JDBCConfigurationProperty
- All Implemented Interfaces:
Serializable
,Comparable<JDBCConfigurationProperty>
,Constable
PostgresConfigurationProperty provides some standard definitions for configuration properties used to
pass properties to connectors when they run. Using standard names for request parameters wherever possible
helps to simplify the integration of governance services.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionProvides a name to use in messages about the database.The name of the database schema used to store the data.Connection string for the database where the schema is located.Sets the maximum time in seconds that this data source will wait while attempting to connect to a database.An optional configuration property that causes the named class to be loaded and registered as a driver.The name of the secrets collection within the secrets store to use for login credentials.The file name of the secrets store containing the log on credentials to access the database. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn a summary of this enum to use in a service provider.static List<ConfigurationPropertyType>
Retrieve all the defined configuration propertiesReturn the data type for the request parameter.Return the description of the request parameter.Return an example of the request parameter to help users understand how to set it up.getName()
Return the name of the request parameter.Get recognizedConfigurationProperties for the connector.toString()
Output of this enum class and main value.static JDBCConfigurationProperty
Returns the enum constant of this class with the specified name.static JDBCConfigurationProperty[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DATABASE_URL
Connection string for the database where the schema is located. This should set the current schema to your chosen schema. -
DATABASE_NAME
Provides a name to use in messages about the database. If it is not set then the connection URL string is used. -
DATABASE_SCHEMA
The name of the database schema used to store the data. This should match the schema set up in the database URL. -
SECRETS_STORE
The file name of the secrets store containing the log on credentials to access the database. -
SECRETS_COLLECTION_NAME
The name of the secrets collection within the secrets store to use for login credentials. -
JDBC_DRIVER_MANAGER_CLASS_NAME
An optional configuration property that causes the named class to be loaded and registered as a driver. This property only needs to be defined if the connector is experiencing exceptions related to a missing DriverManager class for the database URL. -
JDBC_CONNECTION_TIMEOUT
Sets the maximum time in seconds that this data source will wait while attempting to connect to a database. The default value is 0 which means use the system default timeout, if any; otherwise it means no timeout.
-
-
Field Details
-
name
-
description
-
dataType
-
example
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
Return the name of the request parameter.- Returns:
- string name
-
getDescription
Return the description of the request parameter.- Returns:
- text
-
getDataType
Return the data type for the request parameter.- Returns:
- data type name
-
getExample
Return an example of the request parameter to help users understand how to set it up.- Returns:
- example
-
getRecognizedConfigurationProperties
Get recognizedConfigurationProperties for the connector.- Returns:
- list of property names
-
getConfigurationPropertyTypes
Retrieve all the defined configuration properties- Returns:
- list
-
getConfigurationPropertyType
Return a summary of this enum to use in a service provider.- Returns:
- request parameter type
-
toString
Output of this enum class and main value.- Overrides:
toString
in classEnum<JDBCConfigurationProperty>
- Returns:
- string showing enum value
-