Class TOpenSessionResp
java.lang.Object
com.databricks.jdbc.model.client.thrift.generated.TOpenSessionResp
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TOpenSessionResp>,org.apache.thrift.TBase<TOpenSessionResp,,TOpenSessionResp._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2025-05-08")
public class TOpenSessionResp
extends Object
implements org.apache.thrift.TBase<TOpenSessionResp,TOpenSessionResp._Fields>, Serializable, Cloneable, Comparable<TOpenSessionResp>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanstatic final Map<TOpenSessionResp._Fields, org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionTOpenSessionResp(TOpenSessionResp other) Performs a deep copy on other.TOpenSessionResp(TStatus status, TProtocolVersion serverProtocolVersion) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToGetInfos(TGetInfoValue elem) voidclear()intcompareTo(TOpenSessionResp other) deepCopy()booleanequals(TOpenSessionResp that) booleanfieldForId(int fieldId) intintinthashCode()booleanbooleanisSet(TOpenSessionResp._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field canUseMultipleCatalogs is set (has been assigned a value) and false otherwisebooleanReturns true if field configuration is set (has been assigned a value) and false otherwisebooleanReturns true if field getInfos is set (has been assigned a value) and false otherwisebooleanReturns true if field initialNamespace is set (has been assigned a value) and false otherwisebooleanReturns true if field serverProtocolVersion is set (has been assigned a value) and false otherwisebooleanReturns true if field sessionHandle is set (has been assigned a value) and false otherwisebooleanReturns true if field status is set (has been assigned a value) and false otherwisevoidputToConfiguration(String key, String val) voidread(org.apache.thrift.protocol.TProtocol iprot) setCanUseMultipleCatalogs(boolean canUseMultipleCatalogs) voidsetCanUseMultipleCatalogsIsSet(boolean value) setConfiguration(Map<String, String> configuration) voidsetConfigurationIsSet(boolean value) voidsetFieldValue(TOpenSessionResp._Fields field, Object value) setGetInfos(List<TGetInfoValue> getInfos) voidsetGetInfosIsSet(boolean value) setInitialNamespace(TNamespace initialNamespace) voidsetInitialNamespaceIsSet(boolean value) setServerProtocolVersion(TProtocolVersion serverProtocolVersion) voidsetServerProtocolVersionIsSet(boolean value) setSessionHandle(TSessionHandle sessionHandle) voidsetSessionHandleIsSet(boolean value) voidsetStatusIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
status
-
serverProtocolVersion
- See Also:
-
sessionHandle
-
configuration
-
initialNamespace
-
canUseMultipleCatalogs
public boolean canUseMultipleCatalogs -
getInfos
-
metaDataMap
public static final Map<TOpenSessionResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
TOpenSessionResp
public TOpenSessionResp() -
TOpenSessionResp
-
TOpenSessionResp
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TOpenSessionResp,TOpenSessionResp._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<TOpenSessionResp,TOpenSessionResp._Fields>
-
getStatus
-
setStatus
-
unsetStatus
public void unsetStatus() -
isSetStatus
public boolean isSetStatus()Returns true if field status is set (has been assigned a value) and false otherwise -
setStatusIsSet
public void setStatusIsSet(boolean value) -
getServerProtocolVersion
- See Also:
-
setServerProtocolVersion
- See Also:
-
unsetServerProtocolVersion
public void unsetServerProtocolVersion() -
isSetServerProtocolVersion
public boolean isSetServerProtocolVersion()Returns true if field serverProtocolVersion is set (has been assigned a value) and false otherwise -
setServerProtocolVersionIsSet
public void setServerProtocolVersionIsSet(boolean value) -
getSessionHandle
-
setSessionHandle
-
unsetSessionHandle
public void unsetSessionHandle() -
isSetSessionHandle
public boolean isSetSessionHandle()Returns true if field sessionHandle is set (has been assigned a value) and false otherwise -
setSessionHandleIsSet
public void setSessionHandleIsSet(boolean value) -
getConfigurationSize
public int getConfigurationSize() -
putToConfiguration
-
getConfiguration
-
setConfiguration
-
unsetConfiguration
public void unsetConfiguration() -
isSetConfiguration
public boolean isSetConfiguration()Returns true if field configuration is set (has been assigned a value) and false otherwise -
setConfigurationIsSet
public void setConfigurationIsSet(boolean value) -
getInitialNamespace
-
setInitialNamespace
-
unsetInitialNamespace
public void unsetInitialNamespace() -
isSetInitialNamespace
public boolean isSetInitialNamespace()Returns true if field initialNamespace is set (has been assigned a value) and false otherwise -
setInitialNamespaceIsSet
public void setInitialNamespaceIsSet(boolean value) -
isCanUseMultipleCatalogs
public boolean isCanUseMultipleCatalogs() -
setCanUseMultipleCatalogs
-
unsetCanUseMultipleCatalogs
public void unsetCanUseMultipleCatalogs() -
isSetCanUseMultipleCatalogs
public boolean isSetCanUseMultipleCatalogs()Returns true if field canUseMultipleCatalogs is set (has been assigned a value) and false otherwise -
setCanUseMultipleCatalogsIsSet
public void setCanUseMultipleCatalogsIsSet(boolean value) -
getGetInfosSize
public int getGetInfosSize() -
getGetInfosIterator
-
addToGetInfos
-
getGetInfos
-
setGetInfos
-
unsetGetInfos
public void unsetGetInfos() -
isSetGetInfos
public boolean isSetGetInfos()Returns true if field getInfos is set (has been assigned a value) and false otherwise -
setGetInfosIsSet
public void setGetInfosIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TOpenSessionResp,TOpenSessionResp._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TOpenSessionResp,TOpenSessionResp._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TOpenSessionResp,TOpenSessionResp._Fields>
-
equals
-
equals
-
hashCode
-
compareTo
- Specified by:
compareToin interfaceComparable<TOpenSessionResp>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TOpenSessionResp,TOpenSessionResp._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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-