@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class DataConnector extends Object implements org.apache.thrift.TBase<DataConnector,DataConnector._Fields>, Serializable, Cloneable, Comparable<DataConnector>
| Modifier and Type | Class and Description |
|---|---|
static class |
DataConnector._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<DataConnector._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
DataConnector() |
DataConnector(DataConnector other)
Performs a deep copy on other.
|
DataConnector(String name,
String type,
String url) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(DataConnector other) |
DataConnector |
deepCopy() |
boolean |
equals(DataConnector that) |
boolean |
equals(Object that) |
DataConnector._Fields |
fieldForId(int fieldId) |
int |
getCreateTime() |
String |
getDescription() |
Object |
getFieldValue(DataConnector._Fields field) |
String |
getName() |
String |
getOwnerName() |
PrincipalType |
getOwnerType() |
Map<String,String> |
getParameters() |
int |
getParametersSize() |
String |
getType() |
String |
getUrl() |
int |
hashCode() |
boolean |
isSet(DataConnector._Fields field)
Returns true if field corresponding to fieldID 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 |
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 |
isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
|
boolean |
isSetUrl()
Returns true if field url 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 |
setCreateTime(int createTime) |
void |
setCreateTimeIsSet(boolean value) |
void |
setDescription(String description) |
void |
setDescriptionIsSet(boolean value) |
void |
setFieldValue(DataConnector._Fields field,
Object 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 |
setType(String type) |
void |
setTypeIsSet(boolean value) |
void |
setUrl(String url) |
void |
setUrlIsSet(boolean value) |
String |
toString() |
void |
unsetCreateTime() |
void |
unsetDescription() |
void |
unsetName() |
void |
unsetOwnerName() |
void |
unsetOwnerType() |
void |
unsetParameters() |
void |
unsetType() |
void |
unsetUrl() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<DataConnector._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public DataConnector()
public DataConnector(DataConnector other)
public DataConnector deepCopy()
deepCopy in interface org.apache.thrift.TBase<DataConnector,DataConnector._Fields>public void clear()
clear in interface org.apache.thrift.TBase<DataConnector,DataConnector._Fields>public String getName()
public void setName(String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public String getType()
public void setType(String type)
public void unsetType()
public boolean isSetType()
public void setTypeIsSet(boolean value)
public String getUrl()
public void setUrl(String url)
public void unsetUrl()
public boolean isSetUrl()
public void setUrlIsSet(boolean value)
public String getDescription()
public void setDescription(String description)
public void unsetDescription()
public boolean isSetDescription()
public void setDescriptionIsSet(boolean value)
public int getParametersSize()
public void unsetParameters()
public boolean isSetParameters()
public void setParametersIsSet(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 int getCreateTime()
public void setCreateTime(int createTime)
public void unsetCreateTime()
public boolean isSetCreateTime()
public void setCreateTimeIsSet(boolean value)
public void setFieldValue(DataConnector._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<DataConnector,DataConnector._Fields>public Object getFieldValue(DataConnector._Fields field)
getFieldValue in interface org.apache.thrift.TBase<DataConnector,DataConnector._Fields>public boolean isSet(DataConnector._Fields field)
isSet in interface org.apache.thrift.TBase<DataConnector,DataConnector._Fields>public boolean equals(DataConnector that)
public int compareTo(DataConnector other)
compareTo in interface Comparable<DataConnector>public DataConnector._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<DataConnector,DataConnector._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.