public static class RestoreSnapshotHelper.RestoreMetaChanges extends Object
Modifier and Type | Method and Description |
---|---|
List<HRegionInfo> |
getRegionsToAdd()
Returns the list of new regions added during the on-disk restore.
|
List<HRegionInfo> |
getRegionsToRemove()
Returns the list of regions removed during the on-disk restore.
|
List<HRegionInfo> |
getRegionsToRestore()
Returns the list of 'restored regions' during the on-disk restore.
|
HTableDescriptor |
getTableDescriptor() |
boolean |
hasRegionsToAdd() |
boolean |
hasRegionsToRemove() |
boolean |
hasRegionsToRestore() |
void |
updateMetaParentRegions(Connection connection,
List<HRegionInfo> regionInfos) |
public HTableDescriptor getTableDescriptor()
public boolean hasRegionsToAdd()
public List<HRegionInfo> getRegionsToAdd()
public boolean hasRegionsToRestore()
public List<HRegionInfo> getRegionsToRestore()
public boolean hasRegionsToRemove()
public List<HRegionInfo> getRegionsToRemove()
public void updateMetaParentRegions(Connection connection, List<HRegionInfo> regionInfos) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.