Skip to content

Commit

Permalink
Fixing links in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
schuemie committed Jan 9, 2025
1 parent e619b0d commit 231bc49
Show file tree
Hide file tree
Showing 87 changed files with 72 additions and 84 deletions.
10 changes: 10 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
# Generated by roxygen2: do not edit by hand

S3method(compileReconnectCode,DatabaseConnectorDbiConnection)
S3method(compileReconnectCode,default)
S3method(disconnect,DatabaseConnectorDbiConnection)
S3method(disconnect,default)
S3method(getCatalogs,DatabaseConnectorDbiConnection)
S3method(getCatalogs,default)
S3method(getSchemaNames,DatabaseConnectorDbiConnection)
S3method(getSchemaNames,default)
S3method(getServer,DatabaseConnectorDbiConnection)
S3method(getServer,default)
S3method(insertTable,DatabaseConnectorDbiConnection)
S3method(insertTable,default)
S3method(listDatabaseConnectorColumns,DatabaseConnectorDbiConnection)
S3method(listDatabaseConnectorColumns,default)
S3method(lowLevelExecuteSql,DatabaseConnectorDbiConnection)
S3method(lowLevelExecuteSql,default)
S3method(lowLevelQuerySql,DatabaseConnectorDbiConnection)
Expand Down
2 changes: 1 addition & 1 deletion R/DatabaseConnector.R
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ NULL
#'
#' # Impala
#'
#' Go to [Cloudera's site](https://www.cloudera.com/downloads/connectors/impala/jdbc/2-5-5.html), pick
#' Go to [Cloudera's site](https://www.cloudera.com/downloads/connectors/impala/jdbc.html), pick
#' your OS version, and click "GET IT NOW!'. Register, and you should be able to download the driver.
#'
#' # SQLite
Expand Down
10 changes: 10 additions & 0 deletions R/RStudio.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ listDatabaseConnectorColumns <- function(connection,
UseMethod("listDatabaseConnectorColumns", connection)
}

#' @exportS3Method
listDatabaseConnectorColumns.default <- function(connection,
catalog = NULL,
schema = NULL,
Expand Down Expand Up @@ -136,6 +137,7 @@ listDatabaseConnectorColumns.default <- function(connection,
return(data.frame(name = fields, type = types, stringsAsFactors = FALSE))
}

#' @exportS3Method
listDatabaseConnectorColumns.DatabaseConnectorDbiConnection <- function(connection,
catalog = NULL,
schema = NULL,
Expand Down Expand Up @@ -220,6 +222,7 @@ getServer <- function(connection) {
UseMethod("getServer", connection)
}

#' @exportS3Method
getServer.default <- function(connection) {
if (dbms(connection) == "hive") {
url <- connection@url
Expand All @@ -235,6 +238,7 @@ getServer.default <- function(connection) {
return(server)
}

#' @exportS3Method
getServer.DatabaseConnectorDbiConnection <- function(connection) {
return(connection@server)
}
Expand All @@ -243,6 +247,7 @@ compileReconnectCode <- function(connection) {
UseMethod("compileReconnectCode", connection)
}

#' @exportS3Method
compileReconnectCode.default <- function(connection) {
databaseMetaData <- rJava::.jcall(
connection@jConnection,
Expand All @@ -265,6 +270,7 @@ compileReconnectCode.default <- function(connection) {
return(code)
}

#' @exportS3Method
compileReconnectCode.DatabaseConnectorDbiConnection <- function(connection) {
code <- sprintf(
"library(DatabaseConnector)\ncon <- connect(dbms = \"%s\", server = \"%s\")",
Expand All @@ -278,6 +284,7 @@ getSchemaNames <- function(conn, catalog = NULL) {
UseMethod("getSchemaNames", conn)
}

#' @exportS3Method
getSchemaNames.default <- function(conn, catalog = NULL) {
if (is.null(catalog)) {
catalog <- rJava::.jnull("java/lang/String")
Expand All @@ -301,6 +308,7 @@ getSchemaNames.default <- function(conn, catalog = NULL) {
return(schemas)
}

#' @exportS3Method
getSchemaNames.DatabaseConnectorDbiConnection <- function(conn, catalog = NULL) {
if (dbms(conn) %in% c("sqlite", "sqlite extended")) {
return("main")
Expand All @@ -319,6 +327,7 @@ getCatalogs <- function(connection) {
UseMethod("getCatalogs", connection)
}

#' @exportS3Method
getCatalogs.default <- function(connection) {
metaData <- rJava::.jcall(connection@jConnection, "Ljava/sql/DatabaseMetaData;", "getMetaData")
resultSet <- rJava::.jcall(metaData, "Ljava/sql/ResultSet;", "getCatalogs")
Expand All @@ -331,6 +340,7 @@ getCatalogs.default <- function(connection) {
return(catalogs)
}

#' @exportS3Method
getCatalogs.DatabaseConnectorDbiConnection <- function(connection) {
if (connection@dbms == "duckdb") {
sql <- "
Expand Down
4 changes: 2 additions & 2 deletions docs/articles/Connecting.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/DbiAndDbplyr.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/Querying.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ articles:
Connecting: Connecting.html
DbiAndDbplyr: DbiAndDbplyr.html
Querying: Querying.html
last_built: 2025-01-08T10:16Z
last_built: 2025-01-09T07:21Z
2 changes: 1 addition & 1 deletion docs/reference/computeDataHash.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/connect.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/createConnectionDetails.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/dbms.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/disconnect.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/dropEmulatedTempTables.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/executeSql.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/existsTable.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/reference/extractQueryTimes.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/getTableNames.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/insertTable.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/jdbcDrivers.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/lowLevelExecuteSql.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/lowLevelQuerySql.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/lowLevelQuerySqlToAndromeda.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/querySql.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/querySqlToAndromeda.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/renderTranslateExecuteSql.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/renderTranslateQueryApplyBatched.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 231bc49

Please sign in to comment.