@Generated(value="Autogenerated by Thrift Compiler (0.12.0)", date="2019-05-07") public class BatchMutation extends Object implements org.apache.thrift.TBase<BatchMutation,BatchMutation._Fields>, Serializable, Cloneable, Comparable<BatchMutation>
限定符和类型 | 类和说明 |
---|---|
static class |
BatchMutation._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
限定符和类型 | 字段和说明 |
---|---|
static Map<BatchMutation._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<Mutation> |
mutations |
ByteBuffer |
row |
构造器和说明 |
---|
BatchMutation() |
BatchMutation(BatchMutation other)
Performs a deep copy on other.
|
BatchMutation(ByteBuffer row,
List<Mutation> mutations) |
限定符和类型 | 方法和说明 |
---|---|
void |
addToMutations(Mutation elem) |
ByteBuffer |
bufferForRow() |
void |
clear() |
int |
compareTo(BatchMutation other) |
BatchMutation |
deepCopy() |
boolean |
equals(BatchMutation that) |
boolean |
equals(Object that) |
BatchMutation._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(BatchMutation._Fields field) |
List<Mutation> |
getMutations() |
Iterator<Mutation> |
getMutationsIterator() |
int |
getMutationsSize() |
byte[] |
getRow() |
int |
hashCode() |
boolean |
isSet(BatchMutation._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 |
isSetRow()
Returns true if field row is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(BatchMutation._Fields field,
Object value) |
BatchMutation |
setMutations(List<Mutation> mutations) |
void |
setMutationsIsSet(boolean value) |
BatchMutation |
setRow(byte[] row) |
BatchMutation |
setRow(ByteBuffer row) |
void |
setRowIsSet(boolean value) |
String |
toString() |
void |
unsetMutations() |
void |
unsetRow() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer row
public static final Map<BatchMutation._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public BatchMutation()
public BatchMutation(ByteBuffer row, List<Mutation> mutations)
public BatchMutation(BatchMutation other)
public BatchMutation deepCopy()
deepCopy
在接口中 org.apache.thrift.TBase<BatchMutation,BatchMutation._Fields>
public void clear()
clear
在接口中 org.apache.thrift.TBase<BatchMutation,BatchMutation._Fields>
public byte[] getRow()
public ByteBuffer bufferForRow()
public BatchMutation setRow(byte[] row)
public BatchMutation setRow(ByteBuffer row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public int getMutationsSize()
public void addToMutations(Mutation elem)
public BatchMutation setMutations(List<Mutation> mutations)
public void unsetMutations()
public boolean isSetMutations()
public void setMutationsIsSet(boolean value)
public void setFieldValue(BatchMutation._Fields field, Object value)
setFieldValue
在接口中 org.apache.thrift.TBase<BatchMutation,BatchMutation._Fields>
public Object getFieldValue(BatchMutation._Fields field)
getFieldValue
在接口中 org.apache.thrift.TBase<BatchMutation,BatchMutation._Fields>
public boolean isSet(BatchMutation._Fields field)
isSet
在接口中 org.apache.thrift.TBase<BatchMutation,BatchMutation._Fields>
public boolean equals(BatchMutation that)
public int compareTo(BatchMutation other)
compareTo
在接口中 Comparable<BatchMutation>
public BatchMutation._Fields fieldForId(int fieldId)
fieldForId
在接口中 org.apache.thrift.TBase<BatchMutation,BatchMutation._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
在接口中 org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
在接口中 org.apache.thrift.TSerializable
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.