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

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

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

See Also:
Serialized Form

Nested Class Summary
static class TabletClientService.conditionalUpdate_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<TabletClientService.conditionalUpdate_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 Map<TKeyExtent,List<TConditionalMutation>> mutations
           
 long sessID
           
 List<String> symbols
           
 TInfo tinfo
           
 
Constructor Summary
TabletClientService.conditionalUpdate_args()
           
TabletClientService.conditionalUpdate_args(TabletClientService.conditionalUpdate_args other)
          Performs a deep copy on other.
TabletClientService.conditionalUpdate_args(TInfo tinfo, long sessID, Map<TKeyExtent,List<TConditionalMutation>> mutations, List<String> symbols)
           
 
Method Summary
 void addToSymbols(String elem)
           
 void clear()
           
 int compareTo(TabletClientService.conditionalUpdate_args other)
           
 TabletClientService.conditionalUpdate_args deepCopy()
           
 boolean equals(Object that)
           
 boolean equals(TabletClientService.conditionalUpdate_args that)
           
 TabletClientService.conditionalUpdate_args._Fields fieldForId(int fieldId)
           
 Object getFieldValue(TabletClientService.conditionalUpdate_args._Fields field)
           
 Map<TKeyExtent,List<TConditionalMutation>> getMutations()
           
 int getMutationsSize()
           
 long getSessID()
           
 List<String> getSymbols()
           
 Iterator<String> getSymbolsIterator()
           
 int getSymbolsSize()
           
 TInfo getTinfo()
           
 int hashCode()
           
 boolean isSet(TabletClientService.conditionalUpdate_args._Fields field)
          Returns true if field corresponding to fieldID 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 isSetSessID()
          Returns true if field sessID is set (has been assigned a value) and false otherwise
 boolean isSetSymbols()
          Returns true if field symbols 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
 void putToMutations(TKeyExtent key, List<TConditionalMutation> val)
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(TabletClientService.conditionalUpdate_args._Fields field, Object value)
           
 TabletClientService.conditionalUpdate_args setMutations(Map<TKeyExtent,List<TConditionalMutation>> mutations)
           
 void setMutationsIsSet(boolean value)
           
 TabletClientService.conditionalUpdate_args setSessID(long sessID)
           
 void setSessIDIsSet(boolean value)
           
 TabletClientService.conditionalUpdate_args setSymbols(List<String> symbols)
           
 void setSymbolsIsSet(boolean value)
           
 TabletClientService.conditionalUpdate_args setTinfo(TInfo tinfo)
           
 void setTinfoIsSet(boolean value)
           
 String toString()
           
 void unsetMutations()
           
 void unsetSessID()
           
 void unsetSymbols()
           
 void unsetTinfo()
           
 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

sessID

public long sessID

mutations

public Map<TKeyExtent,List<TConditionalMutation>> mutations

symbols

public List<String> symbols

metaDataMap

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

TabletClientService.conditionalUpdate_args

public TabletClientService.conditionalUpdate_args()

TabletClientService.conditionalUpdate_args

public TabletClientService.conditionalUpdate_args(TInfo tinfo,
                                                  long sessID,
                                                  Map<TKeyExtent,List<TConditionalMutation>> mutations,
                                                  List<String> symbols)

TabletClientService.conditionalUpdate_args

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

Method Detail

deepCopy

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

clear

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

getTinfo

public TInfo getTinfo()

setTinfo

public TabletClientService.conditionalUpdate_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)

getSessID

public long getSessID()

setSessID

public TabletClientService.conditionalUpdate_args setSessID(long sessID)

unsetSessID

public void unsetSessID()

isSetSessID

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


setSessIDIsSet

public void setSessIDIsSet(boolean value)

getMutationsSize

public int getMutationsSize()

putToMutations

public void putToMutations(TKeyExtent key,
                           List<TConditionalMutation> val)

getMutations

public Map<TKeyExtent,List<TConditionalMutation>> getMutations()

setMutations

public TabletClientService.conditionalUpdate_args setMutations(Map<TKeyExtent,List<TConditionalMutation>> 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)

getSymbolsSize

public int getSymbolsSize()

getSymbolsIterator

public Iterator<String> getSymbolsIterator()

addToSymbols

public void addToSymbols(String elem)

getSymbols

public List<String> getSymbols()

setSymbols

public TabletClientService.conditionalUpdate_args setSymbols(List<String> symbols)

unsetSymbols

public void unsetSymbols()

isSetSymbols

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


setSymbolsIsSet

public void setSymbolsIsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

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

equals

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

equals

public boolean equals(TabletClientService.conditionalUpdate_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

public TabletClientService.conditionalUpdate_args._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<TabletClientService.conditionalUpdate_args,TabletClientService.conditionalUpdate_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.conditionalUpdate_args,TabletClientService.conditionalUpdate_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.conditionalUpdate_args,TabletClientService.conditionalUpdate_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 © 2015 Apache Accumulo Project. All rights reserved.