org.apache.hadoop.hbase.coprocessor
Class MultiRowMutationEndpoint
java.lang.Object
org.apache.hadoop.hbase.coprocessor.BaseEndpointCoprocessor
org.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint
- All Implemented Interfaces:
- Coprocessor, MultiRowMutationProtocol, CoprocessorProtocol, VersionedProtocol
public class MultiRowMutationEndpoint
- extends BaseEndpointCoprocessor
- implements MultiRowMutationProtocol
This class demonstrates how to implement atomic multi row transactions using
HRegion.mutateRowsWithLocks(java.util.Collection, java.util.Collection)
and Coprocessor endpoints.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiRowMutationEndpoint
public MultiRowMutationEndpoint()
mutateRows
public void mutateRows(List<Mutation> mutations)
throws IOException
- Specified by:
mutateRows
in interface MultiRowMutationProtocol
- Throws:
IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.