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