org.apache.accumulo.core.tabletserver.thrift
Class TabletClientService.applyUpdates_args

java.lang.Object
  extended by org.apache.accumulo.core.tabletserver.thrift.TabletClientService.applyUpdates_args
All Implemented Interfaces:
Serializable, Cloneable, Comparable<TabletClientService.applyUpdates_args>, org.apache.thrift.TBase<TabletClientService.applyUpdates_args,TabletClientService.applyUpdates_args._Fields>
Enclosing class:
TabletClientService

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

See Also:
Serialized Form

Nested Class Summary
static class TabletClientService.applyUpdates_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 TKeyExtent keyExtent
           
static Map<TabletClientService.applyUpdates_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 List<TMutation> mutations
           
 TInfo tinfo
           
 long updateID
           
 
Constructor Summary
TabletClientService.applyUpdates_args()
           
TabletClientService.applyUpdates_args(TabletClientService.applyUpdates_args other)
          Performs a deep copy on other.
TabletClientService.applyUpdates_args(TInfo tinfo, long updateID, TKeyExtent keyExtent, List<TMutation> mutations)
           
 
Method Summary
 void addToMutations(TMutation elem)
           
 void clear()
           
 int compareTo(TabletClientService.applyUpdates_args other)
           
 TabletClientService.applyUpdates_args deepCopy()
           
 boolean equals(Object that)
           
 boolean equals(TabletClientService.applyUpdates_args that)
           
 TabletClientService.applyUpdates_args._Fields fieldForId(int fieldId)
           
 Object getFieldValue(TabletClientService.applyUpdates_args._Fields field)
           
 TKeyExtent getKeyExtent()
           
 List<TMutation> getMutations()
           
 Iterator<TMutation> getMutationsIterator()
           
 int getMutationsSize()
           
 TInfo getTinfo()
           
 long getUpdateID()
           
 int hashCode()
           
 boolean isSet(TabletClientService.applyUpdates_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetKeyExtent()
          Returns true if field keyExtent is set (has been assigned a value) and false otherwise
 boolean isSetMutations()
          Returns true if field mutations is set (has been assigned a value) and false otherwise
 boolean isSetTinfo()
          Returns true if field tinfo is set (has been assigned a value) and false otherwise
 boolean isSetUpdateID()
          Returns true if field updateID is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(TabletClientService.applyUpdates_args._Fields field, Object value)
           
 TabletClientService.applyUpdates_args setKeyExtent(TKeyExtent keyExtent)
           
 void setKeyExtentIsSet(boolean value)
           
 TabletClientService.applyUpdates_args setMutations(List<TMutation> mutations)
           
 void setMutationsIsSet(boolean value)
           
 TabletClientService.applyUpdates_args setTinfo(TInfo tinfo)
           
 void setTinfoIsSet(boolean value)
           
 TabletClientService.applyUpdates_args setUpdateID(long updateID)
           
 void setUpdateIDIsSet(boolean value)
           
 String toString()
           
 void unsetKeyExtent()
           
 void unsetMutations()
           
 void unsetTinfo()
           
 void unsetUpdateID()
           
 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

tinfo

public TInfo tinfo

updateID

public long updateID

keyExtent

public TKeyExtent keyExtent

mutations

public List<TMutation> mutations

metaDataMap

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

TabletClientService.applyUpdates_args

public TabletClientService.applyUpdates_args()

TabletClientService.applyUpdates_args

public TabletClientService.applyUpdates_args(TInfo tinfo,
                                             long updateID,
                                             TKeyExtent keyExtent,
                                             List<TMutation> mutations)

TabletClientService.applyUpdates_args

public TabletClientService.applyUpdates_args(TabletClientService.applyUpdates_args other)
Performs a deep copy on other.

Method Detail

deepCopy

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

clear

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

getTinfo

public TInfo getTinfo()

setTinfo

public TabletClientService.applyUpdates_args setTinfo(TInfo tinfo)

unsetTinfo

public void unsetTinfo()

isSetTinfo

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


setTinfoIsSet

public void setTinfoIsSet(boolean value)

getUpdateID

public long getUpdateID()

setUpdateID

public TabletClientService.applyUpdates_args setUpdateID(long updateID)

unsetUpdateID

public void unsetUpdateID()

isSetUpdateID

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


setUpdateIDIsSet

public void setUpdateIDIsSet(boolean value)

getKeyExtent

public TKeyExtent getKeyExtent()

setKeyExtent

public TabletClientService.applyUpdates_args setKeyExtent(TKeyExtent keyExtent)

unsetKeyExtent

public void unsetKeyExtent()

isSetKeyExtent

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


setKeyExtentIsSet

public void setKeyExtentIsSet(boolean value)

getMutationsSize

public int getMutationsSize()

getMutationsIterator

public Iterator<TMutation> getMutationsIterator()

addToMutations

public void addToMutations(TMutation elem)

getMutations

public List<TMutation> getMutations()

setMutations

public TabletClientService.applyUpdates_args setMutations(List<TMutation> mutations)

unsetMutations

public void unsetMutations()

isSetMutations

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


setMutationsIsSet

public void setMutationsIsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

public boolean isSet(TabletClientService.applyUpdates_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<TabletClientService.applyUpdates_args,TabletClientService.applyUpdates_args._Fields>

equals

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

equals

public boolean equals(TabletClientService.applyUpdates_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(TabletClientService.applyUpdates_args other)
Specified by:
compareTo in interface Comparable<TabletClientService.applyUpdates_args>

fieldForId

public TabletClientService.applyUpdates_args._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<TabletClientService.applyUpdates_args,TabletClientService.applyUpdates_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<TabletClientService.applyUpdates_args,TabletClientService.applyUpdates_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<TabletClientService.applyUpdates_args,TabletClientService.applyUpdates_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 The Apache Software Foundation. All Rights Reserved.