Class DatabricksThreadContextHolder
java.lang.Object
com.databricks.jdbc.common.util.DatabricksThreadContextHolder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidstatic voidstatic IDatabricksConnectionContextstatic Integerstatic Stringstatic Stringstatic StatementTypestatic voidstatic voidsetRetryCount(Integer retryCount) static voidsetSessionId(String sessionId) static voidsetStatementId(StatementId statementId) static voidsetStatementId(String statementId) static voidsetStatementType(StatementType statementType)
-
Constructor Details
-
DatabricksThreadContextHolder
public DatabricksThreadContextHolder()
-
-
Method Details
-
setConnectionContext
-
getConnectionContext
-
setStatementId
-
setStatementId
-
getStatementId
-
setSessionId
-
getSessionId
-
setStatementType
-
getRetryCount
-
setRetryCount
-
getStatementType
-
clearConnectionContext
public static void clearConnectionContext() -
clearStatementInfo
public static void clearStatementInfo() -
clearAllContext
public static void clearAllContext()
-