org.apache.hadoop.hive.ql.metadata
Class HiveUtils

java.lang.Object
  extended by org.apache.hadoop.hive.ql.metadata.HiveUtils

public final class HiveUtils
extends Object

General collection of helper functions.


Field Summary
static char COLON
           
static String LBRACE
           
static String LBRACKET
           
static String LINE_SEP
           
static char QUOTE
           
static String RBRACE
           
static String RBRACKET
           
 
Method Summary
static String escapeString(String str)
           
static HiveStorageHandler getStorageHandler(org.apache.hadoop.conf.Configuration conf, String className)
           
static String lightEscapeString(String str)
           
static String unparseIdentifier(String identifier)
          Regenerate an identifier as part of unparsing it back to SQL text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Method Detail

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