org.apache.hadoop.hive.ql.metadata
Class HiveUtils
java.lang.Object
org.apache.hadoop.hive.ql.metadata.HiveUtils
public final class HiveUtils
- extends Object
General collection of helper functions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QUOTE
public static final char QUOTE
- See Also:
- Constant Field Values
COLON
public static final char COLON
- See Also:
- Constant Field Values
LBRACKET
public static final String LBRACKET
- See Also:
- Constant Field Values
RBRACKET
public static final String RBRACKET
- See Also:
- Constant Field Values
LBRACE
public static final String LBRACE
- See Also:
- Constant Field Values
RBRACE
public static final String RBRACE
- See Also:
- Constant Field Values
LINE_SEP
public static final String LINE_SEP
escapeString
public static String escapeString(String str)
lightEscapeString
public static String lightEscapeString(String str)
unparseIdentifier
public static String unparseIdentifier(String identifier)
- Regenerate an identifier as part of unparsing it back to SQL text.
getStorageHandler
public static HiveStorageHandler getStorageHandler(org.apache.hadoop.conf.Configuration conf,
String className)
throws HiveException
- Throws:
HiveException
Copyright © 2010 The Apache Software Foundation