org.apache.hadoop.hbase.ipc
Interface CoprocessorProtocol
- All Superinterfaces:
- VersionedProtocol
- All Known Subinterfaces:
- AccessControllerProtocol, AggregateProtocol, AuthenticationProtocol, BulkDeleteProtocol, MultiRowMutationProtocol, SecureBulkLoadProtocol
- All Known Implementing Classes:
- AccessController, AggregateImplementation, BaseEndpointCoprocessor, BulkDeleteEndpoint, MultiRowMutationEndpoint, SecureBulkLoadEndpoint, TokenProvider
public interface CoprocessorProtocol
- extends VersionedProtocol
All custom RPC protocols to be exported by Coprocessors must extend this interface.
Note that all callable methods must have a return type handled by
HbaseObjectWritable.writeObject(java.io.DataOutput, Object, Class, org.apache.hadoop.conf.Configuration)
.
That is:
- a Java primitive type (
int
, float
, etc)
- a Java
String
- a
Writable
- an array or
java.util.List
of one of the above
VERSION
static final long VERSION
- See Also:
- Constant Field Values
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.