public class JdbcStorageConfigManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_PREFIX |
static String |
CONFIG_PWD |
static String |
CONFIG_USERNAME |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.conf.Configuration |
convertPropertiesToConfiguration(Properties props) |
static void |
copyConfigurationToJob(Properties props,
Map<String,String> jobProps) |
static void |
copySecretsToJob(Properties props,
Map<String,String> jobSecrets) |
static String |
getConfigValue(JdbcStorageConfig key,
org.apache.hadoop.conf.Configuration config) |
static String |
getQueryToExecute(org.apache.hadoop.conf.Configuration config) |
public static final String CONFIG_PREFIX
public static final String CONFIG_PWD
public static final String CONFIG_USERNAME
public static void copyConfigurationToJob(Properties props, Map<String,String> jobProps) throws HiveException, IOException
HiveException
IOException
public static void copySecretsToJob(Properties props, Map<String,String> jobSecrets) throws HiveException, IOException
HiveException
IOException
public static org.apache.hadoop.conf.Configuration convertPropertiesToConfiguration(Properties props) throws HiveException, IOException
HiveException
IOException
public static String getConfigValue(JdbcStorageConfig key, org.apache.hadoop.conf.Configuration config)
public static String getQueryToExecute(org.apache.hadoop.conf.Configuration config)
Copyright © 2022 The Apache Software Foundation. All rights reserved.