public class LazyHiveCharObjectInspector extends AbstractPrimitiveLazyObjectInspector<HiveCharWritable> implements HiveCharObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Constructor and Description |
---|
LazyHiveCharObjectInspector() |
LazyHiveCharObjectInspector(CharTypeInfo typeInfo) |
LazyHiveCharObjectInspector(CharTypeInfo typeInfo,
boolean escaped,
byte escapeChar) |
Modifier and Type | Method and Description |
---|---|
Object |
copyObject(Object o)
Get a copy of the Object in the same class, so the return value can be
stored independently of the parameter.
|
byte |
getEscapeChar() |
HiveChar |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object.
|
boolean |
isEscaped() |
String |
toString() |
getPrimitiveWritableObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPrimitiveWritableObject
getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scale
getCategory, getTypeName
public LazyHiveCharObjectInspector()
public LazyHiveCharObjectInspector(CharTypeInfo typeInfo)
public LazyHiveCharObjectInspector(CharTypeInfo typeInfo, boolean escaped, byte escapeChar)
public Object copyObject(Object o)
PrimitiveObjectInspector
copyObject
in interface PrimitiveObjectInspector
public HiveChar getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface HiveCharObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
public boolean isEscaped()
public byte getEscapeChar()
Copyright © 2017 The Apache Software Foundation. All rights reserved.