Package | Description |
---|---|
org.apache.hadoop.hive.metastore.conf | |
org.apache.hadoop.hive.metastore.tools |
Modifier and Type | Field and Description |
---|---|
static MetastoreConf.ConfVars[] |
MetastoreConf.dataNucleusAndJdoConfs |
static MetastoreConf.ConfVars[] |
MetastoreConf.metaVars
Metastore related options that the db is initialized against.
|
Modifier and Type | Method and Description |
---|---|
static MetastoreConf.ConfVars |
MetastoreConf.getMetaConf(String name) |
static MetastoreConf.ConfVars |
MetastoreConf.ConfVars.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetastoreConf.ConfVars[] |
MetastoreConf.ConfVars.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static String |
MetastoreConf.getAsString(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var)
Return the configuration value as a String.
|
static boolean |
MetastoreConf.getBoolVar(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var)
Get the variable as a boolean
|
static <I> Class<? extends I> |
MetastoreConf.getClass(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var,
Class<? extends I> defaultValue,
Class<I> xface)
Get a class instance based on a configuration value
|
static double |
MetastoreConf.getDoubleVar(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var)
Get the variable as a double
|
static int |
MetastoreConf.getIntVar(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var)
Get the variable as a int.
|
static long |
MetastoreConf.getLongVar(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var)
Get the variable as a long
|
static String |
MetastoreConf.getPassword(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var)
Get a password from the configuration file.
|
static long |
MetastoreConf.getSizeVar(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var) |
static Collection<String> |
MetastoreConf.getStringCollection(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var)
Treat a configuration value as a comma separated list.
|
static long |
MetastoreConf.getTimeVar(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var,
TimeUnit outUnit)
Get the variable as a long indicating a period of time
|
static String |
MetastoreConf.getVar(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var)
Get the variable as a string
|
static String |
MetastoreConf.getVar(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var,
String defaultVal)
Get the variable as a string
|
static void |
MetastoreConf.setBoolVar(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var,
boolean val)
Set the variable as a boolean
|
static <I> void |
MetastoreConf.setClass(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var,
Class<? extends I> theClass,
Class<I> xface)
Set the class name in the configuration file
|
static void |
MetastoreConf.setDoubleVar(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var,
double val)
Set the variable as a double
|
static void |
MetastoreConf.setLongVar(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var,
long val)
Set the variable as a long
|
static void |
MetastoreConf.setTimeVar(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var,
long duration,
TimeUnit unit)
Set the variable as a string
|
static void |
MetastoreConf.setVar(org.apache.hadoop.conf.Configuration conf,
MetastoreConf.ConfVars var,
String val)
Set the variable as a string
|
Modifier and Type | Method and Description |
---|---|
static String |
HiveSchemaHelper.getValidConfVar(MetastoreConf.ConfVars confVar,
org.apache.hadoop.conf.Configuration conf) |
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.