@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-05-25") public class TColumnIncrement extends Object implements org.apache.thrift.TBase<TColumnIncrement,TColumnIncrement._Fields>, Serializable, Cloneable, Comparable<TColumnIncrement>
Modifier and Type | Class and Description |
---|---|
static class |
TColumnIncrement._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
long |
amount |
ByteBuffer |
family |
static Map<TColumnIncrement._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
qualifier |
Constructor and Description |
---|
TColumnIncrement() |
TColumnIncrement(ByteBuffer family,
ByteBuffer qualifier) |
TColumnIncrement(TColumnIncrement other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForFamily() |
ByteBuffer |
bufferForQualifier() |
void |
clear() |
int |
compareTo(TColumnIncrement other) |
TColumnIncrement |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TColumnIncrement that) |
TColumnIncrement._Fields |
fieldForId(int fieldId) |
long |
getAmount() |
byte[] |
getFamily() |
Object |
getFieldValue(TColumnIncrement._Fields field) |
byte[] |
getQualifier() |
int |
hashCode() |
boolean |
isSet(TColumnIncrement._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAmount()
Returns true if field amount is set (has been assigned a value) and false otherwise
|
boolean |
isSetFamily()
Returns true if field family is set (has been assigned a value) and false otherwise
|
boolean |
isSetQualifier()
Returns true if field qualifier is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TColumnIncrement |
setAmount(long amount) |
void |
setAmountIsSet(boolean value) |
TColumnIncrement |
setFamily(byte[] family) |
TColumnIncrement |
setFamily(ByteBuffer family) |
void |
setFamilyIsSet(boolean value) |
void |
setFieldValue(TColumnIncrement._Fields field,
Object value) |
TColumnIncrement |
setQualifier(byte[] qualifier) |
TColumnIncrement |
setQualifier(ByteBuffer qualifier) |
void |
setQualifierIsSet(boolean value) |
String |
toString() |
void |
unsetAmount() |
void |
unsetFamily() |
void |
unsetQualifier() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer family
public ByteBuffer qualifier
public long amount
public static final Map<TColumnIncrement._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TColumnIncrement()
public TColumnIncrement(ByteBuffer family, ByteBuffer qualifier)
public TColumnIncrement(TColumnIncrement other)
public TColumnIncrement deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TColumnIncrement,TColumnIncrement._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TColumnIncrement,TColumnIncrement._Fields>
public byte[] getFamily()
public ByteBuffer bufferForFamily()
public TColumnIncrement setFamily(byte[] family)
public TColumnIncrement setFamily(ByteBuffer family)
public void unsetFamily()
public boolean isSetFamily()
public void setFamilyIsSet(boolean value)
public byte[] getQualifier()
public ByteBuffer bufferForQualifier()
public TColumnIncrement setQualifier(byte[] qualifier)
public TColumnIncrement setQualifier(ByteBuffer qualifier)
public void unsetQualifier()
public boolean isSetQualifier()
public void setQualifierIsSet(boolean value)
public long getAmount()
public TColumnIncrement setAmount(long amount)
public void unsetAmount()
public boolean isSetAmount()
public void setAmountIsSet(boolean value)
public void setFieldValue(TColumnIncrement._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TColumnIncrement,TColumnIncrement._Fields>
public Object getFieldValue(TColumnIncrement._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TColumnIncrement,TColumnIncrement._Fields>
public boolean isSet(TColumnIncrement._Fields field)
isSet
in interface org.apache.thrift.TBase<TColumnIncrement,TColumnIncrement._Fields>
public boolean equals(TColumnIncrement that)
public int compareTo(TColumnIncrement other)
compareTo
in interface Comparable<TColumnIncrement>
public TColumnIncrement._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TColumnIncrement,TColumnIncrement._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TColumnIncrement,TColumnIncrement._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<TColumnIncrement,TColumnIncrement._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007–2019 Cloudera. All rights reserved.