public class GenerateDataCommand extends AbstractBaseAdminCommand implements Command
DEFAULT_CLUSTER_NAME, DEFAULT_ZK_ADDRESS| Constructor and Description |
|---|
GenerateDataCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
String |
description() |
boolean |
execute() |
boolean |
getHelp() |
String |
getName() |
void |
init(int numRecords,
int numFiles,
String schemaFile,
String outDir) |
static void |
main(String[] args) |
String |
toString() |
getPID, savePID, sendDeleteRequest, sendPostRequest, sendRequestprintExamples, printUsageclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprintUsagepublic String getName()
getName in class AbstractBaseCommandpublic void cleanup()
cleanup in class AbstractBaseCommandpublic String description()
description in interface Commandpublic boolean execute()
throws Exception
public static void main(String[] args) throws IOException
IOExceptionCopyright © 2018–2020 Apache Software Foundation. All rights reserved.