Class SessionId
java.lang.Object
com.databricks.jdbc.dbclient.impl.common.SessionId
A Session-Id identifier to uniquely identify a connection session
-
Constructor Summary
ConstructorsConstructorDescriptionSessionId(THandleIdentifier identifier, IDatabricksComputeResource computeResource) Constructs a SessionId identifier for a given Thrift Server session-IdSessionId(String sessionId, IDatabricksComputeResource warehouseId) Constructs a SessionId identifier for a given SQL Exec session-Id -
Method Summary
Modifier and TypeMethodDescriptionstatic SessionIdcreate(ImmutableSessionInfo sessionInfo) Creates a SessionId identifier for a given Thrift Server session-Idstatic SessionIddeserialize(String serializedSessionId) Deserializes a SessionId from a serialized stringbooleanReturns the client-type for the given session-IdReturns an ImmutableSessionInfo for the given session-IdtoString()
-
Constructor Details
-
SessionId
Constructs a SessionId identifier for a given SQL Exec session-Id -
SessionId
Constructs a SessionId identifier for a given Thrift Server session-Id
-
-
Method Details
-
create
Creates a SessionId identifier for a given Thrift Server session-Id -
deserialize
Deserializes a SessionId from a serialized string- Throws:
SQLException
-
toString
-
getSessionInfo
Returns an ImmutableSessionInfo for the given session-Id -
getClientType
Returns the client-type for the given session-Id -
equals
-