Uses of Class
org.apache.hadoop.hbase.coprocessor.ObserverContext

Packages that use ObserverContext
org.apache.hadoop.hbase.constraint Restrict the domain of a data attribute, often times to fulfill business rules/requirements. 
org.apache.hadoop.hbase.coprocessor Table of Contents 
org.apache.hadoop.hbase.coprocessor.example   
 

Uses of ObserverContext in org.apache.hadoop.hbase.constraint
 

Methods in org.apache.hadoop.hbase.constraint with parameters of type ObserverContext
 void ConstraintProcessor.prePut(ObserverContext<RegionCoprocessorEnvironment> e, Put put, WALEdit edit, boolean writeToWAL)
           
 

Uses of ObserverContext in org.apache.hadoop.hbase.coprocessor
 

Methods in org.apache.hadoop.hbase.coprocessor that return ObserverContext
static
<T extends CoprocessorEnvironment>
ObserverContext<T>
ObserverContext.createAndPrepare(T env, ObserverContext<T> context)
          Instantiates a new ObserverContext instance if the passed reference is null and sets the environment in the new or existing instance.
 

Methods in org.apache.hadoop.hbase.coprocessor with parameters of type ObserverContext
static
<T extends CoprocessorEnvironment>
ObserverContext<T>
ObserverContext.createAndPrepare(T env, ObserverContext<T> context)
          Instantiates a new ObserverContext instance if the passed reference is null and sets the environment in the new or existing instance.
 void BaseMasterObserver.postAddColumn(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName, HColumnDescriptor column)
           
 void MasterObserver.postAddColumn(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName, HColumnDescriptor column)
          Called after the new column family has been created.
 Result RegionObserver.postAppend(ObserverContext<RegionCoprocessorEnvironment> c, Append append, Result result)
          Called after Append
 Result BaseRegionObserver.postAppend(ObserverContext<RegionCoprocessorEnvironment> e, Append append, Result result)
           
 void BaseMasterObserver.postAssign(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo)
           
 void MasterObserver.postAssign(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo)
          Called after the region assignment has been requested.
 void BaseMasterObserver.postBalance(ObserverContext<MasterCoprocessorEnvironment> ctx)
           
 void MasterObserver.postBalance(ObserverContext<MasterCoprocessorEnvironment> ctx)
          Called after the balancing plan has been submitted.
 void BaseMasterObserver.postBalanceSwitch(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean oldValue, boolean newValue)
           
 void MasterObserver.postBalanceSwitch(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean oldValue, boolean newValue)
          Called after the flag to enable/disable balancing has changed.
 void RegionObserver.postBatchMutate(ObserverContext<RegionCoprocessorEnvironment> c, MiniBatchOperationInProgress<Pair<Mutation,Integer>> miniBatchOp)
          This will be called after applying a batch of Mutations on a region.
 void BaseRegionObserver.postBatchMutate(ObserverContext<RegionCoprocessorEnvironment> c, MiniBatchOperationInProgress<Pair<Mutation,Integer>> miniBatchOp)
           
 boolean RegionObserver.postBulkLoadHFile(ObserverContext<RegionCoprocessorEnvironment> ctx, List<Pair<byte[],String>> familyPaths, boolean hasLoaded)
          Called after bulkLoadHFile.
 boolean BaseRegionObserver.postBulkLoadHFile(ObserverContext<RegionCoprocessorEnvironment> ctx, List<Pair<byte[],String>> familyPaths, boolean hasLoaded)
           
 boolean RegionObserver.postCheckAndDelete(ObserverContext<RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, CompareFilter.CompareOp compareOp, WritableByteArrayComparable comparator, Delete delete, boolean result)
          Called after checkAndDelete
 boolean BaseRegionObserver.postCheckAndDelete(ObserverContext<RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, CompareFilter.CompareOp compareOp, WritableByteArrayComparable comparator, Delete delete, boolean result)
           
 boolean RegionObserver.postCheckAndPut(ObserverContext<RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, CompareFilter.CompareOp compareOp, WritableByteArrayComparable comparator, Put put, boolean result)
          Called after checkAndPut
 boolean BaseRegionObserver.postCheckAndPut(ObserverContext<RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, CompareFilter.CompareOp compareOp, WritableByteArrayComparable comparator, Put put, boolean result)
           
 void BaseMasterObserver.postCloneSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor)
           
 void MasterObserver.postCloneSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor)
          Called after a snapshot clone operation has been requested.
 void RegionObserver.postClose(ObserverContext<RegionCoprocessorEnvironment> c, boolean abortRequested)
          Called after the region is reported as closed to the master.
 void BaseRegionObserver.postClose(ObserverContext<RegionCoprocessorEnvironment> e, boolean abortRequested)
           
 void RegionObserver.postCompact(ObserverContext<RegionCoprocessorEnvironment> c, Store store, StoreFile resultFile)
          Called after compaction has completed and the new store file has been moved in to place.
 void BaseRegionObserver.postCompact(ObserverContext<RegionCoprocessorEnvironment> e, Store store, StoreFile resultFile)
           
 void RegionObserver.postCompact(ObserverContext<RegionCoprocessorEnvironment> c, Store store, StoreFile resultFile, CompactionRequest request)
          Called after compaction has completed and the new store file has been moved in to place.
 void BaseRegionObserver.postCompact(ObserverContext<RegionCoprocessorEnvironment> e, Store store, StoreFile resultFile, CompactionRequest request)
           
 void RegionObserver.postCompactSelection(ObserverContext<RegionCoprocessorEnvironment> c, Store store, com.google.common.collect.ImmutableList<StoreFile> selected)
          Called after the StoreFiles to compact have been selected from the available candidates.
 void BaseRegionObserver.postCompactSelection(ObserverContext<RegionCoprocessorEnvironment> c, Store store, com.google.common.collect.ImmutableList<StoreFile> selected)
           
 void RegionObserver.postCompactSelection(ObserverContext<RegionCoprocessorEnvironment> c, Store store, com.google.common.collect.ImmutableList<StoreFile> selected, CompactionRequest request)
          Called after the StoreFiles to compact have been selected from the available candidates.
 void BaseRegionObserver.postCompactSelection(ObserverContext<RegionCoprocessorEnvironment> c, Store store, com.google.common.collect.ImmutableList<StoreFile> selected, CompactionRequest request)
           
 void BaseMasterObserver.postCreateTable(ObserverContext<MasterCoprocessorEnvironment> ctx, HTableDescriptor desc, HRegionInfo[] regions)
           
 void MasterObserver.postCreateTable(ObserverContext<MasterCoprocessorEnvironment> ctx, HTableDescriptor desc, HRegionInfo[] regions)
          Called after the createTable operation has been requested.
 void RegionObserver.postDelete(ObserverContext<RegionCoprocessorEnvironment> c, Delete delete, WALEdit edit, boolean writeToWAL)
          Called after the client deletes a value.
 void BaseRegionObserver.postDelete(ObserverContext<RegionCoprocessorEnvironment> e, Delete delete, WALEdit edit, boolean writeToWAL)
           
 void BaseMasterObserver.postDeleteColumn(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName, byte[] c)
           
 void MasterObserver.postDeleteColumn(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName, byte[] c)
          Called after the column family has been deleted.
 void BaseMasterObserver.postDeleteSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, HBaseProtos.SnapshotDescription snapshot)
           
 void MasterObserver.postDeleteSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, HBaseProtos.SnapshotDescription snapshot)
          Called after the delete snapshot operation has been requested.
 void BaseMasterObserver.postDeleteTable(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName)
           
 void MasterObserver.postDeleteTable(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName)
          Called after the deleteTable operation has been requested.
 void BaseMasterObserver.postDisableTable(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName)
           
 void MasterObserver.postDisableTable(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName)
          Called after the disableTable operation has been requested.
 void BaseMasterObserver.postEnableTable(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName)
           
 void MasterObserver.postEnableTable(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName)
          Called after the enableTable operation has been requested.
 boolean RegionObserver.postExists(ObserverContext<RegionCoprocessorEnvironment> c, Get get, boolean exists)
          Called after the client tests for existence using a Get.
 boolean BaseRegionObserver.postExists(ObserverContext<RegionCoprocessorEnvironment> e, Get get, boolean exists)
           
 void RegionObserver.postFlush(ObserverContext<RegionCoprocessorEnvironment> c)
          Deprecated. use RegionObserver.preFlush(ObserverContext, Store, InternalScanner) instead.
 void BaseRegionObserver.postFlush(ObserverContext<RegionCoprocessorEnvironment> e)
           
 void RegionObserver.postFlush(ObserverContext<RegionCoprocessorEnvironment> c, Store store, StoreFile resultFile)
          Called after a Store's memstore is flushed to disk.
 void BaseRegionObserver.postFlush(ObserverContext<RegionCoprocessorEnvironment> e, Store store, StoreFile resultFile)
           
 void RegionObserver.postGet(ObserverContext<RegionCoprocessorEnvironment> c, Get get, List<KeyValue> result)
          Called after the client performs a Get
 void BaseRegionObserver.postGet(ObserverContext<RegionCoprocessorEnvironment> e, Get get, List<KeyValue> results)
           
 void RegionObserver.postGetClosestRowBefore(ObserverContext<RegionCoprocessorEnvironment> c, byte[] row, byte[] family, Result result)
          Called after a client makes a GetClosestRowBefore request.
 void BaseRegionObserver.postGetClosestRowBefore(ObserverContext<RegionCoprocessorEnvironment> e, byte[] row, byte[] family, Result result)
           
 Result RegionObserver.postIncrement(ObserverContext<RegionCoprocessorEnvironment> c, Increment increment, Result result)
          Called after increment
 Result BaseRegionObserver.postIncrement(ObserverContext<RegionCoprocessorEnvironment> e, Increment increment, Result result)
           
 long RegionObserver.postIncrementColumnValue(ObserverContext<RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, long amount, boolean writeToWAL, long result)
          Called after incrementColumnValue
 long BaseRegionObserver.postIncrementColumnValue(ObserverContext<RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, long amount, boolean writeToWAL, long result)
           
 void RegionObserver.postLockRow(ObserverContext<RegionCoprocessorEnvironment> ctx, byte[] regionName, byte[] row)
          Deprecated. Will be removed in 0.96
 void BaseRegionObserver.postLockRow(ObserverContext<RegionCoprocessorEnvironment> ctx, byte[] regionName, byte[] row)
           
 void BaseMasterObserver.postModifyColumn(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName, HColumnDescriptor descriptor)
           
 void MasterObserver.postModifyColumn(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName, HColumnDescriptor descriptor)
          Called after the column family has been updated.
 void BaseMasterObserver.postModifyTable(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName, HTableDescriptor htd)
           
 void MasterObserver.postModifyTable(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName, HTableDescriptor htd)
          Called after the modifyTable operation has been requested.
 void BaseMasterObserver.postMove(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo region, ServerName srcServer, ServerName destServer)
           
 void MasterObserver.postMove(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo region, ServerName srcServer, ServerName destServer)
          Called after the region move has been requested.
 void RegionObserver.postOpen(ObserverContext<RegionCoprocessorEnvironment> c)
          Called after the region is reported as open to the master.
 void BaseRegionObserver.postOpen(ObserverContext<RegionCoprocessorEnvironment> e)
           
 void RegionObserver.postPut(ObserverContext<RegionCoprocessorEnvironment> c, Put put, WALEdit edit, boolean writeToWAL)
          Called after the client stores a value.
 void BaseRegionObserver.postPut(ObserverContext<RegionCoprocessorEnvironment> e, Put put, WALEdit edit, boolean writeToWAL)
           
 void BaseMasterObserver.postRestoreSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor)
           
 void MasterObserver.postRestoreSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor)
          Called after a snapshot restore operation has been requested.
 void RegionObserver.postScannerClose(ObserverContext<RegionCoprocessorEnvironment> c, InternalScanner s)
          Called after the client closes a scanner.
 void BaseRegionObserver.postScannerClose(ObserverContext<RegionCoprocessorEnvironment> e, InternalScanner s)
           
 boolean RegionObserver.postScannerFilterRow(ObserverContext<RegionCoprocessorEnvironment> c, InternalScanner s, byte[] currentRow, boolean hasMore)
          This will be called by the scan flow when the current scanned row is being filtered out by the filter.
 boolean BaseRegionObserver.postScannerFilterRow(ObserverContext<RegionCoprocessorEnvironment> e, InternalScanner s, byte[] currentRow, boolean hasMore)
           
 boolean RegionObserver.postScannerNext(ObserverContext<RegionCoprocessorEnvironment> c, InternalScanner s, List<Result> result, int limit, boolean hasNext)
          Called after the client asks for the next row on a scanner.
 boolean BaseRegionObserver.postScannerNext(ObserverContext<RegionCoprocessorEnvironment> e, InternalScanner s, List<Result> results, int limit, boolean hasMore)
           
 RegionScanner RegionObserver.postScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Scan scan, RegionScanner s)
          Called after the client opens a new scanner.
 RegionScanner BaseRegionObserver.postScannerOpen(ObserverContext<RegionCoprocessorEnvironment> e, Scan scan, RegionScanner s)
           
 void BaseMasterObserver.postSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor)
           
 void MasterObserver.postSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor)
          Called after the snapshot operation has been requested.
 void RegionObserver.postSplit(ObserverContext<RegionCoprocessorEnvironment> c, HRegion l, HRegion r)
          Called after the region is split.
 void BaseRegionObserver.postSplit(ObserverContext<RegionCoprocessorEnvironment> e, HRegion l, HRegion r)
           
 void BaseMasterObserver.postStartMaster(ObserverContext<MasterCoprocessorEnvironment> ctx)
           
 void MasterObserver.postStartMaster(ObserverContext<MasterCoprocessorEnvironment> ctx)
          Called immediately after an active master instance has completed initialization.
 void BaseMasterObserver.postUnassign(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo, boolean force)
           
 void MasterObserver.postUnassign(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo, boolean force)
          Called after the region unassignment has been requested.
 void RegionObserver.postUnlockRow(ObserverContext<RegionCoprocessorEnvironment> ctx, byte[] regionName, long lockId)
          Deprecated. Will be removed in 0.96
 void BaseRegionObserver.postUnlockRow(ObserverContext<RegionCoprocessorEnvironment> ctx, byte[] regionName, long lockId)
           
 void RegionObserver.postWALRestore(ObserverContext<RegionCoprocessorEnvironment> ctx, HRegionInfo info, HLogKey logKey, WALEdit logEdit)
          Called after a WALEdit replayed for this region.
 void BaseRegionObserver.postWALRestore(ObserverContext<RegionCoprocessorEnvironment> env, HRegionInfo info, HLogKey logKey, WALEdit logEdit)
           
 void WALObserver.postWALWrite(ObserverContext<WALCoprocessorEnvironment> ctx, HRegionInfo info, HLogKey logKey, WALEdit logEdit)
          Called after a WALEdit is writen to WAL.
 void BaseMasterObserver.preAddColumn(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName, HColumnDescriptor column)
           
 void MasterObserver.preAddColumn(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName, HColumnDescriptor column)
          Called prior to adding a new column family to the table.
 Result RegionObserver.preAppend(ObserverContext<RegionCoprocessorEnvironment> c, Append append)
          Called before Append
 Result BaseRegionObserver.preAppend(ObserverContext<RegionCoprocessorEnvironment> e, Append append)
           
 void BaseMasterObserver.preAssign(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo)
           
 void MasterObserver.preAssign(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo)
          Called prior to assigning a specific region.
 void BaseMasterObserver.preBalance(ObserverContext<MasterCoprocessorEnvironment> ctx)
           
 void MasterObserver.preBalance(ObserverContext<MasterCoprocessorEnvironment> ctx)
          Called prior to requesting rebalancing of the cluster regions, though after the initial checks for regions in transition and the balance switch flag.
 boolean BaseMasterObserver.preBalanceSwitch(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean b)
           
 boolean MasterObserver.preBalanceSwitch(ObserverContext<MasterCoprocessorEnvironment> ctx, boolean newValue)
          Called prior to modifying the flag used to enable/disable region balancing.
 void RegionObserver.preBatchMutate(ObserverContext<RegionCoprocessorEnvironment> c, MiniBatchOperationInProgress<Pair<Mutation,Integer>> miniBatchOp)
          This will be called for every batch mutation operation happening at the server.
 void BaseRegionObserver.preBatchMutate(ObserverContext<RegionCoprocessorEnvironment> c, MiniBatchOperationInProgress<Pair<Mutation,Integer>> miniBatchOp)
           
 void RegionObserver.preBulkLoadHFile(ObserverContext<RegionCoprocessorEnvironment> ctx, List<Pair<byte[],String>> familyPaths)
          Called before bulkLoadHFile.
 void BaseRegionObserver.preBulkLoadHFile(ObserverContext<RegionCoprocessorEnvironment> ctx, List<Pair<byte[],String>> familyPaths)
           
 boolean RegionObserver.preCheckAndDelete(ObserverContext<RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, CompareFilter.CompareOp compareOp, WritableByteArrayComparable comparator, Delete delete, boolean result)
          Called before checkAndDelete
 boolean BaseRegionObserver.preCheckAndDelete(ObserverContext<RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, CompareFilter.CompareOp compareOp, WritableByteArrayComparable comparator, Delete delete, boolean result)
           
 boolean RegionObserver.preCheckAndPut(ObserverContext<RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, CompareFilter.CompareOp compareOp, WritableByteArrayComparable comparator, Put put, boolean result)
          Called before checkAndPut
 boolean BaseRegionObserver.preCheckAndPut(ObserverContext<RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, CompareFilter.CompareOp compareOp, WritableByteArrayComparable comparator, Put put, boolean result)
           
 void BaseMasterObserver.preCloneSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor)
           
 void MasterObserver.preCloneSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor)
          Called before a snapshot is cloned.
 void RegionObserver.preClose(ObserverContext<RegionCoprocessorEnvironment> c, boolean abortRequested)
          Called before the region is reported as closed to the master.
 void BaseRegionObserver.preClose(ObserverContext<RegionCoprocessorEnvironment> c, boolean abortRequested)
           
 InternalScanner RegionObserver.preCompact(ObserverContext<RegionCoprocessorEnvironment> c, Store store, InternalScanner scanner)
          Called prior to writing the StoreFiles selected for compaction into a new StoreFile.
 InternalScanner BaseRegionObserver.preCompact(ObserverContext<RegionCoprocessorEnvironment> e, Store store, InternalScanner scanner)
           
 InternalScanner RegionObserver.preCompact(ObserverContext<RegionCoprocessorEnvironment> c, Store store, InternalScanner scanner, CompactionRequest request)
          Called prior to writing the StoreFiles selected for compaction into a new StoreFile.
 InternalScanner BaseRegionObserver.preCompact(ObserverContext<RegionCoprocessorEnvironment> e, Store store, InternalScanner scanner, CompactionRequest request)
           
 InternalScanner RegionObserver.preCompactScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store, List<? extends KeyValueScanner> scanners, ScanType scanType, long earliestPutTs, InternalScanner s)
          Called prior to writing the StoreFiles selected for compaction into a new StoreFile and prior to creating the scanner used to read the input files.
 InternalScanner BaseRegionObserver.preCompactScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store, List<? extends KeyValueScanner> scanners, ScanType scanType, long earliestPutTs, InternalScanner s)
           
 InternalScanner RegionObserver.preCompactScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store, List<? extends KeyValueScanner> scanners, ScanType scanType, long earliestPutTs, InternalScanner s, CompactionRequest request)
          Called prior to writing the StoreFiles selected for compaction into a new StoreFile and prior to creating the scanner used to read the input files.
 InternalScanner BaseRegionObserver.preCompactScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store, List<? extends KeyValueScanner> scanners, ScanType scanType, long earliestPutTs, InternalScanner s, CompactionRequest request)
           
 void RegionObserver.preCompactSelection(ObserverContext<RegionCoprocessorEnvironment> c, Store store, List<StoreFile> candidates)
          Called prior to selecting the StoreFiles to compact from the list of available candidates.
 void BaseRegionObserver.preCompactSelection(ObserverContext<RegionCoprocessorEnvironment> c, Store store, List<StoreFile> candidates)
           
 void RegionObserver.preCompactSelection(ObserverContext<RegionCoprocessorEnvironment> c, Store store, List<StoreFile> candidates, CompactionRequest request)
          Called prior to selecting the StoreFiles to compact from the list of available candidates.
 void BaseRegionObserver.preCompactSelection(ObserverContext<RegionCoprocessorEnvironment> c, Store store, List<StoreFile> candidates, CompactionRequest request)
           
 void BaseMasterObserver.preCreateTable(ObserverContext<MasterCoprocessorEnvironment> ctx, HTableDescriptor desc, HRegionInfo[] regions)
           
 void MasterObserver.preCreateTable(ObserverContext<MasterCoprocessorEnvironment> ctx, HTableDescriptor desc, HRegionInfo[] regions)
          Called before a new table is created by HMaster.
 void RegionObserver.preDelete(ObserverContext<RegionCoprocessorEnvironment> c, Delete delete, WALEdit edit, boolean writeToWAL)
          Called before the client deletes a value.
 void BaseRegionObserver.preDelete(ObserverContext<RegionCoprocessorEnvironment> e, Delete delete, WALEdit edit, boolean writeToWAL)
           
 void BaseMasterObserver.preDeleteColumn(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName, byte[] c)
           
 void MasterObserver.preDeleteColumn(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName, byte[] c)
          Called prior to deleting the entire column family.
 void BaseMasterObserver.preDeleteSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, HBaseProtos.SnapshotDescription snapshot)
           
 void MasterObserver.preDeleteSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, HBaseProtos.SnapshotDescription snapshot)
          Called before a snapshot is deleted.
 void BaseMasterObserver.preDeleteTable(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName)
           
 void MasterObserver.preDeleteTable(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName)
          Called before HMaster deletes a table It can't bypass the default action, e.g., ctx.bypass() won't have effect.
 void BaseMasterObserver.preDisableTable(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName)
           
 void MasterObserver.preDisableTable(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName)
          Called prior to disabling a table.
 void BaseMasterObserver.preEnableTable(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName)
           
 void MasterObserver.preEnableTable(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName)
          Called prior to enabling a table.
 boolean RegionObserver.preExists(ObserverContext<RegionCoprocessorEnvironment> c, Get get, boolean exists)
          Called before the client tests for existence using a Get.
 boolean BaseRegionObserver.preExists(ObserverContext<RegionCoprocessorEnvironment> e, Get get, boolean exists)
           
 void RegionObserver.preFlush(ObserverContext<RegionCoprocessorEnvironment> c)
          Deprecated. use RegionObserver.preFlush(ObserverContext, Store, InternalScanner) instead
 void BaseRegionObserver.preFlush(ObserverContext<RegionCoprocessorEnvironment> e)
           
 InternalScanner RegionObserver.preFlush(ObserverContext<RegionCoprocessorEnvironment> c, Store store, InternalScanner scanner)
          Called before a Store's memstore is flushed to disk.
 InternalScanner BaseRegionObserver.preFlush(ObserverContext<RegionCoprocessorEnvironment> e, Store store, InternalScanner scanner)
           
 InternalScanner RegionObserver.preFlushScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store, KeyValueScanner memstoreScanner, InternalScanner s)
          Called before a memstore is flushed to disk and prior to creating the scanner to read from the memstore.
 InternalScanner BaseRegionObserver.preFlushScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store, KeyValueScanner memstoreScanner, InternalScanner s)
           
 void RegionObserver.preGet(ObserverContext<RegionCoprocessorEnvironment> c, Get get, List<KeyValue> result)
          Called before the client performs a Get
 void BaseRegionObserver.preGet(ObserverContext<RegionCoprocessorEnvironment> e, Get get, List<KeyValue> results)
           
 void RegionObserver.preGetClosestRowBefore(ObserverContext<RegionCoprocessorEnvironment> c, byte[] row, byte[] family, Result result)
          Called before a client makes a GetClosestRowBefore request.
 void BaseRegionObserver.preGetClosestRowBefore(ObserverContext<RegionCoprocessorEnvironment> e, byte[] row, byte[] family, Result result)
           
 Result RegionObserver.preIncrement(ObserverContext<RegionCoprocessorEnvironment> c, Increment increment)
          Called before Increment
 Result BaseRegionObserver.preIncrement(ObserverContext<RegionCoprocessorEnvironment> e, Increment increment)
           
 long RegionObserver.preIncrementColumnValue(ObserverContext<RegionCoprocessorEnvironment> c, byte[] row, byte[] family, byte[] qualifier, long amount, boolean writeToWAL)
          Called before incrementColumnValue
 long BaseRegionObserver.preIncrementColumnValue(ObserverContext<RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, long amount, boolean writeToWAL)
           
 void RegionObserver.preLockRow(ObserverContext<RegionCoprocessorEnvironment> ctx, byte[] regionName, byte[] row)
          Deprecated. Will be removed in 0.96
 void BaseRegionObserver.preLockRow(ObserverContext<RegionCoprocessorEnvironment> ctx, byte[] regionName, byte[] row)
           
 void BaseMasterObserver.preModifyColumn(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName, HColumnDescriptor descriptor)
           
 void MasterObserver.preModifyColumn(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName, HColumnDescriptor descriptor)
          Called prior to modifying a column family's attributes.
 void BaseMasterObserver.preModifyTable(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName, HTableDescriptor htd)
           
 void MasterObserver.preModifyTable(ObserverContext<MasterCoprocessorEnvironment> ctx, byte[] tableName, HTableDescriptor htd)
          Called prior to modifying a table's properties.
 void BaseMasterObserver.preMove(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo region, ServerName srcServer, ServerName destServer)
           
 void MasterObserver.preMove(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo region, ServerName srcServer, ServerName destServer)
          Called prior to moving a given region from one region server to another.
 void RegionObserver.preOpen(ObserverContext<RegionCoprocessorEnvironment> c)
          Called before the region is reported as open to the master.
 void BaseRegionObserver.preOpen(ObserverContext<RegionCoprocessorEnvironment> e)
           
 void RegionObserver.prePut(ObserverContext<RegionCoprocessorEnvironment> c, Put put, WALEdit edit, boolean writeToWAL)
          Called before the client stores a value.
 void BaseRegionObserver.prePut(ObserverContext<RegionCoprocessorEnvironment> e, Put put, WALEdit edit, boolean writeToWAL)
           
 void BaseMasterObserver.preRestoreSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor)
           
 void MasterObserver.preRestoreSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor)
          Called before a snapshot is restored.
 void RegionObserver.preScannerClose(ObserverContext<RegionCoprocessorEnvironment> c, InternalScanner s)
          Called before the client closes a scanner.
 void BaseRegionObserver.preScannerClose(ObserverContext<RegionCoprocessorEnvironment> e, InternalScanner s)
           
 boolean RegionObserver.preScannerNext(ObserverContext<RegionCoprocessorEnvironment> c, InternalScanner s, List<Result> result, int limit, boolean hasNext)
          Called before the client asks for the next row on a scanner.
 boolean BaseRegionObserver.preScannerNext(ObserverContext<RegionCoprocessorEnvironment> e, InternalScanner s, List<Result> results, int limit, boolean hasMore)
           
 RegionScanner RegionObserver.preScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Scan scan, RegionScanner s)
          Called before the client opens a new scanner.
 RegionScanner BaseRegionObserver.preScannerOpen(ObserverContext<RegionCoprocessorEnvironment> e, Scan scan, RegionScanner s)
           
 void BaseMasterObserver.preShutdown(ObserverContext<MasterCoprocessorEnvironment> ctx)
           
 void MasterObserver.preShutdown(ObserverContext<MasterCoprocessorEnvironment> ctx)
          Called prior to shutting down the full HBase cluster, including this HMaster process.
 void BaseMasterObserver.preSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor)
           
 void MasterObserver.preSnapshot(ObserverContext<MasterCoprocessorEnvironment> ctx, HBaseProtos.SnapshotDescription snapshot, HTableDescriptor hTableDescriptor)
          Called before a new snapshot is taken.
 void RegionObserver.preSplit(ObserverContext<RegionCoprocessorEnvironment> c)
          Called before the region is split.
 void BaseRegionObserver.preSplit(ObserverContext<RegionCoprocessorEnvironment> e)
           
 void BaseMasterObserver.preStopMaster(ObserverContext<MasterCoprocessorEnvironment> ctx)
           
 void MasterObserver.preStopMaster(ObserverContext<MasterCoprocessorEnvironment> ctx)
          Called immediately prior to stopping this HMaster process.
 void RegionServerObserver.preStopRegionServer(ObserverContext<RegionServerCoprocessorEnvironment> env)
          Called before stopping region server.
 KeyValueScanner RegionObserver.preStoreScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store, Scan scan, NavigableSet<byte[]> targetCols, KeyValueScanner s)
          Called before a store opens a new scanner.
 KeyValueScanner BaseRegionObserver.preStoreScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store, Scan scan, NavigableSet<byte[]> targetCols, KeyValueScanner s)
           
 void BaseMasterObserver.preUnassign(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo, boolean force)
           
 void MasterObserver.preUnassign(ObserverContext<MasterCoprocessorEnvironment> ctx, HRegionInfo regionInfo, boolean force)
          Called prior to unassigning a given region.
 void RegionObserver.preUnlockRow(ObserverContext<RegionCoprocessorEnvironment> ctx, byte[] regionName, long lockId)
          Deprecated. Will be removed in 0.96
 void BaseRegionObserver.preUnlockRow(ObserverContext<RegionCoprocessorEnvironment> ctx, byte[] regionName, long lockId)
           
 void RegionObserver.preWALRestore(ObserverContext<RegionCoprocessorEnvironment> ctx, HRegionInfo info, HLogKey logKey, WALEdit logEdit)
          Called before a WALEdit replayed for this region.
 void BaseRegionObserver.preWALRestore(ObserverContext<RegionCoprocessorEnvironment> env, HRegionInfo info, HLogKey logKey, WALEdit logEdit)
           
 boolean WALObserver.preWALWrite(ObserverContext<WALCoprocessorEnvironment> ctx, HRegionInfo info, HLogKey logKey, WALEdit logEdit)
          Called before a WALEdit is writen to WAL.
 

Uses of ObserverContext in org.apache.hadoop.hbase.coprocessor.example
 

Methods in org.apache.hadoop.hbase.coprocessor.example with parameters of type ObserverContext
 InternalScanner ZooKeeperScanPolicyObserver.preCompactScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store, List<? extends KeyValueScanner> scanners, ScanType scanType, long earliestPutTs, InternalScanner s)
           
 InternalScanner ZooKeeperScanPolicyObserver.preFlushScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store, KeyValueScanner memstoreScanner, InternalScanner s)
           
 KeyValueScanner ZooKeeperScanPolicyObserver.preStoreScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c, Store store, Scan scan, NavigableSet<byte[]> targetCols, KeyValueScanner s)
           
 



Copyright © 2013 The Apache Software Foundation. All Rights Reserved.