public static class BdbService.dbPut_args extends java.lang.Object implements org.apache.thrift.TBase<BdbService.dbPut_args,BdbService.dbPut_args._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<BdbService.dbPut_args>
| Modifier and Type | Class and Description |
|---|---|
static class |
BdbService.dbPut_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
TDbPutConfig |
config |
TDatabase |
db |
static java.util.Map<BdbService.dbPut_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
java.util.List<TKeyDataWithSecondaryKeys> |
pairs |
TTransaction |
txn |
| Constructor and Description |
|---|
dbPut_args() |
dbPut_args(BdbService.dbPut_args other)
Performs a deep copy on other.
|
dbPut_args(TDatabase db,
TTransaction txn,
java.util.List<TKeyDataWithSecondaryKeys> pairs,
TDbPutConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToPairs(TKeyDataWithSecondaryKeys elem) |
void |
clear() |
int |
compareTo(BdbService.dbPut_args other) |
BdbService.dbPut_args |
deepCopy() |
boolean |
equals(BdbService.dbPut_args that) |
boolean |
equals(java.lang.Object that) |
BdbService.dbPut_args._Fields |
fieldForId(int fieldId) |
TDbPutConfig |
getConfig() |
TDatabase |
getDb() |
java.lang.Object |
getFieldValue(BdbService.dbPut_args._Fields field) |
java.util.List<TKeyDataWithSecondaryKeys> |
getPairs() |
java.util.Iterator<TKeyDataWithSecondaryKeys> |
getPairsIterator() |
int |
getPairsSize() |
TTransaction |
getTxn() |
int |
hashCode() |
boolean |
isSet(BdbService.dbPut_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetConfig()
Returns true if field config is set (has been assigned a value) and false otherwise
|
boolean |
isSetDb()
Returns true if field db is set (has been assigned a value) and false otherwise
|
boolean |
isSetPairs()
Returns true if field pairs 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.dbPut_args |
setConfig(TDbPutConfig config) |
void |
setConfigIsSet(boolean value) |
BdbService.dbPut_args |
setDb(TDatabase db) |
void |
setDbIsSet(boolean value) |
void |
setFieldValue(BdbService.dbPut_args._Fields field,
java.lang.Object value) |
BdbService.dbPut_args |
setPairs(java.util.List<TKeyDataWithSecondaryKeys> pairs) |
void |
setPairsIsSet(boolean value) |
BdbService.dbPut_args |
setTxn(TTransaction txn) |
void |
setTxnIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetConfig() |
void |
unsetDb() |
void |
unsetPairs() |
void |
unsetTxn() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public TDatabase db
public TTransaction txn
public java.util.List<TKeyDataWithSecondaryKeys> pairs
public TDbPutConfig config
TDbPutConfigpublic static final java.util.Map<BdbService.dbPut_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public dbPut_args()
public dbPut_args(TDatabase db, TTransaction txn, java.util.List<TKeyDataWithSecondaryKeys> pairs, TDbPutConfig config)
public dbPut_args(BdbService.dbPut_args other)
public BdbService.dbPut_args deepCopy()
deepCopy in interface org.apache.thrift.TBase<BdbService.dbPut_args,BdbService.dbPut_args._Fields>public void clear()
clear in interface org.apache.thrift.TBase<BdbService.dbPut_args,BdbService.dbPut_args._Fields>public TDatabase getDb()
public BdbService.dbPut_args setDb(TDatabase db)
public void unsetDb()
public boolean isSetDb()
public void setDbIsSet(boolean value)
public TTransaction getTxn()
public BdbService.dbPut_args setTxn(TTransaction txn)
public void unsetTxn()
public boolean isSetTxn()
public void setTxnIsSet(boolean value)
public int getPairsSize()
public java.util.Iterator<TKeyDataWithSecondaryKeys> getPairsIterator()
public void addToPairs(TKeyDataWithSecondaryKeys elem)
public java.util.List<TKeyDataWithSecondaryKeys> getPairs()
public BdbService.dbPut_args setPairs(java.util.List<TKeyDataWithSecondaryKeys> pairs)
public void unsetPairs()
public boolean isSetPairs()
public void setPairsIsSet(boolean value)
public TDbPutConfig getConfig()
TDbPutConfigpublic BdbService.dbPut_args setConfig(TDbPutConfig config)
TDbPutConfigpublic void unsetConfig()
public boolean isSetConfig()
public void setConfigIsSet(boolean value)
public void setFieldValue(BdbService.dbPut_args._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<BdbService.dbPut_args,BdbService.dbPut_args._Fields>public java.lang.Object getFieldValue(BdbService.dbPut_args._Fields field)
getFieldValue in interface org.apache.thrift.TBase<BdbService.dbPut_args,BdbService.dbPut_args._Fields>public boolean isSet(BdbService.dbPut_args._Fields field)
isSet in interface org.apache.thrift.TBase<BdbService.dbPut_args,BdbService.dbPut_args._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(BdbService.dbPut_args that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(BdbService.dbPut_args other)
compareTo in interface java.lang.Comparable<BdbService.dbPut_args>public BdbService.dbPut_args._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<BdbService.dbPut_args,BdbService.dbPut_args._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright (c) 2016, 2018 Oracle and/or its affiliates. All rights reserved.