@InterfaceAudience.Private public interface TableIntegrityErrorHandler
| Modifier and Type | Method and Description | 
|---|---|
HbckTableInfo | 
getTableInfo()  | 
void | 
handleDegenerateRegion(HbckRegionInfo hi)
Callback for handling a region that has the same start and end key. 
 | 
void | 
handleDuplicateStartKeys(HbckRegionInfo hi1,
                        HbckRegionInfo hi2)
Callback for handling two regions that have the same start key. 
 | 
void | 
handleHoleInRegionChain(byte[] holeStartKey,
                       byte[] holeEndKey)
Callback for handling a region hole between two keys. 
 | 
void | 
handleOverlapGroup(Collection<HbckRegionInfo> overlap)
Callback for handling an group of regions that overlap. 
 | 
void | 
handleOverlapInRegionChain(HbckRegionInfo hi1,
                          HbckRegionInfo hi2)
Callback for handling two reigons that overlap in some arbitrary way. 
 | 
void | 
handleRegionEndKeyNotEmpty(byte[] curEndKey)
Callback for handling case where a Table has a last region that does not have an empty end key. 
 | 
void | 
handleRegionStartKeyNotEmpty(HbckRegionInfo hi)
Callback for handling case where a Table has a first region that does not have an empty start
 key. 
 | 
void | 
handleSplit(HbckRegionInfo hi1,
           HbckRegionInfo hi2)
Callback for handling two regions that have the same regionID a specific case of a split 
 | 
void | 
setTableInfo(HbckTableInfo ti)
Set the TableInfo used by all HRegionInfos fabricated by other callbacks 
 | 
HbckTableInfo getTableInfo()
void setTableInfo(HbckTableInfo ti)
void handleRegionStartKeyNotEmpty(HbckRegionInfo hi) throws IOException
hi - An HbckRegionInfo of the second region in a table. This should have a non-empty
           startkey, and can be used to fabricate a first region that has an empty start key.IOExceptionvoid handleRegionEndKeyNotEmpty(byte[] curEndKey) throws IOException
curEndKey - The end key of the current last region. There should be a new region with
                  start key as this and an empty end key.IOExceptionvoid handleDegenerateRegion(HbckRegionInfo hi) throws IOException
hi - An HbckRegionInfo for a degenerate key.IOExceptionvoid handleDuplicateStartKeys(HbckRegionInfo hi1, HbckRegionInfo hi2) throws IOException
hi1 - one of the overlapping HbckRegionInfohi2 - the other overlapping HbckRegionInfoIOExceptionvoid handleSplit(HbckRegionInfo hi1, HbckRegionInfo hi2) throws IOException
hi1 - one of the overlapping HbckRegionInfohi2 - the other overlapping HbckRegionInfoIOExceptionvoid handleOverlapInRegionChain(HbckRegionInfo hi1, HbckRegionInfo hi2) throws IOException
hi1 - one of the overlapping HbckRegionInfohi2 - the other overlapping HbckRegionInfoIOExceptionvoid handleHoleInRegionChain(byte[] holeStartKey, byte[] holeEndKey) throws IOException
holeStartKey - key at the beginning of the region holeholeEndKey - key at the end of the region holeIOExceptionvoid handleOverlapGroup(Collection<HbckRegionInfo> overlap) throws IOException
overlap - Collection of overlapping regions.IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.