org.apache.hadoop.hive.serde2
Class SerDeUtils
java.lang.Object
org.apache.hadoop.hive.serde2.SerDeUtils
public final class SerDeUtils
- extends Object
SerDeUtils.
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
COMMA
public static final char COMMA
- 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
registerSerDe
public static void registerSerDe(String name,
Class<?> serde)
lookupDeserializer
public static Deserializer lookupDeserializer(String name)
throws SerDeException
- Throws:
SerDeException
shouldGetColsFromSerDe
public static boolean shouldGetColsFromSerDe(String serde)
registerCoreSerDes
protected static boolean registerCoreSerDes()
escapeString
public static String escapeString(String str)
- Escape a String in JSON format.
lightEscapeString
public static String lightEscapeString(String str)
getJSONString
public static String getJSONString(Object o,
ObjectInspector oi)
Copyright © 2010 The Apache Software Foundation