Package | Description |
---|---|
org.apache.hadoop.hbase.coprocessor |
Table of Contents
|
org.apache.hadoop.hbase.regionserver |
Modifier and Type | Method and Description |
---|---|
default void |
RegionObserver.postCloseRegionOperation(ObserverContext<RegionCoprocessorEnvironment> ctx,
Region.Operation operation)
Called after releasing read lock in
Region.closeRegionOperation() . |
default void |
RegionObserver.postStartRegionOperation(ObserverContext<RegionCoprocessorEnvironment> ctx,
Region.Operation operation)
This will be called for region operations where read lock is acquired in
Region.startRegionOperation() . |
Modifier and Type | Method and Description |
---|---|
static Region.Operation |
Region.Operation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Region.Operation[] |
Region.Operation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Region.closeRegionOperation(Region.Operation op)
Closes the region operation lock.
|
void |
HRegion.closeRegionOperation(Region.Operation operation) |
private Result |
HRegion.doCoprocessorPreCall(Region.Operation op,
Mutation mutation)
Do coprocessor pre-increment or pre-append call.
|
private Result |
HRegion.doDelta(Region.Operation op,
Mutation mutation,
long nonceGroup,
long nonce,
boolean returnResults)
Add "deltas" to Cells.
|
void |
RegionCoprocessorHost.postCloseRegionOperation(Region.Operation op) |
void |
RegionCoprocessorHost.postStartRegionOperation(Region.Operation op) |
private WALEdit |
HRegion.reckonDeltas(Region.Operation op,
Mutation mutation,
Durability effectiveDurability,
Map<HStore,List<Cell>> forMemStore,
List<Cell> results)
Reckon the Cells to apply to WAL, memstore, and to return to the Client; these Sets are not
always the same dependent on whether to write WAL.
|
private List<Cell> |
HRegion.reckonDeltasByStore(HStore store,
Region.Operation op,
Mutation mutation,
Durability effectiveDurability,
long now,
List<Cell> deltas,
List<Cell> results)
Reckon the Cells to apply to WAL, memstore, and to return to the Client in passed
column family/Store.
|
void |
Region.startRegionOperation(Region.Operation op)
This method needs to be called before any public call that reads or
modifies data.
|
void |
HRegion.startRegionOperation(Region.Operation op) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.