public class DefaultMySqlDumpService extends DefaultExecService implements MySqlDumpService
DEFAULT_EXECUTABLE, DEFAULT_PORT, PREFIX_50013_DEFINER, PREFIX_DUMP_COMPLETED, PREFIX_MYSQL_DUMP, PREFIX_MYSQL_HOST, PREFIX_SERVER_VERSION, SUFFIX_SQL_SECURITY_DEFINER| Constructor and Description |
|---|
DefaultMySqlDumpService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterDump(MySqlDumpContext context,
long elapsed,
long lineCount,
long skippedCount) |
protected void |
beforeDump(MySqlDumpContext context) |
protected void |
dump(DefaultExecContext context,
MySqlDumpContext msdc) |
void |
dump(List<String> options,
String database,
File outputFile) |
void |
dump(MySqlDumpContext context) |
void |
dump(String username,
String password,
String hostname,
String database,
File outputFile) |
protected void |
fillInOptions(MySqlDumpContext context)
Create (or update) the list of options for this context
|
protected List<String> |
getArgs(MySqlDumpContext context)
mysqldump invocation looks like this: |
protected DefaultExecContext |
getExecContext(MySqlDumpContext context) |
execute, execute, execute, executeAndValidate, executeAndValidate, getCommandLine, getConsumer, getStreamConsumer, validateExitValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, executepublic DefaultMySqlDumpService()
public void dump(String username, String password, String hostname, String database, File outputFile)
dump in interface MySqlDumpServicepublic void dump(List<String> options, String database, File outputFile)
dump in interface MySqlDumpServicepublic void dump(MySqlDumpContext context)
dump in interface MySqlDumpServiceprotected void beforeDump(MySqlDumpContext context)
protected void dump(DefaultExecContext context, MySqlDumpContext msdc)
protected void afterDump(MySqlDumpContext context, long elapsed, long lineCount, long skippedCount)
protected DefaultExecContext getExecContext(MySqlDumpContext context)
protected List<String> getArgs(MySqlDumpContext context)
mysqldump invocation looks like this:
mysqldump [OPTIONS] database [tables]
protected void fillInOptions(MySqlDumpContext context)
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.