Class OracleJdbcConnectionFactory
- java.lang.Object
-
- com.amazonaws.athena.connectors.jdbc.connection.GenericJdbcConnectionFactory
-
- com.amazonaws.athena.connectors.oracle.OracleJdbcConnectionFactory
-
- All Implemented Interfaces:
JdbcConnectionFactory
public class OracleJdbcConnectionFactory extends GenericJdbcConnectionFactory
-
-
Field Summary
Fields Modifier and Type Field Description static String
IS_FIPS_ENABLED
-
Fields inherited from class com.amazonaws.athena.connectors.jdbc.connection.GenericJdbcConnectionFactory
SECRET_NAME_PATTERN
-
-
Constructor Summary
Constructors Constructor Description OracleJdbcConnectionFactory(DatabaseConnectionConfig databaseConnectionConfig, DatabaseConnectionInfo databaseConnectionInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connection
getConnection(JdbcCredentialProvider jdbcCredentialProvider)
Retrieves database connection for a database type.
-
-
-
Field Detail
-
IS_FIPS_ENABLED
public static final String IS_FIPS_ENABLED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OracleJdbcConnectionFactory
public OracleJdbcConnectionFactory(DatabaseConnectionConfig databaseConnectionConfig, DatabaseConnectionInfo databaseConnectionInfo)
- Parameters:
databaseConnectionConfig
- database connection configurationDatabaseConnectionConfig
databaseConnectionInfo
-
-
-
Method Detail
-
getConnection
public Connection getConnection(JdbcCredentialProvider jdbcCredentialProvider)
Description copied from interface:JdbcConnectionFactory
Retrieves database connection for a database type.- Specified by:
getConnection
in interfaceJdbcConnectionFactory
- Overrides:
getConnection
in classGenericJdbcConnectionFactory
- Parameters:
jdbcCredentialProvider
- jdbc user and password provider.- Returns:
- JDBC connection. See
Connection
.
-
-