public class HiveCompat extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HiveCompat.CompatLevel
Enum to represent a level of backward compatibility support.
|
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_COMPAT_LEVEL |
static String |
LATEST_COMPAT_LEVEL |
Constructor and Description |
---|
HiveCompat() |
Modifier and Type | Method and Description |
---|---|
static HiveCompat.CompatLevel |
getCompatLevel(HiveConf hconf)
Returned the configured compatibility level
|
static HiveCompat.CompatLevel |
getCompatLevel(String compatStr) |
public static final String DEFAULT_COMPAT_LEVEL
public static final String LATEST_COMPAT_LEVEL
public static HiveCompat.CompatLevel getCompatLevel(HiveConf hconf)
hconf
- Hive configurationpublic static HiveCompat.CompatLevel getCompatLevel(String compatStr)
Copyright © 2017 The Apache Software Foundation. All rights reserved.