org.apache.accumulo.proxy.thrift
Class AccumuloProxy.updateAndFlush_args

java.lang.Object
  extended by org.apache.accumulo.proxy.thrift.AccumuloProxy.updateAndFlush_args
All Implemented Interfaces:
Serializable, Cloneable, Comparable<AccumuloProxy.updateAndFlush_args>, org.apache.thrift.TBase<AccumuloProxy.updateAndFlush_args,AccumuloProxy.updateAndFlush_args._Fields>
Enclosing class:
AccumuloProxy

public static class AccumuloProxy.updateAndFlush_args
extends Object
implements org.apache.thrift.TBase<AccumuloProxy.updateAndFlush_args,AccumuloProxy.updateAndFlush_args._Fields>, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
static class AccumuloProxy.updateAndFlush_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 Map<ByteBuffer,List<ColumnUpdate>> cells
           
 ByteBuffer login
           
static Map<AccumuloProxy.updateAndFlush_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 String tableName
           
 
Constructor Summary
AccumuloProxy.updateAndFlush_args()
           
AccumuloProxy.updateAndFlush_args(AccumuloProxy.updateAndFlush_args other)
          Performs a deep copy on other.
AccumuloProxy.updateAndFlush_args(ByteBuffer login, String tableName, Map<ByteBuffer,List<ColumnUpdate>> cells)
           
 
Method Summary
 ByteBuffer bufferForLogin()
           
 void clear()
           
 int compareTo(AccumuloProxy.updateAndFlush_args other)
           
 AccumuloProxy.updateAndFlush_args deepCopy()
           
 boolean equals(AccumuloProxy.updateAndFlush_args that)
           
 boolean equals(Object that)
           
 AccumuloProxy.updateAndFlush_args._Fields fieldForId(int fieldId)
           
 Map<ByteBuffer,List<ColumnUpdate>> getCells()
           
 int getCellsSize()
           
 Object getFieldValue(AccumuloProxy.updateAndFlush_args._Fields field)
           
 byte[] getLogin()
           
 String getTableName()
           
 int hashCode()
           
 boolean isSet(AccumuloProxy.updateAndFlush_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetCells()
          Returns true if field cells is set (has been assigned a value) and false otherwise
 boolean isSetLogin()
          Returns true if field login is set (has been assigned a value) and false otherwise
 boolean isSetTableName()
          Returns true if field tableName is set (has been assigned a value) and false otherwise
 void putToCells(ByteBuffer key, List<ColumnUpdate> val)
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 AccumuloProxy.updateAndFlush_args setCells(Map<ByteBuffer,List<ColumnUpdate>> cells)
           
 void setCellsIsSet(boolean value)
           
 void setFieldValue(AccumuloProxy.updateAndFlush_args._Fields field, Object value)
           
 AccumuloProxy.updateAndFlush_args setLogin(byte[] login)
           
 AccumuloProxy.updateAndFlush_args setLogin(ByteBuffer login)
           
 void setLoginIsSet(boolean value)
           
 AccumuloProxy.updateAndFlush_args setTableName(String tableName)
           
 void setTableNameIsSet(boolean value)
           
 String toString()
           
 void unsetCells()
           
 void unsetLogin()
           
 void unsetTableName()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

login

public ByteBuffer login

tableName

public String tableName

cells

public Map<ByteBuffer,List<ColumnUpdate>> cells

metaDataMap

public static final Map<AccumuloProxy.updateAndFlush_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

AccumuloProxy.updateAndFlush_args

public AccumuloProxy.updateAndFlush_args()

AccumuloProxy.updateAndFlush_args

public AccumuloProxy.updateAndFlush_args(ByteBuffer login,
                                         String tableName,
                                         Map<ByteBuffer,List<ColumnUpdate>> cells)

AccumuloProxy.updateAndFlush_args

public AccumuloProxy.updateAndFlush_args(AccumuloProxy.updateAndFlush_args other)
Performs a deep copy on other.

Method Detail

deepCopy

public AccumuloProxy.updateAndFlush_args deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<AccumuloProxy.updateAndFlush_args,AccumuloProxy.updateAndFlush_args._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<AccumuloProxy.updateAndFlush_args,AccumuloProxy.updateAndFlush_args._Fields>

getLogin

public byte[] getLogin()

bufferForLogin

public ByteBuffer bufferForLogin()

setLogin

public AccumuloProxy.updateAndFlush_args setLogin(byte[] login)

setLogin

public AccumuloProxy.updateAndFlush_args setLogin(ByteBuffer login)

unsetLogin

public void unsetLogin()

isSetLogin

public boolean isSetLogin()
Returns true if field login is set (has been assigned a value) and false otherwise


setLoginIsSet

public void setLoginIsSet(boolean value)

getTableName

public String getTableName()

setTableName

public AccumuloProxy.updateAndFlush_args setTableName(String tableName)

unsetTableName

public void unsetTableName()

isSetTableName

public boolean isSetTableName()
Returns true if field tableName is set (has been assigned a value) and false otherwise


setTableNameIsSet

public void setTableNameIsSet(boolean value)

getCellsSize

public int getCellsSize()

putToCells

public void putToCells(ByteBuffer key,
                       List<ColumnUpdate> val)

getCells

public Map<ByteBuffer,List<ColumnUpdate>> getCells()

setCells

public AccumuloProxy.updateAndFlush_args setCells(Map<ByteBuffer,List<ColumnUpdate>> cells)

unsetCells

public void unsetCells()

isSetCells

public boolean isSetCells()
Returns true if field cells is set (has been assigned a value) and false otherwise


setCellsIsSet

public void setCellsIsSet(boolean value)

setFieldValue

public void setFieldValue(AccumuloProxy.updateAndFlush_args._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<AccumuloProxy.updateAndFlush_args,AccumuloProxy.updateAndFlush_args._Fields>

getFieldValue

public Object getFieldValue(AccumuloProxy.updateAndFlush_args._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<AccumuloProxy.updateAndFlush_args,AccumuloProxy.updateAndFlush_args._Fields>

isSet

public boolean isSet(AccumuloProxy.updateAndFlush_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<AccumuloProxy.updateAndFlush_args,AccumuloProxy.updateAndFlush_args._Fields>

equals

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

equals

public boolean equals(AccumuloProxy.updateAndFlush_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(AccumuloProxy.updateAndFlush_args other)
Specified by:
compareTo in interface Comparable<AccumuloProxy.updateAndFlush_args>

fieldForId

public AccumuloProxy.updateAndFlush_args._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<AccumuloProxy.updateAndFlush_args,AccumuloProxy.updateAndFlush_args._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<AccumuloProxy.updateAndFlush_args,AccumuloProxy.updateAndFlush_args._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<AccumuloProxy.updateAndFlush_args,AccumuloProxy.updateAndFlush_args._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.