public static class BdbService.txnCommit_args extends java.lang.Object implements org.apache.thrift.TBase<BdbService.txnCommit_args,BdbService.txnCommit_args._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<BdbService.txnCommit_args>
Modifier and Type | Class and Description |
---|---|
static class |
BdbService.txnCommit_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
TDurabilityPolicy |
durability |
static java.util.Map<BdbService.txnCommit_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
TTransaction |
txn |
Constructor and Description |
---|
txnCommit_args() |
txnCommit_args(BdbService.txnCommit_args other)
Performs a deep copy on other.
|
txnCommit_args(TTransaction txn,
TDurabilityPolicy durability) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(BdbService.txnCommit_args other) |
BdbService.txnCommit_args |
deepCopy() |
boolean |
equals(BdbService.txnCommit_args that) |
boolean |
equals(java.lang.Object that) |
BdbService.txnCommit_args._Fields |
fieldForId(int fieldId) |
TDurabilityPolicy |
getDurability() |
java.lang.Object |
getFieldValue(BdbService.txnCommit_args._Fields field) |
TTransaction |
getTxn() |
int |
hashCode() |
boolean |
isSet(BdbService.txnCommit_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDurability()
Returns true if field durability is set (has been assigned a value) and false otherwise
|
boolean |
isSetTxn()
Returns true if field txn is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
BdbService.txnCommit_args |
setDurability(TDurabilityPolicy durability) |
void |
setDurabilityIsSet(boolean value) |
void |
setFieldValue(BdbService.txnCommit_args._Fields field,
java.lang.Object value) |
BdbService.txnCommit_args |
setTxn(TTransaction txn) |
void |
setTxnIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetDurability() |
void |
unsetTxn() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public TTransaction txn
public TDurabilityPolicy durability
TDurabilityPolicy
public static final java.util.Map<BdbService.txnCommit_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public txnCommit_args()
public txnCommit_args(TTransaction txn, TDurabilityPolicy durability)
public txnCommit_args(BdbService.txnCommit_args other)
public BdbService.txnCommit_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<BdbService.txnCommit_args,BdbService.txnCommit_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<BdbService.txnCommit_args,BdbService.txnCommit_args._Fields>
public TTransaction getTxn()
public BdbService.txnCommit_args setTxn(TTransaction txn)
public void unsetTxn()
public boolean isSetTxn()
public void setTxnIsSet(boolean value)
public TDurabilityPolicy getDurability()
TDurabilityPolicy
public BdbService.txnCommit_args setDurability(TDurabilityPolicy durability)
TDurabilityPolicy
public void unsetDurability()
public boolean isSetDurability()
public void setDurabilityIsSet(boolean value)
public void setFieldValue(BdbService.txnCommit_args._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<BdbService.txnCommit_args,BdbService.txnCommit_args._Fields>
public java.lang.Object getFieldValue(BdbService.txnCommit_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<BdbService.txnCommit_args,BdbService.txnCommit_args._Fields>
public boolean isSet(BdbService.txnCommit_args._Fields field)
isSet
in interface org.apache.thrift.TBase<BdbService.txnCommit_args,BdbService.txnCommit_args._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(BdbService.txnCommit_args that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(BdbService.txnCommit_args other)
compareTo
in interface java.lang.Comparable<BdbService.txnCommit_args>
public BdbService.txnCommit_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<BdbService.txnCommit_args,BdbService.txnCommit_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright (c) 2016, 2018 Oracle and/or its affiliates. All rights reserved.