JDBC driver class to instantiate
JDBC driver class to instantiate
Hadoop configuration object.
Hadoop configuration object. Used to access secure credentials.
Key value pairs passed as connection arguments to the DriverManager during connection
Key value pairs passed as connection arguments to the DriverManager during connection
Key value set of parameters used to get parameter values for JDBC properties from a secure jceks file at CredentialProviderFactory.CREDENTIAL_PROVIDER_PATH.
Key value set of parameters used to get parameter values for JDBC properties from a secure jceks file at CredentialProviderFactory.CREDENTIAL_PROVIDER_PATH. First value is the key of the parameter in the jceks file and the second parameter is the key of the parameter you want in jdbc properties
JDBC string for the connection
JDBC string for the connection
Takes a value of type A and a msg to log, returning a and logging the message at the desired level
Takes a value of type A and a msg to log, returning a and logging the message at the desired level
a
Takes a value of type A and a function message from A to String, logs the value of invoking message(a) at the level described by the level parameter
Takes a value of type A and a function message from A to String, logs the value of invoking message(a) at the level described by the level parameter
a
logAndReturn(1, (num: Int) => s"number: $num", Info) // In the log we would see a log corresponding to "number 1"
Submit a query that returns no results (i.e.
Submit a query that returns no results (i.e. schema change operations) Exceptions will be thrown if the query fails
SQL ddl as a string
Trait that extends a JDBCConnector using templating on a JDBC string stored in the Spark config