Skip to content

Commit

Permalink
delete useless options of postgresql (#533)
Browse files Browse the repository at this point in the history
  • Loading branch information
wupengfei2 authored and Linary committed May 30, 2019
1 parent 1c0874e commit 17008be
Showing 1 changed file with 0 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
package com.baidu.hugegraph.backend.store.postgresql;

import com.baidu.hugegraph.backend.store.mysql.MysqlOptions;
import com.baidu.hugegraph.config.ConfigOption;

import static com.baidu.hugegraph.config.OptionChecker.disallowEmpty;

public class PostgresqlOptions extends MysqlOptions {

Expand All @@ -39,28 +36,4 @@ public static synchronized PostgresqlOptions instance() {
}
return instance;
}

public static final ConfigOption<String> JDBC_DRIVER =
new ConfigOption<>(
"jdbc.driver",
"The JDBC driver class to connect database.",
disallowEmpty(),
"org.postgresql.Driver"
);

public static final ConfigOption<String> JDBC_URL =
new ConfigOption<>(
"jdbc.url",
"The url of database in JDBC format.",
disallowEmpty(),
"jdbc:postgresql://127.0.0.1:5432/"
);

public static final ConfigOption<String> JDBC_USERNAME =
new ConfigOption<>(
"jdbc.username",
"The username to login database.",
disallowEmpty(),
"postgres"
);
}

0 comments on commit 17008be

Please sign in to comment.