Class TabletClientService.applyUpdates_args
- java.lang.Object
-
- 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, Comparable<TabletClientService.applyUpdates_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TabletClientService.applyUpdates_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description TKeyExtent
keyExtent
static Map<TabletClientService.applyUpdates_args._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
List<TMutation>
mutations
TInfo
tinfo
long
updateID
-
Constructor Summary
Constructors Constructor Description applyUpdates_args()
applyUpdates_args(TabletClientService.applyUpdates_args other)
Performs a deep copy on other.applyUpdates_args(TInfo tinfo, long updateID, TKeyExtent keyExtent, List<TMutation> mutations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 otherwiseboolean
isSetKeyExtent()
Returns true if field keyExtent is set (has been assigned a value) and false otherwiseboolean
isSetMutations()
Returns true if field mutations is set (has been assigned a value) and false otherwiseboolean
isSetTinfo()
Returns true if field tinfo is set (has been assigned a value) and false otherwiseboolean
isSetUpdateID()
Returns true if field updateID is set (has been assigned a value) and false otherwisevoid
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)
-
-
-
Field Detail
-
tinfo
public TInfo tinfo
-
updateID
public long updateID
-
keyExtent
public TKeyExtent keyExtent
-
metaDataMap
public static final Map<TabletClientService.applyUpdates_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
applyUpdates_args
public applyUpdates_args()
-
applyUpdates_args
public applyUpdates_args(TInfo tinfo, long updateID, TKeyExtent keyExtent, List<TMutation> mutations)
-
applyUpdates_args
public applyUpdates_args(TabletClientService.applyUpdates_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TabletClientService.applyUpdates_args deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<TabletClientService.applyUpdates_args,TabletClientService.applyUpdates_args._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.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()
-
addToMutations
public void addToMutations(TMutation elem)
-
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 interfaceorg.apache.thrift.TBase<TabletClientService.applyUpdates_args,TabletClientService.applyUpdates_args._Fields>
-
getFieldValue
public Object getFieldValue(TabletClientService.applyUpdates_args._Fields field)
- Specified by:
getFieldValue
in interfaceorg.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 interfaceorg.apache.thrift.TBase<TabletClientService.applyUpdates_args,TabletClientService.applyUpdates_args._Fields>
-
equals
public boolean equals(TabletClientService.applyUpdates_args that)
-
compareTo
public int compareTo(TabletClientService.applyUpdates_args other)
- Specified by:
compareTo
in interfaceComparable<TabletClientService.applyUpdates_args>
-
fieldForId
public TabletClientService.applyUpdates_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.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 interfaceorg.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 interfaceorg.apache.thrift.TBase<TabletClientService.applyUpdates_args,TabletClientService.applyUpdates_args._Fields>
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-