public class LazyHiveVarcharObjectInspector extends AbstractPrimitiveLazyObjectInspector<HiveVarcharWritable> implements HiveVarcharObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Constructor and Description |
---|
LazyHiveVarcharObjectInspector() |
LazyHiveVarcharObjectInspector(VarcharTypeInfo typeInfo) |
LazyHiveVarcharObjectInspector(VarcharTypeInfo 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() |
HiveVarchar |
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 LazyHiveVarcharObjectInspector()
public LazyHiveVarcharObjectInspector(VarcharTypeInfo typeInfo)
public LazyHiveVarcharObjectInspector(VarcharTypeInfo typeInfo, boolean escaped, byte escapeChar)
public Object copyObject(Object o)
PrimitiveObjectInspector
copyObject
in interface PrimitiveObjectInspector
public HiveVarchar getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface HiveVarcharObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
public boolean isEscaped()
public byte getEscapeChar()
Copyright © 2017 The Apache Software Foundation. All rights reserved.