Class DatabricksThreadContextHolder

java.lang.Object
com.databricks.jdbc.common.util.DatabricksThreadContextHolder

public class DatabricksThreadContextHolder extends Object
  • Constructor Details

    • DatabricksThreadContextHolder

      public DatabricksThreadContextHolder()
  • Method Details

    • setConnectionContext

      public static void setConnectionContext(IDatabricksConnectionContext context)
    • getConnectionContext

      public static IDatabricksConnectionContext getConnectionContext()
    • setStatementId

      public static void setStatementId(StatementId statementId)
    • setStatementId

      public static void setStatementId(String statementId)
    • getStatementId

      public static String getStatementId()
    • setSessionId

      public static void setSessionId(String sessionId)
    • getSessionId

      public static String getSessionId()
    • setStatementType

      public static void setStatementType(StatementType statementType)
    • getRetryCount

      public static Integer getRetryCount()
    • setRetryCount

      public static void setRetryCount(Integer retryCount)
    • getStatementType

      public static StatementType getStatementType()
    • clearConnectionContext

      public static void clearConnectionContext()
    • clearStatementInfo

      public static void clearStatementInfo()
    • clearAllContext

      public static void clearAllContext()