org.apache.hadoop.hive.ql.metadata
Class CheckResult

java.lang.Object
  extended by org.apache.hadoop.hive.ql.metadata.CheckResult

public class CheckResult
extends Object

Result class used by the HiveMetaStoreChecker.


Nested Class Summary
static class CheckResult.PartitionResult
          A basic description of a partition that is missing from either the fs or the ms.
 
Constructor Summary
CheckResult()
           
 
Method Summary
 List<CheckResult.PartitionResult> getPartitionsNotInMs()
           
 List<CheckResult.PartitionResult> getPartitionsNotOnFs()
           
 List<String> getTablesNotInMs()
           
 List<String> getTablesNotOnFs()
           
 void setPartitionsNotInMs(List<CheckResult.PartitionResult> partitionsNotInMs)
           
 void setPartitionsNotOnFs(List<CheckResult.PartitionResult> partitionsNotOnFs)
           
 void setTablesNotInMs(List<String> tablesNotInMs)
           
 void setTablesNotOnFs(List<String> tablesNotOnFs)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckResult

public CheckResult()
Method Detail

getTablesNotOnFs

public List<String> getTablesNotOnFs()
Returns:
a list of tables not found on the filesystem.

setTablesNotOnFs

public void setTablesNotOnFs(List<String> tablesNotOnFs)
Parameters:
tablesNotOnFs - a list of tables not found on the filesystem.

getTablesNotInMs

public List<String> getTablesNotInMs()
Returns:
a list of tables not found in the metastore.

setTablesNotInMs

public void setTablesNotInMs(List<String> tablesNotInMs)
Parameters:
tablesNotInMs - a list of tables not found in the metastore.

getPartitionsNotOnFs

public List<CheckResult.PartitionResult> getPartitionsNotOnFs()
Returns:
a list of partitions not found on the fs

setPartitionsNotOnFs

public void setPartitionsNotOnFs(List<CheckResult.PartitionResult> partitionsNotOnFs)
Parameters:
partitionsNotOnFs - a list of partitions not found on the fs

getPartitionsNotInMs

public List<CheckResult.PartitionResult> getPartitionsNotInMs()
Returns:
a list of partitions not found in the metastore

setPartitionsNotInMs

public void setPartitionsNotInMs(List<CheckResult.PartitionResult> partitionsNotInMs)
Parameters:
partitionsNotInMs - a list of partitions not found in the metastore


Copyright © 2014 The Apache Software Foundation. All rights reserved.