public static class TestRowProcessorEndpoint.RowProcessorEndpoint.RowSwapProcessor extends org.apache.hadoop.hbase.regionserver.BaseRowProcessor<org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.RowSwapProcessorRequest,org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.RowSwapProcessorResponse>
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
row1 |
(package private) byte[] |
row2 |
Constructor and Description |
---|
RowSwapProcessor()
Empty constructor for Writable
|
RowSwapProcessor(byte[] row1,
byte[] row2) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.RowSwapProcessorRequest |
getRequestData() |
org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.RowSwapProcessorResponse |
getResult() |
Collection<byte[]> |
getRowsToLock() |
void |
initialize(org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.RowSwapProcessorRequest msg) |
void |
process(long now,
org.apache.hadoop.hbase.regionserver.HRegion region,
List<org.apache.hadoop.hbase.client.Mutation> mutations,
org.apache.hadoop.hbase.wal.WALEdit walEdit) |
boolean |
readOnly() |
RowSwapProcessor()
RowSwapProcessor(byte[] row1, byte[] row2)
public Collection<byte[]> getRowsToLock()
public boolean readOnly()
public org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.RowSwapProcessorResponse getResult()
public void process(long now, org.apache.hadoop.hbase.regionserver.HRegion region, List<org.apache.hadoop.hbase.client.Mutation> mutations, org.apache.hadoop.hbase.wal.WALEdit walEdit) throws IOException
IOException
public String getName()
getName
in interface org.apache.hadoop.hbase.regionserver.RowProcessor<org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.RowSwapProcessorRequest,org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.RowSwapProcessorResponse>
getName
in class org.apache.hadoop.hbase.regionserver.BaseRowProcessor<org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.RowSwapProcessorRequest,org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.RowSwapProcessorResponse>
public org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.RowSwapProcessorRequest getRequestData() throws IOException
IOException
public void initialize(org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.RowSwapProcessorRequest msg)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.