org.apache.hive.common
Class HiveCompat
java.lang.Object
org.apache.hive.common.HiveCompat
public class HiveCompat
- extends Object
|
Nested Class Summary |
static class |
HiveCompat.CompatLevel
Enum to represent a level of backward compatibility support. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_COMPAT_LEVEL
public static final String DEFAULT_COMPAT_LEVEL
LATEST_COMPAT_LEVEL
public static final String LATEST_COMPAT_LEVEL
HiveCompat
public HiveCompat()
getCompatLevel
public static HiveCompat.CompatLevel getCompatLevel(HiveConf hconf)
- Returned the configured compatibility level
- Parameters:
hconf - Hive configuration
- Returns:
getCompatLevel
public static HiveCompat.CompatLevel getCompatLevel(String compatStr)
Copyright © 2014 The Apache Software Foundation. All rights reserved.