public static class TestRowProcessorEndpoint.RowProcessorEndpoint.IncrementCounterProcessor extends org.apache.hadoop.hbase.regionserver.BaseRowProcessor<org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.IncCounterProcessorRequest,org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.IncCounterProcessorResponse>
Modifier and Type | Field and Description |
---|---|
(package private) int |
counter |
(package private) byte[] |
row |
Constructor and Description |
---|
IncrementCounterProcessor()
Empty constructor for Writable
|
IncrementCounterProcessor(byte[] row) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.IncCounterProcessorRequest |
getRequestData() |
org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.IncCounterProcessorResponse |
getResult() |
Collection<byte[]> |
getRowsToLock() |
void |
initialize(org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.IncCounterProcessorRequest 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() |
IncrementCounterProcessor()
IncrementCounterProcessor(byte[] row)
public Collection<byte[]> getRowsToLock()
public org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.IncCounterProcessorResponse getResult()
public boolean readOnly()
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 org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.IncCounterProcessorRequest getRequestData() throws IOException
IOException
public void initialize(org.apache.hadoop.hbase.coprocessor.protobuf.generated.IncrementCounterProcessorTestProtos.IncCounterProcessorRequest msg)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.