public static class TTransactionServer.getSnapshot_result extends Object implements org.apache.thrift.TBase<TTransactionServer.getSnapshot_result,TTransactionServer.getSnapshot_result._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TTransactionServer.getSnapshot_result._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
TTransactionCouldNotTakeSnapshotException |
e |
static Map<TTransactionServer.getSnapshot_result._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
success |
Constructor and Description |
---|
TTransactionServer.getSnapshot_result() |
TTransactionServer.getSnapshot_result(ByteBuffer success,
TTransactionCouldNotTakeSnapshotException e) |
TTransactionServer.getSnapshot_result(TTransactionServer.getSnapshot_result other)
Performs a deep copy on other.
|
public ByteBuffer success
public TTransactionCouldNotTakeSnapshotException e
public static final Map<TTransactionServer.getSnapshot_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TTransactionServer.getSnapshot_result()
public TTransactionServer.getSnapshot_result(ByteBuffer success, TTransactionCouldNotTakeSnapshotException e)
public TTransactionServer.getSnapshot_result(TTransactionServer.getSnapshot_result other)
public TTransactionServer.getSnapshot_result deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TTransactionServer.getSnapshot_result,TTransactionServer.getSnapshot_result._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TTransactionServer.getSnapshot_result,TTransactionServer.getSnapshot_result._Fields>
public byte[] getSuccess()
public ByteBuffer bufferForSuccess()
public TTransactionServer.getSnapshot_result setSuccess(byte[] success)
public TTransactionServer.getSnapshot_result setSuccess(ByteBuffer success)
public void unsetSuccess()
public boolean isSetSuccess()
public void setSuccessIsSet(boolean value)
public TTransactionCouldNotTakeSnapshotException getE()
public TTransactionServer.getSnapshot_result setE(TTransactionCouldNotTakeSnapshotException e)
public void unsetE()
public boolean isSetE()
public void setEIsSet(boolean value)
public void setFieldValue(TTransactionServer.getSnapshot_result._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TTransactionServer.getSnapshot_result,TTransactionServer.getSnapshot_result._Fields>
public Object getFieldValue(TTransactionServer.getSnapshot_result._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TTransactionServer.getSnapshot_result,TTransactionServer.getSnapshot_result._Fields>
public boolean isSet(TTransactionServer.getSnapshot_result._Fields field)
isSet
in interface org.apache.thrift.TBase<TTransactionServer.getSnapshot_result,TTransactionServer.getSnapshot_result._Fields>
public boolean equals(TTransactionServer.getSnapshot_result that)
public int compareTo(TTransactionServer.getSnapshot_result other)
compareTo
in interface Comparable<TTransactionServer.getSnapshot_result>
public TTransactionServer.getSnapshot_result._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TTransactionServer.getSnapshot_result,TTransactionServer.getSnapshot_result._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TTransactionServer.getSnapshot_result,TTransactionServer.getSnapshot_result._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<TTransactionServer.getSnapshot_result,TTransactionServer.getSnapshot_result._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2016 The Apache Software Foundation. All rights reserved.