@InterfaceAudience.Private public abstract class TableIntegrityErrorHandlerImpl extends Object implements TableIntegrityErrorHandler
| 构造器和说明 |
|---|
TableIntegrityErrorHandlerImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
HBaseFsck.TableInfo |
getTableInfo() |
void |
handleDegenerateRegion(HBaseFsck.HbckInfo hi)
Callback for handling a region that has the same start and end key.
|
void |
handleDuplicateStartKeys(HBaseFsck.HbckInfo hi1,
HBaseFsck.HbckInfo hi2)
Callback for handling two regions that have the same start key.
|
void |
handleHoleInRegionChain(byte[] holeStart,
byte[] holeEnd)
Callback for handling a region hole between two keys.
|
void |
handleOverlapGroup(Collection<HBaseFsck.HbckInfo> overlap)
Callback for handling an group of regions that overlap.
|
void |
handleOverlapInRegionChain(HBaseFsck.HbckInfo hi1,
HBaseFsck.HbckInfo 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(HBaseFsck.HbckInfo hi)
Callback for handling case where a Table has a first region that does not
have an empty start key.
|
void |
setTableInfo(HBaseFsck.TableInfo ti2)
Set the TableInfo used by all HRegionInfos fabricated by other callbacks
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleSplitpublic HBaseFsck.TableInfo getTableInfo()
getTableInfo 在接口中 TableIntegrityErrorHandlerpublic void setTableInfo(HBaseFsck.TableInfo ti2)
setTableInfo 在接口中 TableIntegrityErrorHandlerpublic void handleRegionStartKeyNotEmpty(HBaseFsck.HbckInfo hi) throws IOException
handleRegionStartKeyNotEmpty 在接口中 TableIntegrityErrorHandlerhi - An HbckInfo 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.IOExceptionpublic void handleRegionEndKeyNotEmpty(byte[] curEndKey)
throws IOException
handleRegionEndKeyNotEmpty 在接口中 TableIntegrityErrorHandlercurEndKey - The end key of the current last region. There should be a new region
with start key as this and an empty end key.IOExceptionpublic void handleDegenerateRegion(HBaseFsck.HbckInfo hi) throws IOException
handleDegenerateRegion 在接口中 TableIntegrityErrorHandlerhi - An HbckInfo for a degenerate key.IOExceptionpublic void handleDuplicateStartKeys(HBaseFsck.HbckInfo hi1, HBaseFsck.HbckInfo hi2) throws IOException
handleDuplicateStartKeys 在接口中 TableIntegrityErrorHandlerhi1 - one of the overlapping HbckInfohi2 - the other overlapping HbckInfoIOExceptionpublic void handleOverlapInRegionChain(HBaseFsck.HbckInfo hi1, HBaseFsck.HbckInfo hi2) throws IOException
handleOverlapInRegionChain 在接口中 TableIntegrityErrorHandlerhi1 - one of the overlapping HbckInfohi2 - the other overlapping HbckInfoIOExceptionpublic void handleHoleInRegionChain(byte[] holeStart,
byte[] holeEnd)
throws IOException
handleHoleInRegionChain 在接口中 TableIntegrityErrorHandlerholeStart - key at the beginning of the region holeholeEnd - key at the end of the region holeIOExceptionpublic void handleOverlapGroup(Collection<HBaseFsck.HbckInfo> overlap) throws IOException
handleOverlapGroup 在接口中 TableIntegrityErrorHandleroverlap - Collection of overlapping regions.IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.