org.apache.hadoop.hbase.thrift.generated
Class Mutation

java.lang.Object
  extended by org.apache.hadoop.hbase.thrift.generated.Mutation
All Implemented Interfaces:
com.facebook.thrift.TBase, Serializable

public class Mutation
extends Object
implements com.facebook.thrift.TBase, Serializable

A Mutation object is used to either update or delete a column-value.

See Also:
Serialized Form

Nested Class Summary
static class Mutation.Isset
           
 
Field Summary
 Mutation.Isset __isset
           
 byte[] column
           
 boolean isDelete
           
 byte[] value
           
 
Constructor Summary
Mutation()
           
Mutation(boolean isDelete, byte[] column, byte[] value)
           
 
Method Summary
 boolean equals(Mutation that)
           
 boolean equals(Object that)
           
 int hashCode()
           
 void read(com.facebook.thrift.protocol.TProtocol iprot)
           
 String toString()
           
 void write(com.facebook.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

isDelete

public boolean isDelete

column

public byte[] column

value

public byte[] value

__isset

public final Mutation.Isset __isset
Constructor Detail

Mutation

public Mutation()

Mutation

public Mutation(boolean isDelete,
                byte[] column,
                byte[] value)
Method Detail

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(Mutation that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

read

public void read(com.facebook.thrift.protocol.TProtocol iprot)
          throws com.facebook.thrift.TException
Specified by:
read in interface com.facebook.thrift.TBase
Throws:
com.facebook.thrift.TException

write

public void write(com.facebook.thrift.protocol.TProtocol oprot)
           throws com.facebook.thrift.TException
Specified by:
write in interface com.facebook.thrift.TBase
Throws:
com.facebook.thrift.TException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008 The Apache Software Foundation