Class TSQLVariable
- java.lang.Object
-
- com.databricks.jdbc.model.client.thrift.generated.TSQLVariable
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSQLVariable>,org.apache.thrift.TBase<TSQLVariable,TSQLVariable._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2024-10-09") public class TSQLVariable extends Object implements org.apache.thrift.TBase<TSQLVariable,TSQLVariable._Fields>, Serializable, Cloneable, Comparable<TSQLVariable>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSQLVariable._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description StringcatalogNameStringcurrentValueStringdefaultExpressionSQLstatic Map<TSQLVariable._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringschemaNameStringvariableDataTypeStringvariableName
-
Constructor Summary
Constructors Constructor Description TSQLVariable()TSQLVariable(TSQLVariable other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TSQLVariable other)TSQLVariabledeepCopy()booleanequals(TSQLVariable that)booleanequals(Object that)TSQLVariable._FieldsfieldForId(int fieldId)StringgetCatalogName()StringgetCurrentValue()StringgetDefaultExpressionSQL()ObjectgetFieldValue(TSQLVariable._Fields field)StringgetSchemaName()StringgetVariableDataType()StringgetVariableName()inthashCode()booleanisSet(TSQLVariable._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCatalogName()Returns true if field catalogName is set (has been assigned a value) and false otherwisebooleanisSetCurrentValue()Returns true if field currentValue is set (has been assigned a value) and false otherwisebooleanisSetDefaultExpressionSQL()Returns true if field defaultExpressionSQL is set (has been assigned a value) and false otherwisebooleanisSetSchemaName()Returns true if field schemaName is set (has been assigned a value) and false otherwisebooleanisSetVariableDataType()Returns true if field variableDataType is set (has been assigned a value) and false otherwisebooleanisSetVariableName()Returns true if field variableName is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TSQLVariablesetCatalogName(String catalogName)voidsetCatalogNameIsSet(boolean value)TSQLVariablesetCurrentValue(String currentValue)voidsetCurrentValueIsSet(boolean value)TSQLVariablesetDefaultExpressionSQL(String defaultExpressionSQL)voidsetDefaultExpressionSQLIsSet(boolean value)voidsetFieldValue(TSQLVariable._Fields field, Object value)TSQLVariablesetSchemaName(String schemaName)voidsetSchemaNameIsSet(boolean value)TSQLVariablesetVariableDataType(String variableDataType)voidsetVariableDataTypeIsSet(boolean value)TSQLVariablesetVariableName(String variableName)voidsetVariableNameIsSet(boolean value)StringtoString()voidunsetCatalogName()voidunsetCurrentValue()voidunsetDefaultExpressionSQL()voidunsetSchemaName()voidunsetVariableDataType()voidunsetVariableName()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
catalogName
public String catalogName
-
schemaName
public String schemaName
-
variableName
public String variableName
-
defaultExpressionSQL
public String defaultExpressionSQL
-
variableDataType
public String variableDataType
-
currentValue
public String currentValue
-
metaDataMap
public static final Map<TSQLVariable._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSQLVariable
public TSQLVariable()
-
TSQLVariable
public TSQLVariable(TSQLVariable other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSQLVariable deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSQLVariable,TSQLVariable._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSQLVariable,TSQLVariable._Fields>
-
getCatalogName
public String getCatalogName()
-
setCatalogName
public TSQLVariable setCatalogName(String catalogName)
-
unsetCatalogName
public void unsetCatalogName()
-
isSetCatalogName
public boolean isSetCatalogName()
Returns true if field catalogName is set (has been assigned a value) and false otherwise
-
setCatalogNameIsSet
public void setCatalogNameIsSet(boolean value)
-
getSchemaName
public String getSchemaName()
-
setSchemaName
public TSQLVariable setSchemaName(String schemaName)
-
unsetSchemaName
public void unsetSchemaName()
-
isSetSchemaName
public boolean isSetSchemaName()
Returns true if field schemaName is set (has been assigned a value) and false otherwise
-
setSchemaNameIsSet
public void setSchemaNameIsSet(boolean value)
-
getVariableName
public String getVariableName()
-
setVariableName
public TSQLVariable setVariableName(String variableName)
-
unsetVariableName
public void unsetVariableName()
-
isSetVariableName
public boolean isSetVariableName()
Returns true if field variableName is set (has been assigned a value) and false otherwise
-
setVariableNameIsSet
public void setVariableNameIsSet(boolean value)
-
getDefaultExpressionSQL
public String getDefaultExpressionSQL()
-
setDefaultExpressionSQL
public TSQLVariable setDefaultExpressionSQL(String defaultExpressionSQL)
-
unsetDefaultExpressionSQL
public void unsetDefaultExpressionSQL()
-
isSetDefaultExpressionSQL
public boolean isSetDefaultExpressionSQL()
Returns true if field defaultExpressionSQL is set (has been assigned a value) and false otherwise
-
setDefaultExpressionSQLIsSet
public void setDefaultExpressionSQLIsSet(boolean value)
-
getVariableDataType
public String getVariableDataType()
-
setVariableDataType
public TSQLVariable setVariableDataType(String variableDataType)
-
unsetVariableDataType
public void unsetVariableDataType()
-
isSetVariableDataType
public boolean isSetVariableDataType()
Returns true if field variableDataType is set (has been assigned a value) and false otherwise
-
setVariableDataTypeIsSet
public void setVariableDataTypeIsSet(boolean value)
-
getCurrentValue
public String getCurrentValue()
-
setCurrentValue
public TSQLVariable setCurrentValue(String currentValue)
-
unsetCurrentValue
public void unsetCurrentValue()
-
isSetCurrentValue
public boolean isSetCurrentValue()
Returns true if field currentValue is set (has been assigned a value) and false otherwise
-
setCurrentValueIsSet
public void setCurrentValueIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSQLVariable._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSQLVariable,TSQLVariable._Fields>
-
getFieldValue
public Object getFieldValue(TSQLVariable._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSQLVariable,TSQLVariable._Fields>
-
isSet
public boolean isSet(TSQLVariable._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TSQLVariable,TSQLVariable._Fields>
-
equals
public boolean equals(TSQLVariable that)
-
compareTo
public int compareTo(TSQLVariable other)
- Specified by:
compareToin interfaceComparable<TSQLVariable>
-
fieldForId
public TSQLVariable._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSQLVariable,TSQLVariable._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-