@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") @InterfaceAudience.Public @InterfaceStability.Stable public class Catalog extends Object implements org.apache.thrift.TBase<Catalog,Catalog._Fields>, Serializable, Cloneable, Comparable<Catalog>
Modifier and Type | Class and Description |
---|---|
static class |
Catalog._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<Catalog._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
Catalog() |
Catalog(Catalog other)
Performs a deep copy on other.
|
Catalog(String name,
String locationUri) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(Catalog other) |
Catalog |
deepCopy() |
boolean |
equals(Catalog that) |
boolean |
equals(Object that) |
Catalog._Fields |
fieldForId(int fieldId) |
String |
getDescription() |
Object |
getFieldValue(Catalog._Fields field) |
String |
getLocationUri() |
String |
getName() |
int |
hashCode() |
boolean |
isSet(Catalog._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDescription()
Returns true if field description is set (has been assigned a value) and false otherwise
|
boolean |
isSetLocationUri()
Returns true if field locationUri 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 |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setDescription(String description) |
void |
setDescriptionIsSet(boolean value) |
void |
setFieldValue(Catalog._Fields field,
Object value) |
void |
setLocationUri(String locationUri) |
void |
setLocationUriIsSet(boolean value) |
void |
setName(String name) |
void |
setNameIsSet(boolean value) |
String |
toString() |
void |
unsetDescription() |
void |
unsetLocationUri() |
void |
unsetName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<Catalog._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Catalog()
public Catalog(Catalog other)
public Catalog deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Catalog,Catalog._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Catalog,Catalog._Fields>
public String getName()
public void setName(String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public String getDescription()
public void setDescription(String description)
public void unsetDescription()
public boolean isSetDescription()
public void setDescriptionIsSet(boolean value)
public String getLocationUri()
public void setLocationUri(String locationUri)
public void unsetLocationUri()
public boolean isSetLocationUri()
public void setLocationUriIsSet(boolean value)
public void setFieldValue(Catalog._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Catalog,Catalog._Fields>
public Object getFieldValue(Catalog._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Catalog,Catalog._Fields>
public boolean isSet(Catalog._Fields field)
isSet
in interface org.apache.thrift.TBase<Catalog,Catalog._Fields>
public boolean equals(Catalog that)
public int compareTo(Catalog other)
compareTo
in interface Comparable<Catalog>
public Catalog._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Catalog,Catalog._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Catalog,Catalog._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<Catalog,Catalog._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.