Skip to content

Commit 7c8815d

Browse files
committed
PLUGIN-1823: Remove getExternalDocumentationLink() method as it is not longer used now.
1 parent 4970405 commit 7c8815d

File tree

17 files changed

+0
-100
lines changed

17 files changed

+0
-100
lines changed

cloudsql-mysql-plugin/src/main/java/io/cdap/plugin/cloudsql/mysql/CloudSQLMySQLSink.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,6 @@ protected DBErrorDetailsProvider getErrorDetailsProvider() {
118118
return dbErrorDetailsProvider;
119119
}
120120

121-
@Override
122-
protected String getExternalDocumentationLink() {
123-
return DBUtils.CLOUDSQLMYSQL_SUPPORTED_DOC_URL;
124-
}
125-
126121
@Override
127122
protected LineageRecorder getLineageRecorder(BatchSinkContext context) {
128123
String host;

cloudsql-mysql-plugin/src/main/java/io/cdap/plugin/cloudsql/mysql/CloudSQLMySQLSource.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,6 @@ protected Class<? extends DBWritable> getDBRecordType() {
8383
return MysqlDBRecord.class;
8484
}
8585

86-
@Override
87-
protected String getExternalDocumentationLink() {
88-
return DBUtils.CLOUDSQLMYSQL_SUPPORTED_DOC_URL;
89-
}
90-
9186
@Override
9287
protected String createConnectionString() {
9388
if (CloudSQLUtil.PRIVATE_INSTANCE.equalsIgnoreCase(

cloudsql-postgresql-plugin/src/main/java/io/cdap/plugin/cloudsql/postgres/CloudSQLPostgreSQLSink.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,6 @@ protected DBErrorDetailsProvider getErrorDetailsProvider() {
162162
return dbErrorDetailsProvider;
163163
}
164164

165-
@Override
166-
protected String getExternalDocumentationLink() {
167-
return DBUtils.CLOUDSQLPOSTGRES_SUPPORTED_DOC_URL;
168-
}
169-
170165
/** CloudSQL PostgreSQL sink config. */
171166
public static class CloudSQLPostgreSQLSinkConfig extends AbstractDBSpecificSinkConfig {
172167

cloudsql-postgresql-plugin/src/main/java/io/cdap/plugin/cloudsql/postgres/CloudSQLPostgreSQLSource.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,6 @@ protected Class<? extends DBWritable> getDBRecordType() {
8888
return PostgresDBRecord.class;
8989
}
9090

91-
@Override
92-
protected String getExternalDocumentationLink() {
93-
return DBUtils.CLOUDSQLPOSTGRES_SUPPORTED_DOC_URL;
94-
}
95-
9691
@Override
9792
protected String getErrorDetailsProviderClassName() {
9893
return CloudSQLPostgreSQLErrorDetailsProvider.class.getName();

database-commons/src/main/java/io/cdap/plugin/db/action/AbstractDBArgumentSetter.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -156,16 +156,6 @@ private void setArguments(ResultSet resultSet, FailureCollector failureCollector
156156
}
157157
}
158158

159-
/**
160-
* Returns the external documentation link.
161-
* Override this method to provide a custom external documentation link.
162-
*
163-
* @return external documentation link
164-
*/
165-
protected String getExternalDocumentationLink() {
166-
return "https://en.wikipedia.org/wiki/SQLSTATE";
167-
}
168-
169159
/**
170160
* Returns the DBErrorDetailsProvider instance.
171161
* Override this method to provide a custom DBErrorDetailsProvider instance.

database-commons/src/main/java/io/cdap/plugin/db/sink/AbstractDBSink.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -195,16 +195,6 @@ protected DBErrorDetailsProvider getErrorDetailsProvider() {
195195
return dbErrorDetailsProvider;
196196
}
197197

198-
/**
199-
* Returns the external documentation link.
200-
* Override this method to provide a custom external documentation link.
201-
*
202-
* @return external documentation link
203-
*/
204-
protected String getExternalDocumentationLink() {
205-
return "https://en.wikipedia.org/wiki/SQLSTATE";
206-
}
207-
208198
@Override
209199
public void prepareRun(BatchSinkContext context) {
210200
String connectionString = dbSinkConfig.getConnectionString();

database-commons/src/main/java/io/cdap/plugin/db/source/AbstractDBSource.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -376,16 +376,6 @@ protected Class<? extends DBWritable> getDBRecordType() {
376376
return DBRecord.class;
377377
}
378378

379-
/**
380-
* Returns the external documentation link.
381-
* Override this method to provide a custom external documentation link.
382-
*
383-
* @return external documentation link
384-
*/
385-
protected String getExternalDocumentationLink() {
386-
return "https://en.wikipedia.org/wiki/SQLSTATE";
387-
}
388-
389379
@Override
390380
public void initialize(BatchRuntimeContext context) throws Exception {
391381
super.initialize(context);

mariadb-plugin/src/main/java/io/cdap/plugin/mariadb/MariadbSink.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ protected DBErrorDetailsProvider getErrorDetailsProvider() {
7676
return dbErrorDetailsProvider;
7777
}
7878

79-
@Override
80-
protected String getExternalDocumentationLink() {
81-
return DBUtils.MARIADB_SUPPORTED_DOC_URL;
82-
}
83-
8479
@Override
8580
protected FieldsValidator getFieldsValidator() {
8681
return new MariadbFieldsValidator();

mariadb-plugin/src/main/java/io/cdap/plugin/mariadb/MariadbSource.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,6 @@ protected DBErrorDetailsProvider getErrorDetailsProvider() {
9898
return dbErrorDetailsProvider;
9999
}
100100

101-
@Override
102-
protected String getExternalDocumentationLink() {
103-
return DBUtils.MARIADB_SUPPORTED_DOC_URL;
104-
}
105-
106101
/**
107102
* MaraiDB source mariadbSourceConfig.
108103
*/

mssql-plugin/src/main/java/io/cdap/plugin/mssql/SqlServerSink.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,6 @@ protected DBErrorDetailsProvider getErrorDetailsProvider() {
102102
return dbErrorDetailsProvider;
103103
}
104104

105-
@Override
106-
protected String getExternalDocumentationLink() {
107-
return DBUtils.MSSQL_SUPPORTED_DOC_URL;
108-
}
109-
110105
/**
111106
* MSSQL action configuration.
112107
*/

0 commit comments

Comments
 (0)