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