@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class Database extends Object implements org.apache.thrift.TBase<Database,Database._Fields>, Serializable, Cloneable, Comparable<Database>
| Modifier and Type | Class and Description |
|---|---|
static class |
Database._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<Database._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
Database() |
Database(Database other)
Performs a deep copy on other.
|
Database(String name,
String description,
String locationUri,
Map<String,String> parameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(Database other) |
Database |
deepCopy() |
boolean |
equals(Database that) |
boolean |
equals(Object that) |
Database._Fields |
fieldForId(int fieldId) |
String |
getCatalogName() |
String |
getConnector_name() |
int |
getCreateTime() |
String |
getDescription() |
Object |
getFieldValue(Database._Fields field) |
String |
getLocationUri() |
String |
getManagedLocationUri() |
String |
getName() |
String |
getOwnerName() |
PrincipalType |
getOwnerType() |
Map<String,String> |
getParameters() |
int |
getParametersSize() |
PrincipalPrivilegeSet |
getPrivileges() |
String |
getRemote_dbname() |
DatabaseType |
getType() |
int |
hashCode() |
boolean |
isSet(Database._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCatalogName()
Returns true if field catalogName is set (has been assigned a value) and false otherwise
|
boolean |
isSetConnector_name()
Returns true if field connector_name is set (has been assigned a value) and false otherwise
|
boolean |
isSetCreateTime()
Returns true if field createTime 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 |
isSetManagedLocationUri()
Returns true if field managedLocationUri 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
|
boolean |
isSetOwnerName()
Returns true if field ownerName is set (has been assigned a value) and false otherwise
|
boolean |
isSetOwnerType()
Returns true if field ownerType is set (has been assigned a value) and false otherwise
|
boolean |
isSetParameters()
Returns true if field parameters is set (has been assigned a value) and false otherwise
|
boolean |
isSetPrivileges()
Returns true if field privileges is set (has been assigned a value) and false otherwise
|
boolean |
isSetRemote_dbname()
Returns true if field remote_dbname is set (has been assigned a value) and false otherwise
|
boolean |
isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
|
void |
putToParameters(String key,
String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setCatalogName(String catalogName) |
void |
setCatalogNameIsSet(boolean value) |
void |
setConnector_name(String connector_name) |
void |
setConnector_nameIsSet(boolean value) |
void |
setCreateTime(int createTime) |
void |
setCreateTimeIsSet(boolean value) |
void |
setDescription(String description) |
void |
setDescriptionIsSet(boolean value) |
void |
setFieldValue(Database._Fields field,
Object value) |
void |
setLocationUri(String locationUri) |
void |
setLocationUriIsSet(boolean value) |
void |
setManagedLocationUri(String managedLocationUri) |
void |
setManagedLocationUriIsSet(boolean value) |
void |
setName(String name) |
void |
setNameIsSet(boolean value) |
void |
setOwnerName(String ownerName) |
void |
setOwnerNameIsSet(boolean value) |
void |
setOwnerType(PrincipalType ownerType) |
void |
setOwnerTypeIsSet(boolean value) |
void |
setParameters(Map<String,String> parameters) |
void |
setParametersIsSet(boolean value) |
void |
setPrivileges(PrincipalPrivilegeSet privileges) |
void |
setPrivilegesIsSet(boolean value) |
void |
setRemote_dbname(String remote_dbname) |
void |
setRemote_dbnameIsSet(boolean value) |
void |
setType(DatabaseType type) |
void |
setTypeIsSet(boolean value) |
String |
toString() |
void |
unsetCatalogName() |
void |
unsetConnector_name() |
void |
unsetCreateTime() |
void |
unsetDescription() |
void |
unsetLocationUri() |
void |
unsetManagedLocationUri() |
void |
unsetName() |
void |
unsetOwnerName() |
void |
unsetOwnerType() |
void |
unsetParameters() |
void |
unsetPrivileges() |
void |
unsetRemote_dbname() |
void |
unsetType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<Database._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Database()
public Database(String name, String description, String locationUri, Map<String,String> parameters)
public Database(Database other)
public Database deepCopy()
deepCopy in interface org.apache.thrift.TBase<Database,Database._Fields>public void clear()
clear in interface org.apache.thrift.TBase<Database,Database._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 int getParametersSize()
public void unsetParameters()
public boolean isSetParameters()
public void setParametersIsSet(boolean value)
public PrincipalPrivilegeSet getPrivileges()
public void setPrivileges(PrincipalPrivilegeSet privileges)
public void unsetPrivileges()
public boolean isSetPrivileges()
public void setPrivilegesIsSet(boolean value)
public String getOwnerName()
public void setOwnerName(String ownerName)
public void unsetOwnerName()
public boolean isSetOwnerName()
public void setOwnerNameIsSet(boolean value)
public PrincipalType getOwnerType()
PrincipalTypepublic void setOwnerType(PrincipalType ownerType)
PrincipalTypepublic void unsetOwnerType()
public boolean isSetOwnerType()
public void setOwnerTypeIsSet(boolean value)
public String getCatalogName()
public void setCatalogName(String catalogName)
public void unsetCatalogName()
public boolean isSetCatalogName()
public void setCatalogNameIsSet(boolean value)
public int getCreateTime()
public void setCreateTime(int createTime)
public void unsetCreateTime()
public boolean isSetCreateTime()
public void setCreateTimeIsSet(boolean value)
public String getManagedLocationUri()
public void setManagedLocationUri(String managedLocationUri)
public void unsetManagedLocationUri()
public boolean isSetManagedLocationUri()
public void setManagedLocationUriIsSet(boolean value)
public DatabaseType getType()
DatabaseTypepublic void setType(DatabaseType type)
DatabaseTypepublic void unsetType()
public boolean isSetType()
public void setTypeIsSet(boolean value)
public String getConnector_name()
public void setConnector_name(String connector_name)
public void unsetConnector_name()
public boolean isSetConnector_name()
public void setConnector_nameIsSet(boolean value)
public String getRemote_dbname()
public void setRemote_dbname(String remote_dbname)
public void unsetRemote_dbname()
public boolean isSetRemote_dbname()
public void setRemote_dbnameIsSet(boolean value)
public void setFieldValue(Database._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<Database,Database._Fields>public Object getFieldValue(Database._Fields field)
getFieldValue in interface org.apache.thrift.TBase<Database,Database._Fields>public boolean isSet(Database._Fields field)
isSet in interface org.apache.thrift.TBase<Database,Database._Fields>public boolean equals(Database that)
public int compareTo(Database other)
compareTo in interface Comparable<Database>public Database._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<Database,Database._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 © 2024 The Apache Software Foundation. All rights reserved.