Class TDBSqlSessionConf
- java.lang.Object
-
- com.databricks.jdbc.model.client.thrift.generated.TDBSqlSessionConf
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TDBSqlSessionConf>,org.apache.thrift.TBase<TDBSqlSessionConf,TDBSqlSessionConf._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2024-05-06") public class TDBSqlSessionConf extends Object implements org.apache.thrift.TBase<TDBSqlSessionConf,TDBSqlSessionConf._Fields>, Serializable, Cloneable, Comparable<TDBSqlSessionConf>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTDBSqlSessionConf._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description Map<String,String>confsStringcurrentCatalogStringcurrentDatabaseList<TExpressionInfo>expressionsInfosMap<String,TDBSqlConfValue>internalConfsstatic Map<TDBSqlSessionConf._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTDBSqlSessionCapabilitiessessionCapabilitiesList<TSQLVariable>tempVariablesList<TDBSqlTempView>tempViews
-
Constructor Summary
Constructors Constructor Description TDBSqlSessionConf()TDBSqlSessionConf(TDBSqlSessionConf other)Performs a deep copy on other.
-
Method Summary
-
-
-
Field Detail
-
tempViews
public List<TDBSqlTempView> tempViews
-
currentDatabase
public String currentDatabase
-
currentCatalog
public String currentCatalog
-
sessionCapabilities
public TDBSqlSessionCapabilities sessionCapabilities
-
expressionsInfos
public List<TExpressionInfo> expressionsInfos
-
internalConfs
public Map<String,TDBSqlConfValue> internalConfs
-
tempVariables
public List<TSQLVariable> tempVariables
-
metaDataMap
public static final Map<TDBSqlSessionConf._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TDBSqlSessionConf
public TDBSqlSessionConf()
-
TDBSqlSessionConf
public TDBSqlSessionConf(TDBSqlSessionConf other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TDBSqlSessionConf deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TDBSqlSessionConf,TDBSqlSessionConf._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TDBSqlSessionConf,TDBSqlSessionConf._Fields>
-
getConfsSize
public int getConfsSize()
-
setConfs
public TDBSqlSessionConf setConfs(Map<String,String> confs)
-
unsetConfs
public void unsetConfs()
-
isSetConfs
public boolean isSetConfs()
Returns true if field confs is set (has been assigned a value) and false otherwise
-
setConfsIsSet
public void setConfsIsSet(boolean value)
-
getTempViewsSize
public int getTempViewsSize()
-
getTempViewsIterator
public Iterator<TDBSqlTempView> getTempViewsIterator()
-
addToTempViews
public void addToTempViews(TDBSqlTempView elem)
-
getTempViews
public List<TDBSqlTempView> getTempViews()
-
setTempViews
public TDBSqlSessionConf setTempViews(List<TDBSqlTempView> tempViews)
-
unsetTempViews
public void unsetTempViews()
-
isSetTempViews
public boolean isSetTempViews()
Returns true if field tempViews is set (has been assigned a value) and false otherwise
-
setTempViewsIsSet
public void setTempViewsIsSet(boolean value)
-
getCurrentDatabase
public String getCurrentDatabase()
-
setCurrentDatabase
public TDBSqlSessionConf setCurrentDatabase(String currentDatabase)
-
unsetCurrentDatabase
public void unsetCurrentDatabase()
-
isSetCurrentDatabase
public boolean isSetCurrentDatabase()
Returns true if field currentDatabase is set (has been assigned a value) and false otherwise
-
setCurrentDatabaseIsSet
public void setCurrentDatabaseIsSet(boolean value)
-
getCurrentCatalog
public String getCurrentCatalog()
-
setCurrentCatalog
public TDBSqlSessionConf setCurrentCatalog(String currentCatalog)
-
unsetCurrentCatalog
public void unsetCurrentCatalog()
-
isSetCurrentCatalog
public boolean isSetCurrentCatalog()
Returns true if field currentCatalog is set (has been assigned a value) and false otherwise
-
setCurrentCatalogIsSet
public void setCurrentCatalogIsSet(boolean value)
-
getSessionCapabilities
public TDBSqlSessionCapabilities getSessionCapabilities()
-
setSessionCapabilities
public TDBSqlSessionConf setSessionCapabilities(TDBSqlSessionCapabilities sessionCapabilities)
-
unsetSessionCapabilities
public void unsetSessionCapabilities()
-
isSetSessionCapabilities
public boolean isSetSessionCapabilities()
Returns true if field sessionCapabilities is set (has been assigned a value) and false otherwise
-
setSessionCapabilitiesIsSet
public void setSessionCapabilitiesIsSet(boolean value)
-
getExpressionsInfosSize
public int getExpressionsInfosSize()
-
getExpressionsInfosIterator
public Iterator<TExpressionInfo> getExpressionsInfosIterator()
-
addToExpressionsInfos
public void addToExpressionsInfos(TExpressionInfo elem)
-
getExpressionsInfos
public List<TExpressionInfo> getExpressionsInfos()
-
setExpressionsInfos
public TDBSqlSessionConf setExpressionsInfos(List<TExpressionInfo> expressionsInfos)
-
unsetExpressionsInfos
public void unsetExpressionsInfos()
-
isSetExpressionsInfos
public boolean isSetExpressionsInfos()
Returns true if field expressionsInfos is set (has been assigned a value) and false otherwise
-
setExpressionsInfosIsSet
public void setExpressionsInfosIsSet(boolean value)
-
getInternalConfsSize
public int getInternalConfsSize()
-
putToInternalConfs
public void putToInternalConfs(String key, TDBSqlConfValue val)
-
getInternalConfs
public Map<String,TDBSqlConfValue> getInternalConfs()
-
setInternalConfs
public TDBSqlSessionConf setInternalConfs(Map<String,TDBSqlConfValue> internalConfs)
-
unsetInternalConfs
public void unsetInternalConfs()
-
isSetInternalConfs
public boolean isSetInternalConfs()
Returns true if field internalConfs is set (has been assigned a value) and false otherwise
-
setInternalConfsIsSet
public void setInternalConfsIsSet(boolean value)
-
getTempVariablesSize
public int getTempVariablesSize()
-
getTempVariablesIterator
public Iterator<TSQLVariable> getTempVariablesIterator()
-
addToTempVariables
public void addToTempVariables(TSQLVariable elem)
-
getTempVariables
public List<TSQLVariable> getTempVariables()
-
setTempVariables
public TDBSqlSessionConf setTempVariables(List<TSQLVariable> tempVariables)
-
unsetTempVariables
public void unsetTempVariables()
-
isSetTempVariables
public boolean isSetTempVariables()
Returns true if field tempVariables is set (has been assigned a value) and false otherwise
-
setTempVariablesIsSet
public void setTempVariablesIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TDBSqlSessionConf._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TDBSqlSessionConf,TDBSqlSessionConf._Fields>
-
getFieldValue
public Object getFieldValue(TDBSqlSessionConf._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TDBSqlSessionConf,TDBSqlSessionConf._Fields>
-
isSet
public boolean isSet(TDBSqlSessionConf._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<TDBSqlSessionConf,TDBSqlSessionConf._Fields>
-
equals
public boolean equals(TDBSqlSessionConf that)
-
compareTo
public int compareTo(TDBSqlSessionConf other)
- Specified by:
compareToin interfaceComparable<TDBSqlSessionConf>
-
fieldForId
public TDBSqlSessionConf._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TDBSqlSessionConf,TDBSqlSessionConf._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
-
-