org.apache.hive.common
Class HiveCompat

java.lang.Object
  extended by 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.
 
Field Summary
static String DEFAULT_COMPAT_LEVEL
           
static String LATEST_COMPAT_LEVEL
           
 
Constructor Summary
HiveCompat()
           
 
Method Summary
static HiveCompat.CompatLevel getCompatLevel(HiveConf hconf)
          Returned the configured compatibility level
static HiveCompat.CompatLevel getCompatLevel(String compatStr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_COMPAT_LEVEL

public static final String DEFAULT_COMPAT_LEVEL

LATEST_COMPAT_LEVEL

public static final String LATEST_COMPAT_LEVEL
Constructor Detail

HiveCompat

public HiveCompat()
Method Detail

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.