public class PostQueryCommand extends AbstractBaseAdminCommand implements Command
DEFAULT_CLUSTER_NAME, DEFAULT_ZK_ADDRESS| Constructor and Description |
|---|
PostQueryCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
String |
description() |
boolean |
execute() |
boolean |
getHelp() |
String |
getName() |
String |
run() |
PostQueryCommand |
setBrokerHost(String host) |
PostQueryCommand |
setBrokerPort(String port) |
PostQueryCommand |
setQuery(String query) |
PostQueryCommand |
setQueryType(String queryType) |
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 PostQueryCommand setBrokerHost(String host)
public PostQueryCommand setBrokerPort(String port)
public PostQueryCommand setQueryType(String queryType)
public PostQueryCommand setQuery(String query)
Copyright © 2018–2020 Apache Software Foundation. All rights reserved.