org.apache.hadoop.hbase.client.coprocessor
Class ExecResult
java.lang.Object
org.apache.hadoop.hbase.client.coprocessor.ExecResult
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
public class ExecResult
- extends Object
- implements org.apache.hadoop.io.Writable
Represents the return value from a
Exec
invocation.
This simply wraps the value for easier
HbaseObjectWritable
serialization.
This class is used internally by the HBase client code to properly serialize
responses from CoprocessorProtocol
method invocations. It should not be used directly by clients.
- See Also:
Exec
,
HTable.coprocessorExec(Class, byte[], byte[], org.apache.hadoop.hbase.client.coprocessor.Batch.Call)
,
HTable.coprocessorExec(Class, byte[], byte[], org.apache.hadoop.hbase.client.coprocessor.Batch.Call, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecResult
public ExecResult()
ExecResult
public ExecResult(Object value)
ExecResult
public ExecResult(byte[] region,
Object value)
getRegionName
public byte[] getRegionName()
getValue
public Object getValue()
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.