@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-05-27") public class TIncrement extends Object implements org.apache.thrift.TBase<TIncrement,TIncrement._Fields>, Serializable, Cloneable, Comparable<TIncrement>
Modifier and Type | Class and Description |
---|---|
static class |
TIncrement._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
Map<ByteBuffer,ByteBuffer> |
attributes |
TCellVisibility |
cellVisibility |
List<TColumnIncrement> |
columns |
TDurability |
durability |
static Map<TIncrement._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
row |
Constructor and Description |
---|
TIncrement() |
TIncrement(ByteBuffer row,
List<TColumnIncrement> columns) |
TIncrement(TIncrement other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToColumns(TColumnIncrement elem) |
ByteBuffer |
bufferForRow() |
void |
clear() |
int |
compareTo(TIncrement other) |
TIncrement |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TIncrement that) |
TIncrement._Fields |
fieldForId(int fieldId) |
Map<ByteBuffer,ByteBuffer> |
getAttributes() |
int |
getAttributesSize() |
TCellVisibility |
getCellVisibility() |
List<TColumnIncrement> |
getColumns() |
Iterator<TColumnIncrement> |
getColumnsIterator() |
int |
getColumnsSize() |
TDurability |
getDurability() |
Object |
getFieldValue(TIncrement._Fields field) |
byte[] |
getRow() |
int |
hashCode() |
boolean |
isSet(TIncrement._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAttributes()
Returns true if field attributes is set (has been assigned a value) and false otherwise
|
boolean |
isSetCellVisibility()
Returns true if field cellVisibility is set (has been assigned a value) and false otherwise
|
boolean |
isSetColumns()
Returns true if field columns is set (has been assigned a value) and false otherwise
|
boolean |
isSetDurability()
Returns true if field durability is set (has been assigned a value) and false otherwise
|
boolean |
isSetRow()
Returns true if field row is set (has been assigned a value) and false otherwise
|
void |
putToAttributes(ByteBuffer key,
ByteBuffer val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TIncrement |
setAttributes(Map<ByteBuffer,ByteBuffer> attributes) |
void |
setAttributesIsSet(boolean value) |
TIncrement |
setCellVisibility(TCellVisibility cellVisibility) |
void |
setCellVisibilityIsSet(boolean value) |
TIncrement |
setColumns(List<TColumnIncrement> columns) |
void |
setColumnsIsSet(boolean value) |
TIncrement |
setDurability(TDurability durability) |
void |
setDurabilityIsSet(boolean value) |
void |
setFieldValue(TIncrement._Fields field,
Object value) |
TIncrement |
setRow(byte[] row) |
TIncrement |
setRow(ByteBuffer row) |
void |
setRowIsSet(boolean value) |
String |
toString() |
void |
unsetAttributes() |
void |
unsetCellVisibility() |
void |
unsetColumns() |
void |
unsetDurability() |
void |
unsetRow() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer row
public List<TColumnIncrement> columns
public Map<ByteBuffer,ByteBuffer> attributes
public TDurability durability
TDurability
public TCellVisibility cellVisibility
public static final Map<TIncrement._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TIncrement()
public TIncrement(ByteBuffer row, List<TColumnIncrement> columns)
public TIncrement(TIncrement other)
public TIncrement deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>
public byte[] getRow()
public ByteBuffer bufferForRow()
public TIncrement setRow(byte[] row)
public TIncrement setRow(ByteBuffer row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public int getColumnsSize()
public Iterator<TColumnIncrement> getColumnsIterator()
public void addToColumns(TColumnIncrement elem)
public List<TColumnIncrement> getColumns()
public TIncrement setColumns(List<TColumnIncrement> columns)
public void unsetColumns()
public boolean isSetColumns()
public void setColumnsIsSet(boolean value)
public int getAttributesSize()
public void putToAttributes(ByteBuffer key, ByteBuffer val)
public Map<ByteBuffer,ByteBuffer> getAttributes()
public TIncrement setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public TDurability getDurability()
TDurability
public TIncrement setDurability(TDurability durability)
TDurability
public void unsetDurability()
public boolean isSetDurability()
public void setDurabilityIsSet(boolean value)
public TCellVisibility getCellVisibility()
public TIncrement setCellVisibility(TCellVisibility cellVisibility)
public void unsetCellVisibility()
public boolean isSetCellVisibility()
public void setCellVisibilityIsSet(boolean value)
public void setFieldValue(TIncrement._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>
public Object getFieldValue(TIncrement._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>
public boolean isSet(TIncrement._Fields field)
isSet
in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>
public boolean equals(TIncrement that)
public int compareTo(TIncrement other)
compareTo
in interface Comparable<TIncrement>
public TIncrement._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TIncrement,TIncrement._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TIncrement,TIncrement._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<TIncrement,TIncrement._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.