@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2018-12-26") public class NamespaceDescriptor extends Object implements org.apache.thrift.TBase<NamespaceDescriptor,NamespaceDescriptor._Fields>, Serializable, Cloneable, Comparable<NamespaceDescriptor>
| Modifier and Type | Class and Description |
|---|---|
static class |
NamespaceDescriptor._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<NamespaceDescriptor._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
name |
| Constructor and Description |
|---|
NamespaceDescriptor() |
NamespaceDescriptor(NamespaceDescriptor other)
Performs a deep copy on other.
|
NamespaceDescriptor(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(NamespaceDescriptor other) |
NamespaceDescriptor |
deepCopy() |
boolean |
equals(NamespaceDescriptor that) |
boolean |
equals(Object that) |
NamespaceDescriptor._Fields |
fieldForId(int fieldId) |
Map<String,String> |
getConfiguration() |
int |
getConfigurationSize() |
Object |
getFieldValue(NamespaceDescriptor._Fields field) |
String |
getName() |
int |
hashCode() |
boolean |
isSet(NamespaceDescriptor._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) |
NamespaceDescriptor |
setConfiguration(Map<String,String> configuration) |
void |
setConfigurationIsSet(boolean value) |
void |
setFieldValue(NamespaceDescriptor._Fields field,
Object value) |
NamespaceDescriptor |
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<NamespaceDescriptor._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public NamespaceDescriptor()
public NamespaceDescriptor(String name)
public NamespaceDescriptor(NamespaceDescriptor other)
public NamespaceDescriptor deepCopy()
deepCopy in interface org.apache.thrift.TBase<NamespaceDescriptor,NamespaceDescriptor._Fields>public void clear()
clear in interface org.apache.thrift.TBase<NamespaceDescriptor,NamespaceDescriptor._Fields>public String getName()
public NamespaceDescriptor setName(String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public int getConfigurationSize()
public NamespaceDescriptor setConfiguration(Map<String,String> configuration)
public void unsetConfiguration()
public boolean isSetConfiguration()
public void setConfigurationIsSet(boolean value)
public void setFieldValue(NamespaceDescriptor._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<NamespaceDescriptor,NamespaceDescriptor._Fields>public Object getFieldValue(NamespaceDescriptor._Fields field)
getFieldValue in interface org.apache.thrift.TBase<NamespaceDescriptor,NamespaceDescriptor._Fields>public boolean isSet(NamespaceDescriptor._Fields field)
isSet in interface org.apache.thrift.TBase<NamespaceDescriptor,NamespaceDescriptor._Fields>public boolean equals(NamespaceDescriptor that)
public int compareTo(NamespaceDescriptor other)
compareTo in interface Comparable<NamespaceDescriptor>public NamespaceDescriptor._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<NamespaceDescriptor,NamespaceDescriptor._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.