public abstract class BaseRowProcessor<S extends Message,T extends Message> extends Object implements RowProcessor<S,T>
| Constructor and Description |
|---|
BaseRowProcessor() |
| Modifier and Type | Method and Description |
|---|---|
List<UUID> |
getClusterIds() |
String |
getName()
Human readable name of the processor
|
void |
postProcess(HRegion region,
WALEdit walEdit)
The hook to be executed after process().
|
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 in interface RowProcessor<S extends Message,T extends Message>region - the HRegionwalEdit - the output WAL edits to apply to write ahead logIOExceptionpublic void postProcess(HRegion region, WALEdit walEdit) throws IOException
RowProcessorpostProcess in interface RowProcessor<S extends Message,T extends Message>region - the HRegionwalEdit - the output WAL edits to apply to write ahead logIOExceptionpublic List<UUID> getClusterIds()
getClusterIds in interface RowProcessor<S extends Message,T extends Message>public String getName()
RowProcessorpublic Durability useDurability()
useDurability in interface RowProcessor<S extends Message,T extends Message>Durability to useCopyright © 2014 The Apache Software Foundation. All Rights Reserved.