public class ConfigLoader extends Object
| Constructor and Description |
|---|
ConfigLoader() |
| Modifier and Type | Method and Description |
|---|---|
static String |
debugString(DatabricksConfig cfg) |
static void |
fixHostIfNeeded(DatabricksConfig cfg) |
static DatabricksConfig |
getDefault() |
static boolean |
isAnyAuthConfigured(DatabricksConfig cfg) |
static boolean |
isNullOrEmpty(Object target) |
static DatabricksException |
makeNicerError(String message,
Exception e,
DatabricksConfig cfg) |
static DatabricksException |
makeNicerError(String message,
Exception e,
Integer statusCode,
DatabricksConfig cfg) |
static DatabricksConfig |
resolve(DatabricksConfig cfg) |
public static DatabricksConfig resolve(DatabricksConfig cfg) throws DatabricksException
DatabricksExceptionpublic static void fixHostIfNeeded(DatabricksConfig cfg)
public static DatabricksException makeNicerError(String message, Exception e, DatabricksConfig cfg)
public static DatabricksException makeNicerError(String message, Exception e, Integer statusCode, DatabricksConfig cfg)
public static String debugString(DatabricksConfig cfg)
public static DatabricksConfig getDefault()
public static boolean isNullOrEmpty(Object target)
public static boolean isAnyAuthConfigured(DatabricksConfig cfg) throws IllegalAccessException
IllegalAccessExceptionCopyright © 2024. All rights reserved.