public class SimpleRegionObserver extends Object implements org.apache.hadoop.hbase.coprocessor.RegionCoprocessor, org.apache.hadoop.hbase.coprocessor.RegionObserver
Constructor and Description |
---|
SimpleRegionObserver() |
Modifier and Type | Method and Description |
---|---|
int |
getCtBeforeDelete() |
int |
getCtPostClose() |
int |
getCtPostCloseRegionOperation() |
int |
getCtPostCompact() |
int |
getCtPostCompactSelect() |
int |
getCtPostDeleted() |
int |
getCtPostFlush() |
int |
getCtPostGet() |
int |
getCtPostIncrement() |
int |
getCtPostOpen() |
int |
getCtPostPut() |
int |
getCtPostReplayWALs() |
int |
getCtPostStartRegionOperation() |
int |
getCtPostWALRestore() |
int |
getCtPreClose() |
int |
getCtPreCompact() |
int |
getCtPreCompactSelect() |
int |
getCtPreDeleted() |
int |
getCtPreFlush() |
int |
getCtPreGet() |
int |
getCtPreIncrement() |
int |
getCtPreOpen() |
int |
getCtPrePut() |
int |
getCtPreReplayWALs() |
int |
getCtPreWALAppend() |
int |
getCtPreWALRestore() |
int |
getPostCheckAndDelete() |
int |
getPostCheckAndDeleteWithFilter() |
int |
getPostCheckAndPut() |
int |
getPostCheckAndPutWithFilter() |
int |
getPreCheckAndDelete() |
int |
getPreCheckAndDeleteAfterRowLock() |
int |
getPreCheckAndDeleteWithFilter() |
int |
getPreCheckAndDeleteWithFilterAfterRowLock() |
int |
getPreCheckAndPut() |
int |
getPreCheckAndPutAfterRowLock() |
int |
getPreCheckAndPutWithFilter() |
int |
getPreCheckAndPutWithFilterAfterRowLock() |
Optional<org.apache.hadoop.hbase.coprocessor.RegionObserver> |
getRegionObserver() |
boolean |
hadDelete() |
boolean |
hadDeleted() |
boolean |
hadPostAppend() |
boolean |
hadPostBatchMutate() |
boolean |
hadPostBatchMutateIndispensably() |
boolean |
hadPostBulkLoadHFile() |
boolean |
hadPostCloseRegionOperation() |
boolean |
hadPostGet() |
boolean |
hadPostIncrement() |
boolean |
hadPostPut() |
boolean |
hadPostReplayWALs() |
boolean |
hadPostStartRegionOperation() |
boolean |
hadPostWALRestore() |
boolean |
hadPreAppend() |
boolean |
hadPreAppendAfterRowLock() |
boolean |
hadPreBatchMutate() |
boolean |
hadPreBulkLoadHFile() |
boolean |
hadPreGet() |
boolean |
hadPreIncrement() |
boolean |
hadPreIncrementAfterRowLock() |
boolean |
hadPrePreparedDeleteTS() |
boolean |
hadPrePut() |
boolean |
hadPreReplayWALs() |
boolean |
hadPreWALRestore() |
org.apache.hadoop.hbase.client.Result |
postAppend(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
org.apache.hadoop.hbase.client.Append append,
org.apache.hadoop.hbase.client.Result result) |
void |
postBatchMutate(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress<org.apache.hadoop.hbase.client.Mutation> miniBatchOp) |
void |
postBatchMutateIndispensably(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx,
org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress<org.apache.hadoop.hbase.client.Mutation> miniBatchOp,
boolean success) |
void |
postBulkLoadHFile(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx,
List<org.apache.hadoop.hbase.util.Pair<byte[],String>> familyPaths,
Map<byte[],List<org.apache.hadoop.fs.Path>> map) |
boolean |
postCheckAndDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
byte[] row,
byte[] family,
byte[] qualifier,
org.apache.hadoop.hbase.CompareOperator compareOp,
org.apache.hadoop.hbase.filter.ByteArrayComparable comparator,
org.apache.hadoop.hbase.client.Delete delete,
boolean result) |
boolean |
postCheckAndDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
byte[] row,
org.apache.hadoop.hbase.filter.Filter filter,
org.apache.hadoop.hbase.client.Delete delete,
boolean result) |
boolean |
postCheckAndPut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
byte[] row,
byte[] family,
byte[] qualifier,
org.apache.hadoop.hbase.CompareOperator compareOp,
org.apache.hadoop.hbase.filter.ByteArrayComparable comparator,
org.apache.hadoop.hbase.client.Put put,
boolean result) |
boolean |
postCheckAndPut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
byte[] row,
org.apache.hadoop.hbase.filter.Filter filter,
org.apache.hadoop.hbase.client.Put put,
boolean result) |
void |
postClose(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
boolean abortRequested) |
void |
postCloseRegionOperation(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx,
org.apache.hadoop.hbase.regionserver.Region.Operation op) |
void |
postCompact(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.regionserver.Store store,
org.apache.hadoop.hbase.regionserver.StoreFile resultFile,
org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker,
org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request) |
void |
postCompactSelection(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.regionserver.Store store,
List<? extends org.apache.hadoop.hbase.regionserver.StoreFile> selected,
org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker,
org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request) |
void |
postDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.client.Delete delete,
org.apache.hadoop.hbase.wal.WALEdit edit,
org.apache.hadoop.hbase.client.Durability durability) |
void |
postFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.regionserver.Store store,
org.apache.hadoop.hbase.regionserver.StoreFile resultFile,
org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) |
void |
postGetOp(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.client.Get get,
List<org.apache.hadoop.hbase.Cell> results) |
org.apache.hadoop.hbase.client.Result |
postIncrement(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.client.Increment increment,
org.apache.hadoop.hbase.client.Result result) |
void |
postOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c) |
void |
postPut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.client.Put put,
org.apache.hadoop.hbase.wal.WALEdit edit,
org.apache.hadoop.hbase.client.Durability durability) |
void |
postReplayWALs(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> env,
org.apache.hadoop.hbase.client.RegionInfo info,
org.apache.hadoop.fs.Path edits) |
void |
postScannerClose(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.regionserver.InternalScanner s) |
boolean |
postScannerFilterRow(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
org.apache.hadoop.hbase.regionserver.InternalScanner s,
org.apache.hadoop.hbase.Cell currentRow,
boolean hasMore) |
boolean |
postScannerNext(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.regionserver.InternalScanner s,
List<org.apache.hadoop.hbase.client.Result> results,
int limit,
boolean hasMore) |
org.apache.hadoop.hbase.regionserver.RegionScanner |
postScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.client.Scan scan,
org.apache.hadoop.hbase.regionserver.RegionScanner s) |
void |
postStartRegionOperation(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx,
org.apache.hadoop.hbase.regionserver.Region.Operation op) |
org.apache.hadoop.hbase.regionserver.StoreFileReader |
postStoreFileReaderOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p,
org.apache.hadoop.hbase.io.FSDataInputStreamWrapper in,
long size,
org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf,
org.apache.hadoop.hbase.io.Reference r,
org.apache.hadoop.hbase.regionserver.StoreFileReader reader) |
void |
postWALRestore(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> env,
org.apache.hadoop.hbase.client.RegionInfo info,
org.apache.hadoop.hbase.wal.WALKey logKey,
org.apache.hadoop.hbase.wal.WALEdit logEdit) |
org.apache.hadoop.hbase.client.Result |
preAppend(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
org.apache.hadoop.hbase.client.Append append) |
org.apache.hadoop.hbase.client.Result |
preAppendAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
org.apache.hadoop.hbase.client.Append append) |
void |
preBatchMutate(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress<org.apache.hadoop.hbase.client.Mutation> miniBatchOp) |
void |
preBulkLoadHFile(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx,
List<org.apache.hadoop.hbase.util.Pair<byte[],String>> familyPaths) |
boolean |
preCheckAndDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
byte[] row,
byte[] family,
byte[] qualifier,
org.apache.hadoop.hbase.CompareOperator compareOp,
org.apache.hadoop.hbase.filter.ByteArrayComparable comparator,
org.apache.hadoop.hbase.client.Delete delete,
boolean result) |
boolean |
preCheckAndDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
byte[] row,
org.apache.hadoop.hbase.filter.Filter filter,
org.apache.hadoop.hbase.client.Delete delete,
boolean result) |
boolean |
preCheckAndDeleteAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
byte[] row,
byte[] family,
byte[] qualifier,
org.apache.hadoop.hbase.CompareOperator compareOp,
org.apache.hadoop.hbase.filter.ByteArrayComparable comparator,
org.apache.hadoop.hbase.client.Delete delete,
boolean result) |
boolean |
preCheckAndDeleteAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
byte[] row,
org.apache.hadoop.hbase.filter.Filter filter,
org.apache.hadoop.hbase.client.Delete delete,
boolean result) |
boolean |
preCheckAndPut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
byte[] row,
byte[] family,
byte[] qualifier,
org.apache.hadoop.hbase.CompareOperator compareOp,
org.apache.hadoop.hbase.filter.ByteArrayComparable comparator,
org.apache.hadoop.hbase.client.Put put,
boolean result) |
boolean |
preCheckAndPut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
byte[] row,
org.apache.hadoop.hbase.filter.Filter filter,
org.apache.hadoop.hbase.client.Put put,
boolean result) |
boolean |
preCheckAndPutAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
byte[] row,
byte[] family,
byte[] qualifier,
org.apache.hadoop.hbase.CompareOperator compareOp,
org.apache.hadoop.hbase.filter.ByteArrayComparable comparator,
org.apache.hadoop.hbase.client.Put put,
boolean result) |
boolean |
preCheckAndPutAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
byte[] row,
org.apache.hadoop.hbase.filter.Filter filter,
org.apache.hadoop.hbase.client.Put put,
boolean result) |
void |
preClose(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
boolean abortRequested) |
org.apache.hadoop.hbase.regionserver.InternalScanner |
preCompact(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.regionserver.Store store,
org.apache.hadoop.hbase.regionserver.InternalScanner scanner,
org.apache.hadoop.hbase.regionserver.ScanType scanType,
org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker,
org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request) |
void |
preCompactScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.regionserver.Store store,
org.apache.hadoop.hbase.regionserver.ScanType scanType,
org.apache.hadoop.hbase.regionserver.ScanOptions options,
org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker,
org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request) |
void |
preCompactSelection(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.regionserver.Store store,
List<? extends org.apache.hadoop.hbase.regionserver.StoreFile> candidates,
org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker) |
void |
preDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.client.Delete delete,
org.apache.hadoop.hbase.wal.WALEdit edit,
org.apache.hadoop.hbase.client.Durability durability) |
org.apache.hadoop.hbase.regionserver.InternalScanner |
preFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.regionserver.Store store,
org.apache.hadoop.hbase.regionserver.InternalScanner scanner,
org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) |
void |
preFlushScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.regionserver.Store store,
org.apache.hadoop.hbase.regionserver.ScanOptions options,
org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) |
void |
preGetOp(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.client.Get get,
List<org.apache.hadoop.hbase.Cell> results) |
org.apache.hadoop.hbase.client.Result |
preIncrement(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.client.Increment increment) |
org.apache.hadoop.hbase.client.Result |
preIncrementAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
org.apache.hadoop.hbase.client.Increment increment) |
void |
preMemStoreCompactionCompactScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.regionserver.Store store,
org.apache.hadoop.hbase.regionserver.ScanOptions options) |
void |
preOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c) |
void |
prePrepareTimeStampForDeleteVersion(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e,
org.apache.hadoop.hbase.client.Mutation delete,
org.apache.hadoop.hbase.Cell cell,
byte[] byteNow,
org.apache.hadoop.hbase.client.Get get) |
void |
prePut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.client.Put put,
org.apache.hadoop.hbase.wal.WALEdit edit,
org.apache.hadoop.hbase.client.Durability durability) |
void |
preReplayWALs(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> env,
org.apache.hadoop.hbase.client.RegionInfo info,
org.apache.hadoop.fs.Path edits) |
void |
preScannerClose(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.regionserver.InternalScanner s) |
boolean |
preScannerNext(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.regionserver.InternalScanner s,
List<org.apache.hadoop.hbase.client.Result> results,
int limit,
boolean hasMore) |
void |
preScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c,
org.apache.hadoop.hbase.client.Scan scan) |
org.apache.hadoop.hbase.regionserver.StoreFileReader |
preStoreFileReaderOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p,
org.apache.hadoop.hbase.io.FSDataInputStreamWrapper in,
long size,
org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf,
org.apache.hadoop.hbase.io.Reference r,
org.apache.hadoop.hbase.regionserver.StoreFileReader reader) |
void |
preStoreScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx,
org.apache.hadoop.hbase.regionserver.Store store,
org.apache.hadoop.hbase.regionserver.ScanOptions options) |
void |
preWALAppend(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx,
org.apache.hadoop.hbase.wal.WALKey key,
org.apache.hadoop.hbase.wal.WALEdit edit) |
void |
preWALRestore(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> env,
org.apache.hadoop.hbase.client.RegionInfo info,
org.apache.hadoop.hbase.wal.WALKey logKey,
org.apache.hadoop.hbase.wal.WALEdit logEdit) |
private void |
setScanOptions(org.apache.hadoop.hbase.regionserver.ScanOptions options) |
void |
setThrowOnPostFlush(Boolean val) |
void |
start(org.apache.hadoop.hbase.CoprocessorEnvironment e) |
boolean |
wasClosed() |
boolean |
wasCompacted() |
boolean |
wasFlushed() |
boolean |
wasOpened() |
boolean |
wasScannerCloseCalled() |
boolean |
wasScannerFilterRowCalled() |
boolean |
wasScannerNextCalled() |
boolean |
wasScannerOpenCalled() |
boolean |
wasStoreFileReaderOpenCalled() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBulkLoadObserver, getEndpointObserver
postAppendBeforeWAL, postCommitStoreFile, postExists, postFlush, postIncrementBeforeWAL, postInstantiateDeleteTracker, postMemStoreCompaction, postMutationBeforeWAL, preCommitStoreFile, preExists, preFlush, preMemStoreCompaction, preMemStoreCompactionCompact
final AtomicInteger ctBeforeDelete
final AtomicInteger ctPreOpen
final AtomicInteger ctPostOpen
final AtomicInteger ctPreClose
final AtomicInteger ctPostClose
final AtomicInteger ctPreFlush
final AtomicInteger ctPostFlush
final AtomicInteger ctPreCompactSelect
final AtomicInteger ctPostCompactSelect
final AtomicInteger ctPreCompact
final AtomicInteger ctPostCompact
final AtomicInteger ctPreGet
final AtomicInteger ctPostGet
final AtomicInteger ctPrePut
final AtomicInteger ctPostPut
final AtomicInteger ctPreDeleted
final AtomicInteger ctPrePrepareDeleteTS
final AtomicInteger ctPostDeleted
final AtomicInteger ctPreIncrement
final AtomicInteger ctPreIncrementAfterRowLock
final AtomicInteger ctPreAppend
final AtomicInteger ctPreAppendAfterRowLock
final AtomicInteger ctPostIncrement
final AtomicInteger ctPostAppend
final AtomicInteger ctPreCheckAndPut
final AtomicInteger ctPreCheckAndPutWithFilter
final AtomicInteger ctPreCheckAndPutAfterRowLock
final AtomicInteger ctPreCheckAndPutWithFilterAfterRowLock
final AtomicInteger ctPostCheckAndPut
final AtomicInteger ctPostCheckAndPutWithFilter
final AtomicInteger ctPreCheckAndDelete
final AtomicInteger ctPreCheckAndDeleteWithFilter
final AtomicInteger ctPreCheckAndDeleteAfterRowLock
final AtomicInteger ctPreCheckAndDeleteWithFilterAfterRowLock
final AtomicInteger ctPostCheckAndDelete
final AtomicInteger ctPostCheckAndDeleteWithFilter
final AtomicInteger ctPreScannerNext
final AtomicInteger ctPostScannerNext
final AtomicInteger ctPostScannerFilterRow
final AtomicInteger ctPreScannerClose
final AtomicInteger ctPostScannerClose
final AtomicInteger ctPreScannerOpen
final AtomicInteger ctPostScannerOpen
final AtomicInteger ctPreBulkLoadHFile
final AtomicInteger ctPostBulkLoadHFile
final AtomicInteger ctPreBatchMutate
final AtomicInteger ctPostBatchMutate
final AtomicInteger ctPreReplayWALs
final AtomicInteger ctPostReplayWALs
final AtomicInteger ctPreWALRestore
final AtomicInteger ctPostWALRestore
final AtomicInteger ctPreStoreFileReaderOpen
final AtomicInteger ctPostStoreFileReaderOpen
final AtomicInteger ctPostBatchMutateIndispensably
final AtomicInteger ctPostStartRegionOperation
final AtomicInteger ctPostCloseRegionOperation
final AtomicBoolean throwOnPostFlush
final AtomicInteger ctPreWALAppend
static final String TABLE_SKIPPED
Map<String,byte[]> extendedAttributes
static final byte[] WAL_EXTENDED_ATTRIBUTE_BYTES
public SimpleRegionObserver()
public void setThrowOnPostFlush(Boolean val)
public Optional<org.apache.hadoop.hbase.coprocessor.RegionObserver> getRegionObserver()
getRegionObserver
in interface org.apache.hadoop.hbase.coprocessor.RegionCoprocessor
public void start(org.apache.hadoop.hbase.CoprocessorEnvironment e) throws IOException
start
in interface org.apache.hadoop.hbase.Coprocessor
IOException
public void preOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c)
preOpen
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
public void postOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c)
postOpen
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
public boolean wasOpened()
public void preClose(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, boolean abortRequested)
preClose
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
public void postClose(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, boolean abortRequested)
postClose
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
public boolean wasClosed()
public org.apache.hadoop.hbase.regionserver.InternalScanner preFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.InternalScanner scanner, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) throws IOException
preFlush
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void postFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.StoreFile resultFile, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) throws IOException
postFlush
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean wasFlushed()
public void preCompactSelection(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, List<? extends org.apache.hadoop.hbase.regionserver.StoreFile> candidates, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker) throws IOException
preCompactSelection
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void postCompactSelection(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, List<? extends org.apache.hadoop.hbase.regionserver.StoreFile> selected, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker, org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request)
postCompactSelection
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
public org.apache.hadoop.hbase.regionserver.InternalScanner preCompact(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.InternalScanner scanner, org.apache.hadoop.hbase.regionserver.ScanType scanType, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker, org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request) throws IOException
preCompact
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void postCompact(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.StoreFile resultFile, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker, org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request) throws IOException
postCompact
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean wasCompacted()
public void preScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Scan scan) throws IOException
preScannerOpen
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public org.apache.hadoop.hbase.regionserver.RegionScanner postScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Scan scan, org.apache.hadoop.hbase.regionserver.RegionScanner s) throws IOException
postScannerOpen
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean preScannerNext(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.InternalScanner s, List<org.apache.hadoop.hbase.client.Result> results, int limit, boolean hasMore) throws IOException
preScannerNext
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean postScannerNext(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.InternalScanner s, List<org.apache.hadoop.hbase.client.Result> results, int limit, boolean hasMore) throws IOException
postScannerNext
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean postScannerFilterRow(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.regionserver.InternalScanner s, org.apache.hadoop.hbase.Cell currentRow, boolean hasMore) throws IOException
postScannerFilterRow
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void preScannerClose(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.InternalScanner s) throws IOException
preScannerClose
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void postScannerClose(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.InternalScanner s) throws IOException
postScannerClose
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void preGetOp(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Get get, List<org.apache.hadoop.hbase.Cell> results) throws IOException
preGetOp
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void postGetOp(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Get get, List<org.apache.hadoop.hbase.Cell> results)
postGetOp
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
public void prePut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.client.Durability durability) throws IOException
prePut
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void postPut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.client.Durability durability) throws IOException
postPut
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void preDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Delete delete, org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.client.Durability durability) throws IOException
preDelete
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void prePrepareTimeStampForDeleteVersion(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.client.Mutation delete, org.apache.hadoop.hbase.Cell cell, byte[] byteNow, org.apache.hadoop.hbase.client.Get get) throws IOException
prePrepareTimeStampForDeleteVersion
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void postDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Delete delete, org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.client.Durability durability) throws IOException
postDelete
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void preBatchMutate(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress<org.apache.hadoop.hbase.client.Mutation> miniBatchOp) throws IOException
preBatchMutate
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void postBatchMutate(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress<org.apache.hadoop.hbase.client.Mutation> miniBatchOp) throws IOException
postBatchMutate
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void postStartRegionOperation(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.regionserver.Region.Operation op) throws IOException
postStartRegionOperation
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void postCloseRegionOperation(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.regionserver.Region.Operation op) throws IOException
postCloseRegionOperation
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void postBatchMutateIndispensably(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress<org.apache.hadoop.hbase.client.Mutation> miniBatchOp, boolean success) throws IOException
postBatchMutateIndispensably
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public org.apache.hadoop.hbase.client.Result preIncrement(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Increment increment) throws IOException
preIncrement
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public org.apache.hadoop.hbase.client.Result preIncrementAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.client.Increment increment) throws IOException
preIncrementAfterRowLock
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public org.apache.hadoop.hbase.client.Result postIncrement(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Increment increment, org.apache.hadoop.hbase.client.Result result) throws IOException
postIncrement
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean preCheckAndPut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Put put, boolean result) throws IOException
preCheckAndPut
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean preCheckAndPut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Put put, boolean result) throws IOException
preCheckAndPut
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean preCheckAndPutAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Put put, boolean result) throws IOException
preCheckAndPutAfterRowLock
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean preCheckAndPutAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Put put, boolean result) throws IOException
preCheckAndPutAfterRowLock
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean postCheckAndPut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Put put, boolean result) throws IOException
postCheckAndPut
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean postCheckAndPut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Put put, boolean result) throws IOException
postCheckAndPut
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean preCheckAndDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Delete delete, boolean result) throws IOException
preCheckAndDelete
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean preCheckAndDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Delete delete, boolean result) throws IOException
preCheckAndDelete
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean preCheckAndDeleteAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Delete delete, boolean result) throws IOException
preCheckAndDeleteAfterRowLock
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean preCheckAndDeleteAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Delete delete, boolean result) throws IOException
preCheckAndDeleteAfterRowLock
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean postCheckAndDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Delete delete, boolean result) throws IOException
postCheckAndDelete
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean postCheckAndDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Delete delete, boolean result) throws IOException
postCheckAndDelete
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public org.apache.hadoop.hbase.client.Result preAppendAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.client.Append append) throws IOException
preAppendAfterRowLock
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public org.apache.hadoop.hbase.client.Result preAppend(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.client.Append append) throws IOException
preAppend
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public org.apache.hadoop.hbase.client.Result postAppend(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.client.Append append, org.apache.hadoop.hbase.client.Result result) throws IOException
postAppend
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void preBulkLoadHFile(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.util.Pair<byte[],String>> familyPaths) throws IOException
preBulkLoadHFile
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void postBulkLoadHFile(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.util.Pair<byte[],String>> familyPaths, Map<byte[],List<org.apache.hadoop.fs.Path>> map) throws IOException
postBulkLoadHFile
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void preReplayWALs(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.fs.Path edits) throws IOException
preReplayWALs
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void postReplayWALs(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.fs.Path edits) throws IOException
postReplayWALs
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void preWALRestore(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) throws IOException
preWALRestore
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void postWALRestore(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) throws IOException
postWALRestore
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public org.apache.hadoop.hbase.regionserver.StoreFileReader preStoreFileReaderOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, org.apache.hadoop.hbase.io.FSDataInputStreamWrapper in, long size, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.io.Reference r, org.apache.hadoop.hbase.regionserver.StoreFileReader reader) throws IOException
preStoreFileReaderOpen
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public org.apache.hadoop.hbase.regionserver.StoreFileReader postStoreFileReaderOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, org.apache.hadoop.hbase.io.FSDataInputStreamWrapper in, long size, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.io.Reference r, org.apache.hadoop.hbase.regionserver.StoreFileReader reader) throws IOException
postStoreFileReaderOpen
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void preStoreScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.ScanOptions options) throws IOException
preStoreScannerOpen
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void preCompactScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.ScanType scanType, org.apache.hadoop.hbase.regionserver.ScanOptions options, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker, org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request) throws IOException
preCompactScannerOpen
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void preFlushScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.ScanOptions options, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) throws IOException
preFlushScannerOpen
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public void preMemStoreCompactionCompactScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.ScanOptions options) throws IOException
preMemStoreCompactionCompactScannerOpen
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
private void setScanOptions(org.apache.hadoop.hbase.regionserver.ScanOptions options)
public void preWALAppend(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.wal.WALKey key, org.apache.hadoop.hbase.wal.WALEdit edit) throws IOException
preWALAppend
in interface org.apache.hadoop.hbase.coprocessor.RegionObserver
IOException
public boolean hadPreGet()
public boolean hadPostGet()
public boolean hadPrePut()
public boolean hadPostPut()
public boolean hadPreBatchMutate()
public boolean hadPostBatchMutate()
public boolean hadPostBatchMutateIndispensably()
public boolean hadPostStartRegionOperation()
public boolean hadPostCloseRegionOperation()
public boolean hadDelete()
public int getCtPostStartRegionOperation()
public int getCtPostCloseRegionOperation()
public int getPreCheckAndPut()
public int getPreCheckAndPutWithFilter()
public int getPreCheckAndPutAfterRowLock()
public int getPreCheckAndPutWithFilterAfterRowLock()
public int getPostCheckAndPut()
public int getPostCheckAndPutWithFilter()
public int getPreCheckAndDelete()
public int getPreCheckAndDeleteWithFilter()
public int getPreCheckAndDeleteAfterRowLock()
public int getPreCheckAndDeleteWithFilterAfterRowLock()
public int getPostCheckAndDelete()
public int getPostCheckAndDeleteWithFilter()
public boolean hadPreIncrement()
public boolean hadPreIncrementAfterRowLock()
public boolean hadPostIncrement()
public boolean hadPreAppend()
public boolean hadPreAppendAfterRowLock()
public boolean hadPostAppend()
public boolean hadPrePreparedDeleteTS()
public boolean hadPreReplayWALs()
public boolean hadPostReplayWALs()
public boolean hadPreWALRestore()
public boolean hadPostWALRestore()
public boolean wasScannerNextCalled()
public boolean wasScannerFilterRowCalled()
public boolean wasScannerCloseCalled()
public boolean wasScannerOpenCalled()
public boolean hadDeleted()
public boolean hadPostBulkLoadHFile()
public boolean hadPreBulkLoadHFile()
public int getCtBeforeDelete()
public int getCtPreOpen()
public int getCtPostOpen()
public int getCtPreClose()
public int getCtPostClose()
public int getCtPreFlush()
public int getCtPostFlush()
public int getCtPreCompactSelect()
public int getCtPostCompactSelect()
public int getCtPreCompact()
public int getCtPostCompact()
public int getCtPreGet()
public int getCtPostGet()
public int getCtPrePut()
public int getCtPostPut()
public int getCtPreDeleted()
public int getCtPostDeleted()
public int getCtPreIncrement()
public int getCtPostIncrement()
public int getCtPreReplayWALs()
public int getCtPostReplayWALs()
public int getCtPreWALRestore()
public int getCtPostWALRestore()
public int getCtPreWALAppend()
public boolean wasStoreFileReaderOpenCalled()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.