public class CubeMigrationCheckCLI extends Object
| Constructor and Description |
|---|
CubeMigrationCheckCLI(org.apache.kylin.common.KylinConfig kylinConfig,
Boolean isFix) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHTableNamesForCube(org.apache.kylin.cube.CubeInstance cube,
List<String> segFullNameList) |
void |
check(List<String> segFullNameList) |
void |
checkAll() |
void |
checkCube(String cubeName) |
void |
execute() |
void |
execute(String cubeName) |
void |
fixInconsistent() |
static void |
main(String[] args) |
void |
printIssueExistingHTables() |
public CubeMigrationCheckCLI(org.apache.kylin.common.KylinConfig kylinConfig,
Boolean isFix)
throws IOException
IOExceptionpublic static void main(String[] args) throws org.apache.commons.cli.ParseException, IOException
org.apache.commons.cli.ParseExceptionIOExceptionpublic void execute()
throws IOException
IOExceptionpublic void execute(String cubeName) throws IOException
IOExceptionpublic void checkCube(String cubeName)
public void checkAll()
public void addHTableNamesForCube(org.apache.kylin.cube.CubeInstance cube,
List<String> segFullNameList)
public void fixInconsistent()
throws IOException
IOExceptionpublic void printIssueExistingHTables()
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.