public class Exec extends Invocation implements Row
CoprocessorProtocol
subclass. Only methods defined in the CoprocessorProtocol
interface
will be callable by clients.
This class is used internally by
HTable.coprocessorExec(Class, byte[], byte[], org.apache.hadoop.hbase.client.coprocessor.Batch.Call, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback)
to wrap the CoprocessorProtocol
method invocations requested in
RPC calls. It should not be used directly by HBase clients.
conf, methodName, parameterClasses, parameters
Constructor and Description |
---|
Exec() |
Exec(org.apache.hadoop.conf.Configuration configuration,
byte[] row,
Class<? extends CoprocessorProtocol> protocol,
Method method,
Object[] parameters) |
Exec(org.apache.hadoop.conf.Configuration configuration,
Class<? extends CoprocessorProtocol> protocol,
Method method,
Object[] parameters) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Row row) |
Class<? extends CoprocessorProtocol> |
getProtocol() |
String |
getProtocolName() |
byte[] |
getRow() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
getClientMethodsHash, getConf, getMethodName, getParameterClasses, getParameters, getRpcVersion, getVersion, setConf, toString
public Exec()
public Exec(org.apache.hadoop.conf.Configuration configuration, Class<? extends CoprocessorProtocol> protocol, Method method, Object[] parameters)
public Exec(org.apache.hadoop.conf.Configuration configuration, byte[] row, Class<? extends CoprocessorProtocol> protocol, Method method, Object[] parameters)
public String getProtocolName()
public Class<? extends CoprocessorProtocol> getProtocol()
public int compareTo(Row row)
compareTo
in interface Comparable<Row>
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
write
in class Invocation
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class Invocation
IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.