public class AddTenantCommand extends AbstractBaseAdminCommand implements Command
DEFAULT_CLUSTER_NAME, DEFAULT_ZK_ADDRESS| Constructor and Description |
|---|
AddTenantCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
boolean |
execute() |
boolean |
getHelp() |
String |
getName() |
AddTenantCommand |
setControllerUrl(String url) |
AddTenantCommand |
setExecute(boolean exec) |
AddTenantCommand |
setInstances(int instances) |
AddTenantCommand |
setName(String name) |
AddTenantCommand |
setOffline(int offline) |
AddTenantCommand |
setRealtime(int realtime) |
AddTenantCommand |
setRole(org.apache.pinot.spi.config.tenant.TenantRole role) |
String |
toString() |
getPID, savePID, sendDeleteRequest, sendPostRequest, sendRequestcleanup, printExamples, printUsageclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprintUsagepublic AddTenantCommand setControllerUrl(String url)
public AddTenantCommand setName(String name)
public AddTenantCommand setRole(org.apache.pinot.spi.config.tenant.TenantRole role)
public AddTenantCommand setInstances(int instances)
public AddTenantCommand setOffline(int offline)
public AddTenantCommand setRealtime(int realtime)
public AddTenantCommand setExecute(boolean exec)
public boolean execute()
throws Exception
public String getName()
getName in class AbstractBaseCommandpublic String description()
description in interface CommandCopyright © 2018–2020 Apache Software Foundation. All rights reserved.