public class LazyHiveCharObjectInspector extends AbstractPrimitiveLazyObjectInspector<HiveCharWritable> implements HiveCharObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.CategorytypeInfo| 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, preferWritablegetCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scaleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPrimitiveWritableObjectgetJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scalegetCategory, getTypeNamepublic LazyHiveCharObjectInspector()
public LazyHiveCharObjectInspector(CharTypeInfo typeInfo)
public LazyHiveCharObjectInspector(CharTypeInfo typeInfo, boolean escaped, byte escapeChar)
public Object copyObject(Object o)
PrimitiveObjectInspectorcopyObject in interface PrimitiveObjectInspectorpublic HiveChar getPrimitiveJavaObject(Object o)
PrimitiveObjectInspectorgetPrimitiveJavaObject in interface HiveCharObjectInspectorgetPrimitiveJavaObject in interface PrimitiveObjectInspectorpublic boolean isEscaped()
public byte getEscapeChar()
Copyright © 2017 The Apache Software Foundation. All rights reserved.