public class UpdateSegmentState extends AbstractBaseCommand implements Command
| Constructor and Description |
|---|
UpdateSegmentState() |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
boolean |
execute() |
void |
fixTableIdealState(String tableName) |
List<String> |
getAllTenantTables() |
boolean |
getHelp() |
String |
getName() |
UpdateSegmentState |
setClusterName(String clusterName) |
UpdateSegmentState |
setOverwrite(boolean fix) |
UpdateSegmentState |
setTableName(String tableName) |
UpdateSegmentState |
setTenantName(String tenantName) |
UpdateSegmentState |
setZkAddress(String zkAddress) |
String |
toString() |
cleanup, printExamples, printUsageclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprintUsagepublic String getName()
getName in class AbstractBaseCommandpublic String description()
description in interface Commandpublic UpdateSegmentState setZkAddress(String zkAddress)
public UpdateSegmentState setClusterName(String clusterName)
public UpdateSegmentState setTenantName(String tenantName)
public UpdateSegmentState setTableName(String tableName)
public UpdateSegmentState setOverwrite(boolean fix)
public void fixTableIdealState(String tableName) throws Exception
ExceptionCopyright © 2018–2020 Apache Software Foundation. All rights reserved.