|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.services.bmr.model.ApplicationConfig
com.baidubce.services.bmr.model.DruidApplicationConfig
public class DruidApplicationConfig
| Constructor Summary | |
|---|---|
DruidApplicationConfig()
|
|
| Method Summary | |
|---|---|
DruidApplicationConfig |
withDatabase(String database)
Configure the database name for the druid metastore. |
DruidApplicationConfig |
withHost(String host)
Configure the host for MySQL service used by druid metastore. |
DruidApplicationConfig |
withMetastore(String metastore)
Configure the metastore of druid Server。 By default, the inner metastore is used. |
DruidApplicationConfig |
withPassword(String password)
Configure the password for accessing MySQL database. |
DruidApplicationConfig |
withPort(int port)
Configure the port for MySQL service used by druid metastore. |
DruidApplicationConfig |
withUserName(String username)
Configure the username for accessing MySQL database. |
DruidApplicationConfig |
withVersion(String version)
Configure the version of druid. |
| Methods inherited from class com.baidubce.services.bmr.model.ApplicationConfig |
|---|
addProperty, getName, getProperties, getVersion, setName, setProperties, setVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DruidApplicationConfig()
| Method Detail |
|---|
public DruidApplicationConfig withVersion(String version)
image type | image version | druid version supported hadoop | 2.0.0 | 0.12.1
version - The version of druid.
public DruidApplicationConfig withMetastore(String metastore)
metastore - The type of metastore. Use "default" or "mysql".
public DruidApplicationConfig withHost(String host)
host - The host on which the MySQL service runs.
public DruidApplicationConfig withPort(int port)
port - The port on which the MySQL service listens.
public DruidApplicationConfig withDatabase(String database)
database - The database's name for druid metastore.
public DruidApplicationConfig withUserName(String username)
username - The username for accessing MySQL database.
public DruidApplicationConfig withPassword(String password)
password - The password for accessing MySQL database.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||