@InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving public abstract class BaseRowProcessor<S extends com.google.protobuf.Message,T extends com.google.protobuf.Message> extends Object implements RowProcessor<S,T>
| 构造器和说明 |
|---|
BaseRowProcessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<UUID> |
getClusterIds() |
String |
getName()
Human readable name of the processor
|
void |
postBatchMutate(HRegion region)
The hook to be executed after the process() and applying the Mutations to region.
|
void |
postProcess(HRegion region,
WALEdit walEdit,
boolean success)
The hook to be executed after process() and applying the Mutations to region.
|
void |
preBatchMutate(HRegion region,
WALEdit walEdit)
The hook to be executed after the process() but before applying the Mutations to region.
|
void |
preProcess(HRegion region,
WALEdit walEdit)
The hook to be executed before process().
|
Durability |
useDurability() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequestData, getResult, getRowsToLock, initialize, process, readOnlypublic void preProcess(HRegion region, WALEdit walEdit) throws IOException
RowProcessorpreProcess 在接口中 RowProcessor<S extends com.google.protobuf.Message,T extends com.google.protobuf.Message>region - the HRegionwalEdit - the output WAL edits to apply to write ahead logIOExceptionpublic void preBatchMutate(HRegion region, WALEdit walEdit) throws IOException
RowProcessorpreBatchMutate 在接口中 RowProcessor<S extends com.google.protobuf.Message,T extends com.google.protobuf.Message>walEdit - the output WAL edits to apply to write ahead logIOExceptionpublic void postBatchMutate(HRegion region) throws IOException
RowProcessorRowProcessor.postProcess(HRegion, WALEdit, boolean) is this hook will
be executed before the mvcc transaction completion.postBatchMutate 在接口中 RowProcessor<S extends com.google.protobuf.Message,T extends com.google.protobuf.Message>IOExceptionpublic void postProcess(HRegion region, WALEdit walEdit, boolean success) throws IOException
RowProcessorpostProcess 在接口中 RowProcessor<S extends com.google.protobuf.Message,T extends com.google.protobuf.Message>region - the HRegionwalEdit - the output WAL edits to apply to write ahead logsuccess - true if batch operation is successful otherwise false.IOExceptionpublic List<UUID> getClusterIds()
getClusterIds 在接口中 RowProcessor<S extends com.google.protobuf.Message,T extends com.google.protobuf.Message>public String getName()
RowProcessorgetName 在接口中 RowProcessor<S extends com.google.protobuf.Message,T extends com.google.protobuf.Message>public Durability useDurability()
useDurability 在接口中 RowProcessor<S extends com.google.protobuf.Message,T extends com.google.protobuf.Message>Durability to useCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.