protected static class MetastoreSchemaTool.CommandBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
driver |
protected String |
password |
protected String |
sqlScriptFile |
protected String |
url |
protected String |
userName |
| Modifier | Constructor and Description |
|---|---|
protected |
CommandBuilder(org.apache.hadoop.conf.Configuration conf,
String url,
String driver,
String userName,
String password,
String sqlScriptFile) |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
argsWith(String password) |
String |
buildToLog() |
String[] |
buildToRun() |
MetastoreSchemaTool.CommandBuilder |
setVerbose(boolean verbose) |
protected final String userName
protected final String password
protected final String sqlScriptFile
protected final String driver
protected final String url
protected CommandBuilder(org.apache.hadoop.conf.Configuration conf,
String url,
String driver,
String userName,
String password,
String sqlScriptFile)
throws IOException
IOExceptionpublic MetastoreSchemaTool.CommandBuilder setVerbose(boolean verbose)
public String[] buildToRun() throws IOException
IOExceptionpublic String buildToLog() throws IOException
IOExceptionprotected String[] argsWith(String password) throws IOException
IOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.