public static class RestoreSnapshotHelper.RestoreMetaChanges extends Object
| 构造器和说明 |
|---|
RestoreMetaChanges(TableDescriptor htd,
Map<String,Pair<String,String>> parentsMap) |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,Pair<String,String>> |
getParentToChildrenPairMap()
Returns the map of parent-children_pair.
|
List<RegionInfo> |
getRegionsToAdd()
Returns the list of new regions added during the on-disk restore.
|
List<RegionInfo> |
getRegionsToRemove()
Returns the list of regions removed during the on-disk restore.
|
List<RegionInfo> |
getRegionsToRestore()
Returns the list of 'restored regions' during the on-disk restore.
|
TableDescriptor |
getTableDescriptor() |
boolean |
hasRegionsToAdd() |
boolean |
hasRegionsToRemove() |
boolean |
hasRegionsToRestore() |
void |
updateMetaParentRegions(Connection connection,
List<RegionInfo> regionInfos) |
public TableDescriptor getTableDescriptor()
public Map<String,Pair<String,String>> getParentToChildrenPairMap()
public boolean hasRegionsToAdd()
public List<RegionInfo> getRegionsToAdd()
public boolean hasRegionsToRestore()
public List<RegionInfo> getRegionsToRestore()
public boolean hasRegionsToRemove()
public List<RegionInfo> getRegionsToRemove()
public void updateMetaParentRegions(Connection connection, List<RegionInfo> regionInfos) throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.