public class ExecResult extends Object implements org.apache.hadoop.io.Writable
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.
Constructor and Description |
---|
ExecResult() |
ExecResult(byte[] region,
Object value) |
ExecResult(Object value) |
public ExecResult()
public ExecResult(Object value)
public ExecResult(byte[] region, Object value)
public byte[] getRegionName()
public Object getValue()
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.