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