@Generated(value="Autogenerated by Thrift Compiler (0.12.0)", date="2020-07-29") public class BsonType extends Object implements org.apache.thrift.TBase<BsonType,BsonType._Fields>, Serializable, Cloneable, Comparable<BsonType>
| Modifier and Type | Class and Description |
|---|---|
static class |
BsonType._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static Map<BsonType._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
BsonType() |
BsonType(BsonType other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(BsonType other) |
BsonType |
deepCopy() |
boolean |
equals(BsonType that) |
boolean |
equals(Object that) |
BsonType._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(BsonType._Fields field) |
int |
hashCode() |
boolean |
isSet(BsonType._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(BsonType._Fields field,
Object value) |
String |
toString() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<BsonType._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public BsonType()
public BsonType(BsonType other)
public BsonType deepCopy()
deepCopy in interface org.apache.thrift.TBase<BsonType,BsonType._Fields>public void clear()
clear in interface org.apache.thrift.TBase<BsonType,BsonType._Fields>public void setFieldValue(BsonType._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<BsonType,BsonType._Fields>public Object getFieldValue(BsonType._Fields field)
getFieldValue in interface org.apache.thrift.TBase<BsonType,BsonType._Fields>public boolean isSet(BsonType._Fields field)
isSet in interface org.apache.thrift.TBase<BsonType,BsonType._Fields>public boolean equals(BsonType that)
public int compareTo(BsonType other)
compareTo in interface Comparable<BsonType>public BsonType._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<BsonType,BsonType._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 void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.